Package invocations :: Package cu1 :: Module cu1Transfer :: Class TransferCASUList
[hide private]

Class TransferCASUList

source code


Transfer FITS files of mixed dates from a single directory and distribute the data accordingly. Data at CASU: GPS: /data/apm22_e/wfcam/reprocessed/nebulosity

Instance Methods [hide private]
 
__init__(self, fitsList=None, casuDir='', xferList='', forceTransfer=False, deprecationMode='mv', database=None, UKLight=True, outPrefix=None, isTestRun=False)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
transfer(self) source code
 
getDestDir(self, dateStr)
Find the destination directory.
source code
 
parseList(self, fileList) source code

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

Class Variables [hide private]
  sysc = SystemConstants()
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, fitsList=None, casuDir='', xferList='', forceTransfer=False, deprecationMode='mv', database=None, UKLight=True, outPrefix=None, isTestRun=False)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • fitsList (FitsList) - Initialised FitsList object.
  • casuDir (str) - Directory at CASU, where FITS files are hosted.
  • database (str) - The database.
  • xferList (str) - File containig list of files to transfer.
  • forceTransfer (bool) - Force the data transfer.
  • deprecationMode (str) - Modus for deprecating files; with forceTransfer: file suffix for overwriting.
  • UKLight (bool) - Use UKLight instead of JANET.
  • outPrefix (str) - Prefix of output file(s).
  • isTestRun (bool) - If True, do not perform database modifications.
Overrides: object.__init__