__init__(self,
curator=' rsc ' ,
database=' WSA ' ,
minFileSize=False,
beginDate=False,
endDate=False,
versionStr=False,
diskList=False,
deleteJpegs=False,
cu2Listing=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 (int) - First date to process, eg. 20050101.
comment (str) - Descriptive comment as to why curation task is being performed.
cu2Listing (bool) - Create CU2-readable output file.
deleteJpegs (bool) - If True, delete JPGs with file sizes smaller than minFileSize.
diskList (list(str)) - List of RAID disk paths including the archive name, eg.
'/disk01/wsa'.
endDate (int) - Last date to process, eg. 20050131.
isTrialRun (bool) - If True, do not perform database modifications.
minFileSize (int) - File size below which reprocessing is needed.
versionStr (str) - Version number of the data or 'all' or 'last'.
- Overrides:
object.__init__
|