- Timestamp:
- Jan 31, 2013, 4:13:09 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20121219/ippToPsps/jython/detectionbatch.py
r35063 r35076 36 36 logger, 37 37 config, 38 skychunk, 38 39 gpc1Db, 39 40 ippToPspsDb, … … 46 47 logger, 47 48 config, 49 skychunk, 48 50 gpc1Db, 49 51 ippToPspsDb, … … 224 226 self.scratchDb.updateFilterID("FrameMeta", self.filter) 225 227 self.scratchDb.updateAllRows("FrameMeta", "calibModNum", str(self.calibModNum)) 226 self.scratchDb.updateAllRows("FrameMeta", "dataRelease", str(self. config.dataRelease))228 self.scratchDb.updateAllRows("FrameMeta", "dataRelease", str(self.skychunk.dataRelease)) 227 229 228 230 ''' … … 374 376 self.scratchDb.updateFilterID(tableName, self.filter) 375 377 self.scratchDb.updateAllRows(tableName, "calibModNum", str(self.calibModNum)) 376 self.scratchDb.updateAllRows(tableName, "dataRelease", str(self. config.dataRelease))378 self.scratchDb.updateAllRows(tableName, "dataRelease", str(self.skychunk.dataRelease)) 377 379 if 'NASTRO' in header: self.totalNumPhotoRef = self.totalNumPhotoRef + int(header['NASTRO']) 378 380 self.scratchDb.replaceNullsInThisColumn(tableName, "polyOrder", "0") … … 472 474 , '" + self.dateStr + "' \ 473 475 , 0 \ 474 , " + str(self. config.dataRelease) + "\476 , " + str(self.skychunk.dataRelease) + "\ 475 477 FROM " + ippTableName 476 478 # self.logger.info(sql) … … 526 528 self.scratchDb.execute(sql) 527 529 528 self.scratchDb.updateAllRows(tableName, "dataRelease", str(self. config.dataRelease))530 self.scratchDb.updateAllRows(tableName, "dataRelease", str(self.skychunk.dataRelease)) 529 531 530 532 ''' … … 571 573 WHERE a.objID = b.objID AND a.detectID = b.detectID" 572 574 self.scratchDb.execute(sql) 573 self.scratchDb.updateAllRows(tableName, "dataRelease", str(self. config.dataRelease))575 self.scratchDb.updateAllRows(tableName, "dataRelease", str(self.skychunk.dataRelease)) 574 576 575 577 ''' … … 607 609 b.expTime, \ 608 610 b.airMass, \ 609 " + str(self. config.dataRelease) + " \611 " + str(self.skychunk.dataRelease) + " \ 610 612 FROM \ 611 613 Detection_" + ota + " as a \ … … 647 649 648 650 self.scratchDb.updateAllRows(tableName, "calibModNum", str(self.calibModNum)) 649 self.scratchDb.updateAllRows(tableName, "dataRelease", str(self. config.dataRelease))651 self.scratchDb.updateAllRows(tableName, "dataRelease", str(self.skychunk.dataRelease)) 650 652 651 653 '''
Note:
See TracChangeset
for help on using the changeset viewer.
