IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40215 for trunk


Ignore:
Timestamp:
Nov 27, 2017, 1:24:35 PM (9 years ago)
Author:
heather
Message:

fixes -999 / ap flux bug jira ticket 6, tested with SAS42 dvo

File:
1 edited

Legend:

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

    r39764 r40215  
    10191019        # care of this, but does not?
    10201020
    1021         sqlLine = sqlUtility("UPDATE " + tablename + " SET")
    1022         for radius in [1, 2, 3, 4, 5, 6, 7, 8, 9]:
    1023             if radius < minRadius: continue
    1024             if radius > maxRadius: continue
    1025             pspsRadius = radius + 2
    1026             sqlLine.group(filter + prefix + "flxR" + str(pspsRadius),          "-999")
    1027             sqlLine.group(filter + prefix + "flxR" + str(pspsRadius) + "Err",  "-999")
    1028             sqlLine.group(filter + prefix + "flxR" + str(pspsRadius) + "Std",  "-999")
    1029             sqlLine.group(filter + prefix + "flxR" + str(pspsRadius) + "Fill", "-999")
    1030 
    1031         sql = sqlLine.makeEquals("")
     1021#chopping this out to see if it still works
     1022
     1023        #sqlLine = sqlUtility("UPDATE " + tablename + " SET")
     1024        #for radius in [1, 2, 3, 4, 5, 6, 7, 8, 9]:
     1025        #    if radius < minRadius: continue
     1026        #    if radius > maxRadius: continue
     1027        #    pspsRadius = radius + 2
     1028        #    sqlLine.group(filter + prefix + "flxR" + str(pspsRadius),          "-999")
     1029        #    sqlLine.group(filter + prefix + "flxR" + str(pspsRadius) + "Err",  "-999")
     1030        #    sqlLine.group(filter + prefix + "flxR" + str(pspsRadius) + "Std",  "-999")
     1031        #    sqlLine.group(filter + prefix + "flxR" + str(pspsRadius) + "Fill", "-999")#
     1032
     1033        #sql = sqlLine.makeEquals("")
    10321034       
    1033         try: self.scratchDb.execute(sql)
    1034         except:
    1035             self.logger.errorPair('failed sql',sql)
    1036             raise
     1035#        try: self.scratchDb.execute(sql)
     1036#        except:
     1037#            self.logger.errorPair('failed sql',sql)
     1038#            raise
    10371039
    10381040        # set the flux values from the cmf file
Note: See TracChangeset for help on using the changeset viewer.