Performs post-data-ingest curation on non-survey data and
automatically prepares release databases.
|
__init__(self,
cli)
Initialises member variables from command-line options, which enables
it to determine the list of programmes to curate. |
source code
|
|
|
run(self)
Executes the _onRun() method of the session within a try block, so
that all the standard exceptions may be dealt with correctly. |
source code
|
|
list(str)
|
_getProgsToRelease(self)
Queries database and non-survey registration files to determine
selection of programmes to release according to command-line options. |
source code
|
|
|
_moveToShare(self)
Moves the file containing the list of deep products to ingest to the
share path of the server hosting the database where the products will
be stored. |
source code
|
|
|
_onCompletion(self)
Always executes after a run to log results and tidy up. |
source code
|
|
|
_onRun(self)
Runs automatic curation and release for all programmes. |
source code
|
|
|
|
|
|
|
_runPartA(self)
PART A - QC and set-up via automatic curation for each programme. |
source code
|
|
|
_runPartB(self)
PART B - Release following final automatic curation. |
source code
|
|
|
_toEachProg(self,
method,
**kwds)
Wrapper method to apply the given method to every programme in
self.progIDs, whilst handling exceptions, so that if one programme
fails its failure is logged and execution is continued with the next
programme. |
source code
|
|
list(tuple(int, str))
|
|
set(str)
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
archive = None
Connection to the database to curate (DbSession).
|
|
cli = None
Command-line options (CLI).
|
|
dateRange = DateRange(begin=<mx.DateTime.DateTime object for '...
Range of observation nights to curate - only end date is applied.
|
|
failures = [ ]
List of programmes that fail curation.
|
|
fileListForType = None
Locations of file lists of new products to ingest ref.
|
|
isDryRun = False
Just determine programmes to curate?
|
|
isReleaseRun = False
Perform the second part of the curation process that releases
database?
|
|
isShallowOnly = False
All programmes currently being curated are shallow?
|
|
progIDs = [ ]
List of programmes to be curated, can be acronym or unique ID as
string.
|
|
progTable = None
Database Programme table entries (ProgrammeTable).
|
|
stage = ' No curation task performed '
Stage currently being curated.
|
|
successes = [ ]
List of programmes that have completed curation.
|
|
sysc = SystemConstants()
System constants object.
|
|
workSpace = '
'
Temporary working directory location.
|