- Timestamp:
- May 5, 2011, 10:05:10 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110404/ippToPsps/jython/initbatch.py
r31118 r31439 2 2 3 3 import stilts 4 import logging 5 import logging.config 4 6 from java.lang import * 5 7 from java.sql import * … … 14 16 Constructor 15 17 ''' 16 def __init__(self): 17 super(InitBatch, self).__init__( 18 "init", 19 "", 20 "init.fits", 21 "localhost", 22 "ipptopsps_scratch", 23 "ipp", 24 "ipp") 18 def __init__(self, logger): 19 super(InitBatch, self).__init__(logger, "init") 25 20 26 initBatch = InitBatch() 21 self.outputFitsFile = "00000000.FITS"; 22 self.outputFitsPath = self.localOutPath + "/" + self.outputFitsFile 23 24 logging.config.fileConfig("logging.conf") 25 logger = logging.getLogger("initbatch") 26 initBatch = InitBatch(logger) 27 27 initBatch.createEmptyPspsTables() 28 28 initBatch.exportPspsTablesToFits() 29 initBatch.writeBatchManifest()
Note:
See TracChangeset
for help on using the changeset viewer.
