Invoke single frame source detections ingestion given a log of files
transferred from the data processing centre.
|
__init__(self,
curator=' rsc ' ,
database=' WSA ' ,
csvSharePath=False,
programmeList=False,
progOrder=False,
detectionSubset=False,
excludeFiles=False,
isTrialRun=False,
ReDo=False,
keepWorkDir=False,
xferlog=None,
comment=' A useful comment ' )
Initialises data members for all database state flags and details for
this curation session. |
source code
|
|
|
_initFromDB(self)
Initialize constants from the DB |
source code
|
|
|
|
|
checkCreated(self,
progID)
Check that all files are created. |
source code
|
|
|
cleanUpFileShare(self)
Make sure there are no old .dat files in the dbSharePath. |
source code
|
|
|
createIlluminationTableList(self)
Create the list of used illumination tables and write it for use with
exnumeric to the working directory. |
source code
|
|
|
createSchemaDict(self)
Create schema dictionary for every table. |
source code
|
|
|
splitList(self,
p,
n)
Split list p into sublists of length n. |
source code
|
|
|
createSplitListFiles(self,
catalogueDict,
splitNum=2)
Split the catalogues of each programme into splitNum sublists, where
larger catalogues are paired with smaller catalogues. |
source code
|
|
defaultdict(int, list(str))
|
getProgIDs(self)
Reads FITS files to determine the set of programme IDs for the
catalogues that will be ingested in this curation event. |
source code
|
|
|
parseIllumTable(self,
illumTableName)
Parse the CASU illumination table file into a csv file. |
source code
|
|
|
runExtractions(self,
progID,
subFileList)
Run the C++ code to extract the detections from the catalogues. |
source code
|
|
|
setTableVariables(self)
Set the variables dependend of the tables used in this cu. |
source code
|
|
Inherited from wsatools.DbConnect.IngCuSession.IngCuSession :
__del__ ,
attributesFromArguments ,
createFileList ,
createLogFileName ,
createMonthlyDetSchema ,
createWorkingDir ,
getDetTable ,
getErrorFileName ,
getMultiframeIDs ,
getProcessOrder ,
getProgramIDs ,
makeSysCmd ,
removeWorkingDir ,
run ,
runSysCmd ,
setupDetectionTable ,
testForProgs ,
translateProgID ,
writeErrorFiles ,
writeIngestList
Inherited from wsatools.DbConnect.IngCuSession.IngCuSession (private):
_connectToDb ,
_createProgrammeTranslation ,
_disconnectFromDb ,
_getNextCuEventID ,
_getNextID ,
_historyCommentPrefix ,
_onException ,
_prepareDbLock ,
_updateACHComment ,
_updateArchiveCurationHistory ,
_updateProgrammeCurationHistory
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|