|
__init__(self,
curator=' rsc ' ,
database=' WSA ' ,
beginDate=' 0 ' ,
endDate=' 0 ' ,
versionStr=False,
readPickled=False,
writeExampleFits=False,
isTrialRun=False,
comment=' A useful comment ' )
Initialises data members for all database state flags and details for
this curation session. |
source code
|
|
|
next_power_of_2(self,
n)
Returns the next power of 2 that is greater than or equal to n |
source code
|
|
|
|
|
|
|
getAttrType(self,
value,
typeSizeTuple=None) |
source code
|
|
|
|
|
|
|
createAttrLines(self,
extensionDict,
table,
extNum,
attrDescriptions,
isCatalogue=False,
examples={ } ) |
source code
|
|
|
|
|
|
|
readFitsFiles(self,
fitsList,
fileDict)
Read the FITS files' metadata into a dictionary. |
source code
|
|
|
|
|
|
Inherited from wsatools.DbConnect.IngCuSession.IngCuSession :
__del__ ,
attributesFromArguments ,
createFileList ,
createLogFileName ,
createMonthlyDetSchema ,
createWorkingDir ,
getDetTable ,
getErrorFileName ,
getMultiframeIDs ,
getProcessOrder ,
getProgramIDs ,
makeSysCmd ,
removeWorkingDir ,
runSysCmd ,
setupDetectionTable ,
testForProgs ,
translateProgID ,
writeErrorFiles ,
writeIngestList
Inherited from wsatools.DbConnect.IngCuSession.IngCuSession (private):
_connectToDb ,
_createProgrammeTranslation ,
_disconnectFromDb ,
_getNextCuEventID ,
_getNextID ,
_historyCommentPrefix ,
_onException ,
_onRun ,
_prepareDbLock ,
_updateACHComment ,
_updateArchiveCurationHistory ,
_updateProgrammeCurationHistory
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
outDir = ' parsed_fits_keys '
|
|
attrDescriptionFileName = ' OSA_FitsKeyDescription.txt '
|
|
fileTypeLookUp = { ' cat ' : ' _cat ' , ' conf ' : ' _conf ' , ' dark ' : ' dar ...
|
|
typeDefaults = { ' bigint ' : ' -99999999 ' , ' binary ' : ' 0 ' , ' bit ' : ' ...
|
|
nullDefaults = { ' bigint ' : ' -99999999 ' , ' binary ' : ' 0 ' , ' bit ' : ' ...
|
|
omitAttr = ( ' tfields ' , ' tform ' , ' ttype ' , ' tunit ' , ' symbol ' , ' p ...
|
|
noShow = set([ ' COMMENT ' , ' HISTORY ' ])
|
|
translatAttr = { ' bitpix ' : ' bitsPerPix ' , ' bscale ' : ' dataScale ' , ...
|
|
osaAttrSet = set([ ])
|
|
esoAttrSet = set([ ])
|
|
allHeaders = { ' Multiframe ' : { ' bottom ' : [ ' fileName varcha ...
|
Inherited from wsatools.DbConnect.IngCuSession.IngCuSession :
beginDateDef ,
endDateDef ,
keepWorkDir ,
reqWorkDir ,
sysc
|