Changeset 32501 for trunk/ippToPsps/jython/stackbatch.py
- Timestamp:
- Oct 6, 2011, 2:06:50 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/stackbatch.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/stackbatch.py
r32500 r32501 57 57 self.filter = meta[0]; 58 58 self.filter = self.filter[0:1] 59 60 # skycell is, eg "skycell.1133.081" 61 # we need 1133.081 for skycell, but store as an int, so instead store 1133081 62 # projection cell is just the 1133 bit 59 63 self.skycell = meta[1]; 60 print self.skycell 61 # TODO HACK fix this 62 self.skycell = self.skycell[8:12] 63 # mangling e.g. 0683.043 into 0683043 for now until we have a schema change 64 #self.skycell = self.skycell.replace(".", "") 64 self.projectioncell = self.skycell[8:12] 65 self.skycell = self.skycell[8:] 66 self.skycell = self.skycell.replace(".", "") 67 65 68 self.analysisVer = meta[2]; 66 69 … … 102 105 self.logger.infoPair("Stack type", "%s" % self.stackType) 103 106 self.logger.infoPair("Skycell", "%s" % self.skycell) 107 self.logger.infoPair("Projectioncell", "%s" % self.projectioncell) 104 108 self.logger.infoPair("Filter", "%s" % self.filter) 105 109 … … 305 309 ippDetectID \ 306 310 ,skyCellID \ 311 ,projectionCellID \ 307 312 ,obsTime \ 308 313 ,xPos \ … … 343 348 IPP_IDET \ 344 349 ," + self.skycell + " \ 350 ," + self.projectioncell + " \ 345 351 ," + self.header['MJD-OBS'] + " \ 346 352 ,X_PSF \
Note:
See TracChangeset
for help on using the changeset viewer.
