IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 31, 2014, 10:59:37 AM (12 years ago)
Author:
eugene
Message:

adding stack mags to dvopsps detection output; adding option to reset the dvoDetections table; adding makeEquals to sqlUtilities; intelligently(?) select photcode ranges for dvopsps; massive re-work of stackbatch.py

File:
1 edited

Legend:

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

    r37129 r37156  
    1818        super(testCode, self).__init__(argv)
    1919
    20     '''
    21     Main processing loop.
    22     Tiled area is defined in 'skychunk' and looks for available stage_ids for each tile and writes them to ippToPsps database ready for processing
    23     by one or more loading clients that may be running on any host
    24     '''
    2520    def run(self):
    26         sqlLine = sqlUtility("INSERT INTO Table (")
    2721
    28         sqlLine.group("field1", "value1")
    29         sqlLine.group("field2", "value2")
    30         sqlLine.group("field3", "value3")
     22        names = {}
    3123
    32         sql = sqlLine.make(") VALUES (", ")")
     24        filters =['g','r','i']
     25        for f in filters:
    3326
    34         print "sql: " + sql
     27            names[f] = f + ".00000"
     28            print "filter: " + f + " = " + names[f]
    3529
    3630'''
Note: See TracChangeset for help on using the changeset viewer.