IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 10, 2015, 2:44:01 PM (11 years ago)
Author:
heather
Message:

HAF/EAM/KCC schema changes from IAU

File:
1 edited

Legend:

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

    r38397 r38723  
    250250    ## if we have a stackra and dec, use stackra and dec , dec >=0
    251251
    252         sql = "update ObjectThin set objName =  concat('PS1.2 J', \
     252        sql = "update ObjectThin set objName =  concat('PSO J', \
    253253        lpad(floor(raStack/15.),2,'0'), \
    254254        lpad((raStack/15.-(floor(raStack/15.)))*60. ,2,'0'), \
     
    269269    ## if we have a stackra and dec, use stackra and dec, dec < 0
    270270
    271         sql = "update ObjectThin set objName =  concat('PS1.2 J', \
     271        sql = "update ObjectThin set objName =  concat('PSO J', \
    272272        lpad(floor(raStack/15.),2,'0'), \
    273273        lpad((raStack/15.-(floor(raStack/15.)))*60. ,2,'0'), \
     
    286286        self.logger.infoPair("updating objName", "using means")
    287287    ## use mean ra and dec (dec >= 0)
    288         sql = "update ObjectThin set objName =  concat('PS1.2 J', \
     288        sql = "update ObjectThin set objName =  concat('PSO J', \
    289289        lpad(floor(raMean/15.),2,'0'), \
    290290        lpad((raMean/15.-(floor(raMean/15.)))*60. ,2,'0'), \
     
    304304    ## use mean ra and dec (dec < 0)
    305305
    306         sql = "update ObjectThin set objName =  concat('PS1.2 J', \
     306        sql = "update ObjectThin set objName =  concat('PSO J', \
    307307        lpad(floor(raMean/15.),2,'0'), \
    308308        lpad((raMean/15.-(floor(raMean/15.)))*60. ,2,'0'), \
Note: See TracChangeset for help on using the changeset viewer.