Changeset 38881 for trunk/ippToPsps/jython/forcedwarpbatch.py
- Timestamp:
- Oct 17, 2015, 1:25:01 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/forcedwarpbatch.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/forcedwarpbatch.py
r38865 r38881 226 226 header = self.header[num] 227 227 self.logger.infoPair("found header","ok") 228 # photoCalID = str(self.scratchDb.getPhotoCalID(forcedWarpID))228 photoCalID = str(self.scratchDb.getPhotoCalID(header['IMAGEID'])) 229 229 230 230 psfmodel_name = self.getKeyValue(header, 'PSFMODEL') … … 243 243 sqlLine.group("projectionID", str(self.projectionID)) 244 244 sqlLine.group("skyCellID", str(self.skycellID[num])) 245 #sqlLine.group("photoCalID", photoCalID)245 sqlLine.group("photoCalID", photoCalID) 246 246 # self.logger.infoPair("building sql ","2") 247 247 … … 261 261 sqlLine.group("psfFwhm_mean", self.getKeyFloat(header, "%.8f", 'FWHM_MAJ')) 262 262 sqlLine.group("psfFwhm_max", self.getKeyFloat(header, "%.8f", 'FW_MJ_UQ')) 263 # sqlLine.group("photoZero", self.getKeyFloat(self.header, "%.8f", 'ZPT_OBS'))263 sqlLine.group("photoZero", self.getKeyFloat(self.header, "%.8f", 'FP.ZP')) 264 264 #photoColor -- how do I set this? it's also not set in stack meta 265 265 sqlLine.group("ctype1", self.getKeyValue(header, 'CTYPE1')); … … 283 283 self.logger.errorPair('failed sql: ', sql) 284 284 raise 285 286 # note hardcoded pltscale 287 self.scratchDb.updateRecalStats("ForcedWarpMeta_"+forcedWarpID, header['IMAGEID'], "0.25"); 285 288 286 289 self.scratchDb.updateAllRows("ForcedWarpMeta_"+forcedWarpID, "batchID", str(self.batchID))
Note:
See TracChangeset
for help on using the changeset viewer.
