Changeset 38951 for trunk/ippToPsps/jython/forcedwarpbatch.py
- Timestamp:
- Oct 23, 2015, 9:50:16 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/forcedwarpbatch.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/forcedwarpbatch.py
r38945 r38951 133 133 self.logger.infoPair("found exp_id", str(self.expID[num])) 134 134 self.logger.infoPair("found exp_time", str(self.expTime[num])) 135 self.logger.infoPair("found filter", str(self.filterNam [num]))135 self.logger.infoPair("found filter", str(self.filterName[num])) 136 136 self.logger.infoPair("found skycell_id", self.skycellName[num]) 137 137 self.logger.infoPair("found tess_id", self.tessName[num]) … … 216 216 self.outputFitsPath = "%s/%s" % (self.localOutPath, self.outputFitsFile) 217 217 218 219 220 218 # dump stuff to log 221 219 self.logger.infoPair("add ID", "%d" % self.id) 222 223 # self.logger.infoPair("Exp ID", self.expID)224 225 226 227 228 229 220 230 221 ''' … … 243 234 self.logger.infoPair("found header","ok") 244 235 245 # photoCalID = str(self.scratchDb.getPhotoCalID(header['IMAGEID'])) 246 247 # XXX fix this: 248 photoCalID = GPC1.filtername.ForcedWarp 236 photoCalID = str(self.scratchDb.getPhotoCalID(header['IMAGEID'])) 237 238 # PHOTCODE and FILTER are not in the header; reconstruct here 239 # photoCalID = "GPC1.%s.ForcedWarp" % self.filterName[num][0] 240 241 zpImage = self.scratchDb.getImageZeroPoint(header['IMAGEID']) 249 242 250 243 # XXX hard-wired platescale : 0.25 … … 285 278 # sqlLine.group("psfFwhm_max", self.getKeyFloat(header, "%.8f", 'FW_MJ_UQ')) 286 279 287 # XXX: should psfTheta include the angle of the source chip in some way?288 280 sqlLine.group("psfTheta", self.getKeyFloat(header, "%.8f", 'ANGLE')) 289 sqlLine.group("photoZero", self.getKeyFloat(header, "%.8f", 'FPA.ZP')) 281 282 # sqlLine.group("photoZero", self.getKeyFloat(header, "%.8f", 'FPA.ZP')) 283 sqlLine.group("photoZero", zpImage) 284 290 285 # photoColor -- how do I set this? it's also not set in stack meta 291 286 sqlLine.group("ctype1", self.getKeyValue(header, 'CTYPE1'));
Note:
See TracChangeset
for help on using the changeset viewer.
