IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38083


Ignore:
Timestamp:
Apr 2, 2015, 4:23:59 PM (11 years ago)
Author:
heather
Message:

SAS37 final

Location:
trunk/ippToPsps
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/config/settings.xml

    r37873 r38083  
    6565      <memory>32</memory>
    6666    </loader>
    67     <loader mach="stcsi02">
     67    <loader mach="stsci02">
    6868      <name>ipptopsps2_scratch</name>
    6969      <host>stsci02</host>
  • trunk/ippToPsps/jython/forcedwarpbatch.py

    r37935 r38083  
    332332            raise
    333333        self.logger.infoPair("need to cull"," nulls objid")
     334        rowCountBefore = self.scratchDb.getRowCount("ForcedWarpMeasurement")
    334335        results= self.scratchDb.reportAndDeleteRowsWithNULLS("ForcedWarpMeasurement", "objID")
    335 
    336 
    337 
     336        rowCountAfter =  self.scratchDb.getRowCount("ForcedWarpMeasurement")
     337        self.logger.infoPair("row count of ForcedWarpMeasurement",rowCountBefore)
     338        self.logger.infoPair("row count of ForcedWarpMeasurement after cull of null objID", rowCountAfter)
     339        if rowCountAfter == 0:
     340            self.skipBatch = True
     341            self.logger.infoPair ("skip this batch, it is bad")
     342            return False
    338343#        self.generateRandomIDs()
    339344
  • trunk/ippToPsps/jython/stackbatch.py

    r37935 r38083  
    526526            return True
    527527
     528        if self.scratchDb.getRowCount(filter+"SkyChip_xfit") <=0 :
     529            self.logger.infoPair("no extended source information, trying to skip",filter)
     530            return True
     531
    528532        header  = self.headerSet[filter]
    529533
     
    656660            self.logger.infoPair("no stack data for filter" , filter)
    657661            return True
     662
     663        if self.scratchDb.getRowCount(filter+"SkyChip_xsrc") <=0 :
     664            self.logger.infoPair("no extended source information, trying to skip",filter)
     665            return True
     666
    658667
    659668        header  = self.headerSet[filter]
Note: See TracChangeset for help on using the changeset viewer.