IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 25, 2015, 1:59:43 PM (11 years ago)
Author:
heather
Message:

forced warp batches for sas37 are now working!

File:
1 edited

Legend:

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

    r37917 r37935  
    837837        sql = sqlLine.makeEquals("WHERE a." + filter + "ippDetectID = b.IPP_IDET AND  " + psfCondition)
    838838
    839         self.scratchDb.execute(sql)
    840 
     839        try: self.scratchDb.execute(sql)
     840        except:
     841            self.logger.infoPair("failed sql", sql)
     842            raise
    841843        # instrumental flux, AB mags, Jy:
    842844        # flux_inst = cts / sec
     
    859861            sqlLine.group(field + "Std",       field + "Std" + " * POW(10, 3.56 - 0.4* b.zp)")
    860862        sql = sqlLine.makeEquals("WHERE a.objID = b.objID AND a." + filter + "ippDetectID = b.ippDetectID AND b.imageID = " + str(self.imageIDs[filter]) )
    861         self.scratchDb.execute(sql)
    862 
     863        try: self.scratchDb.execute(sql)
     864        except:
     865            self.logger.infoPair("failed sql",sql)
     866            raise
    863867    '''
    864868    Populates the StackToImage table
Note: See TracChangeset for help on using the changeset viewer.