IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 4, 2014, 4:27:44 PM (12 years ago)
Author:
eugene
Message:

add tessID, projectionID, skycellID; cleanup StackMeta fields

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140717/ippToPsps/jython/scratchdb.py

    r37156 r37179  
    131131        return filterID
    132132
     133    '''
     134    Gets tess ID for this tess name
     135    '''
     136    def getTessID(self, name):
     137     
     138        sql = "SELECT tessID FROM TessellationType WHERE name = '" + name + "'"
     139        try:
     140            rs = self.executeQuery(sql)
     141            rs.first()
     142            tessID = rs.getInt(1)
     143        except:
     144            self.logger.errorPair("No tess ID found for tess", name)
     145            tessID = -1
     146
     147        return tessID
     148
    133149    '''
    134150    Gets imageID from extern ID
     
    476492               ippDetectID BIGINT, \
    477493               imageID INT, \
     494               catID INT, \
    478495               ra DOUBLE, \
    479496               dec_ DOUBLE, \
Note: See TracChangeset for help on using the changeset viewer.