__init__(self,
curator=' rsc ' ,
database=' WSA ' ,
beginDate=False,
endDate=False,
casuDirs=False,
outPath=False,
writeStats=False,
onlyMissing=False,
onlyCasuNewer=False,
fixCats=False,
fixPix=False,
versionStr=False,
ignorePad=False,
timeComp=False,
janet=False,
isTrialRun=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.
curator (str) - Name of curator.
casuDirs (str) - Directories at CASU where the data is stored.
database (str) - Name of the database to connect to.
endDate (str) - Last date to process, eg. 20050131.
ignorePad (bool) - If True, ignore 2880 bit file size difference.
isTrialRun (bool) - If True, do not perform database modifications.
fixCats (str) - Fix timestamp for catalogues from CASU.
fixPix (str) - Fix timestamp for pixel files from CASU.
janet (bool) - Use JANET instead of UKLight.
onlyCasuNewer (bool) - Full message only when CASU time is newer.
onlyMissing (bool) - Check only for missing files.
outPath (str) - Log file directory.
timeComp (str) - WFAU</!=/>CASU time comparison method
versionStr (str) - Version number.
writeStats (bool) - Write all file statistics into file.
- Overrides:
object.__init__
|