Automatically determines the correct curation settings for a given
programme. Updates the curation tables in the database and creates the
necessary schema files.
|
|
|
createSchema(self,
syncToDb=False)
Update schema files for current non-survey programme using the latest
version of sql/Templates/*_autoTemplateSchema.sql and the latest
curation settings in the database for this programme. |
source code
|
|
|
createIndexSchema(self,
schemaFileName,
progIDs,
isView=False)
The index schema script is recreated from scratch each time for all
programmes that have detection tables. |
source code
|
|
dict(str: bool)
|
createProgSchema(self,
schemaFiles,
progIDs)
Parses *autoTemplate.sql to produce the custom schema for the current
programme. |
source code
|
|
|
createTables(self)
Creates all tables for the current list of programmes, where they do
not already exist, inserting default rows where necessary. |
source code
|
|
int
|
getMaxReleaseOnDisk(self)
Check available disks to see what the maximum releaseNum is for
products on the main disks, for the given programme. |
source code
|
|
int
|
|
|
initialiseNewRelease(self)
Clear ProductProcessing table entries for the programme and
determine/announce the new release number. |
source code
|
|
|
setUpNewProgs(self)
Updates the Programme table entries for new programmes. |
source code
|
|
bool
|
|
|
|
|
getSDSSNeighTable(self,
surveyName,
extTableName)
returns name of neighbour table between programme and SDSS survey |
source code
|
|
Inherited from DbConnect.CuSession.CuSession :
__del__ ,
__init__ ,
logBrokenFile ,
run
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
_autoCommit = True
Should this curation task auto-commit database transactions?
|
|
cuNum = 21
Curation task number.
|
|
bandMergeCrit = None
Band merging criterion.
|
|
createSchemaOnly = False
Just update schema with latest template?
|
|
dateRange = DateRange(begin=<mx.DateTime.DateTime object for '...
Range of nights to include.
|
|
maxEllipticity = 1.0
Maximum stellar ellipticity for deep stacks.
|
|
maxSeeing = 2.0
Maximum seeing for deep stacks.
|
|
newPoints = False
Only modify RequiredStack with new pointings?
|
|
numberStks = -99999999
Max number of components of a deep stack.
|
|
redoSchema = False
Recreate existing database schema?
|
|
redoSetup = True
Recreate all RequiredStack pointings?
|
|
displayDeeps = False
Output data for deep fields
|
Inherited from DbConnect.CuSession.CuSession :
archive ,
comment ,
cuEventID ,
curator ,
eTypes ,
isDayStampedLog ,
onlyNonSurveys ,
onlySurveys ,
programme ,
programmeID ,
resultsFilePathName ,
shareFileID ,
sysc
Inherited from DbConnect.CuSession.CuSession (private):
_cleanUpDirs ,
_cuTable ,
_isPersistent ,
_lockPathName ,
_log ,
_numSessions ,
_reqCuEventID ,
_reqDbLock ,
_rolledBack ,
_success ,
_useWorkDir
|