Package helpers :: Module FixFitsFiles :: Class FixFitsFiles
[hide private]

Class FixFitsFiles

source code

Script to fix multiframe IDs in FITS files with data from the database.

Instance Methods [hide private]
__init__(self, cli)
Initialise class from command-line options.
source code
readMfIDs(self, dateVersStrList)
Read filename,multiframeIDs from the given database.
source code
createFileDateDict(self, fileList)
Create a dictionary from the given list of files
source code
updateTimeStamp(self, multiframeID, timeStamp) source code
updateJPEns(self, mfIDDict)
Update tables for JPE's non-survey.
source code
run(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  defVals = {'CAMNUM': {2: 1, 3: 2, 4: 3, 5: 4, 'comment': 'Numb...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, cli)

source code 

Initialise class from command-line options.

  • cli (CLI) - Command-line arguments.
Overrides: object.__init__

Class Variable Details [hide private]


{'CAMNUM': {2: 1,
            3: 2,
            4: 3,
            5: 4,
            'comment': 'Number of WFCAM camera (1, 2, 3 or 4)'},
 'DCOLUMNS': {2: 2048,
              3: 2048,
              4: 2048,