Package helpers :: Module UpdateStacks
[hide private]

Module UpdateStacks

source code

Updates stacks from catalogues with CASUs perl script. The timestamp of the updated stack will be set to the timestamp of the (input) catalogue file.

usage: ./UpdateStacks.py [-d/--dir dirlist] [-o/--outdir log_outdir] date versionnr


Author: E. Sutorius

Organization: WFAU, IfA, University of Edinburgh

Functions [hide private]
 
getFileInfo(dateDir) source code
 
fixTime(fileDict) source code
 
locateDateDir(date_v, searchDirs) source code
 
runScript(updDir) source code
 
make_log(logList, logText)
print log to screen and append to list
source code
 
write_log(logFile, logList)
write log to file
source code
 
usage() source code
 
main(argv)
Update stacked image headers with the final catalogue header calibration info and some extra QC stuff.
source code
Variables [hide private]
  __package__ = 'helpers'
Function Details [hide private]

main(argv)

source code 

Update stacked image headers with the final catalogue header calibration info and some extra QC stuff.

date is the date to be update. version is the version number.