IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31389


Ignore:
Timestamp:
Apr 27, 2011, 9:50:07 AM (15 years ago)
Author:
rhenders
Message:

replacing a null byte fields with something that won't be replaced with a -999

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/detectionbatch.py

    r31365 r31389  
    5151           self.endY = 8
    5252
    53        #self.startX = 6
    54        #self.endX = 7
     53       #self.startX = 1
     54       #self.endX = 2
    5555       #self.startY = 7
    5656       #self.endY = 8
     
    313313        self.scratchDb.updateAllRows(tableName, "dataRelease", str(self.dataRelease))
    314314        self.totalNumPhotoRef = self.totalNumPhotoRef + int(header['NASTRO'])
     315        self.scratchDb.replaceNullsInThisColumn(tableName, "polyOrder", "0")
    315316
    316317    '''
     
    640641
    641642    file = gpc1Db.getCameraStageSmf(camID)
    642     #file = "detdemo.fits"
    643643    detectionBatch = DetectionBatch(logger, camID, file, False)
    644644
     
    646646
    647647        detectionBatch.createEmptyPspsTables()
    648         detectionBatch.importIppTables("XY33\.psf")
     648        #detectionBatch.importIppTables(".*.psf")
    649649        if detectionBatch.populatePspsTables():
    650650            detectionBatch.exportPspsTablesToFits("([a-zA-Z]+)")
Note: See TracChangeset for help on using the changeset viewer.