__init__(self,
curator=' rsc ' ,
database=' WSA ' ,
runDate=False,
versionStr=False,
casuDisk=False,
timeCheck=False,
numThreads=False,
janet=False,
deprecation=False,
xferList=False,
isTrialRun=False,
forceXfer=False,
reproMode=False,
ffluOnly=False,
onlyHeader=False,
gesOptions=False,
comment=' A useful comment ' )
(Constructor)
| source code
|
Initialises data members for all database state flags and details for
this curation session. Writes a database lock and opens a connection.
Also initiates a Programme table object.
- Parameters:
casuDisk (str) - Disk at CASU where the data is stored.
comment (str) - Descriptive comment as to why curation task is being performed.
curator (str) - Name of curator.
deprecation (str) - Modus for deprecating files.
ffluOnly (bool) - Don't transfer but update FlatfileLookup table.
forceXfer (bool) - Force the data transfer.
gesOptions (str) - GES instrument and type.
isTrialRun (bool) - If True, do not perform database modifications.
janet (bool) - Use JANET instead of UKLight.
numThreads (int) - Number of scp transfer threads.
onlyHeader (bool) - Only transfer FITS headers.
reproMode (str) - Mode for reprocessed data: otm (one-to-many dirs) or s::suffix
(CASU datedir suffix).
runDate (list(int)) - Dates to process, eg. [20050101].
timeCheck (bool) - Determines if existing files should be checked for their
timestamp against the same file at CASU;
versionStr (str) - Version number of the data.
xferList (list) - List containing files to be downloaded.
- Overrides:
object.__init__
|