__init__(self,
cuNums=False,
curator=' rsc ' ,
database=' WSA ' ,
beginDate=False,
endDate=False,
versionStr=False,
outPath=False,
noMfID=False,
ReDo=False,
programmeList=False,
progOrder=False,
isTrialRun=False,
xferlog=False,
timeCheck=False,
numThreads=False,
writeMfID=False,
subDir=False,
janet=False,
forceXfer=False,
excludeData=False,
deprecation=False,
reproMode=False,
forceMosaic=False,
detectionSubset=False,
keepWorkDir=False,
ffluOnly=False,
getHeader=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:
beginDate (str) - First date to process, eg. 20050101.
comment (str) - Descriptive comment as to why curation task is being performed.
cuNums (list[int]) - Curation task numbers.
curator (str) - Name of curator.
database (str) - Name of the database to connect to.
detectionSubset (list(str)) - Process subset of [Astrometry table, Photometry table, Raw
table].
endDate (str) - Last date to process, eg. 20050131.
excludeData (list(str)) - Exclude given files from processing (CU4).
ffluOnly (bool) - Don't transfer but update FlatfileLookup table.
forceXfer (bool) - Force the data transfer.
gesOptions (str) - Options for GES transfers.
getHeader (bool) - Only transfer FITS headers.
isTrialRun (bool) - If True, do not perform database modifications.
janet (bool) - Use JANET instead of UKLight.
forceMosaic (bool) - Create jpg for mosaic.
keepWorkDir (bool) - Don't remove working directory.
noMfID (bool) - If True, don't write new MfID into FITS file.
numThreads (int) - Number of scp transfer or processing threads.
outPath (str) - Directory where data is written to.
programmeList (list(str)) - Only process data for given programmes (accepts keywords 'all',
'ns' (non-survey), 'ukidss' (all 5 main surveys)).
progOrder (list(str)) - The order of processing of the programmes, all programmes not
explicitely named can be put anywhere in the list as 'others'.
ReDo (bool) - If True, overwrite existing MfID (CU1/3) or jpg (CU2).
reproMode (str) - Mode for reprocessed data: otm (one-to-many dirs) or datedir
suffix.
subDir (str) - The subdirectory containing FITS files.
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.
writeMfID (bool) - If True, only write MfIDs into FITS files.
xferlog (str) - Logfile containing files to be ingested.
- Overrides:
object.__init__
|