Changeset 38723 for trunk/ippToPsps/jython/objectbatch.py
- Timestamp:
- Sep 10, 2015, 2:44:01 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/objectbatch.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/objectbatch.py
r38397 r38723 250 250 ## if we have a stackra and dec, use stackra and dec , dec >=0 251 251 252 sql = "update ObjectThin set objName = concat('PS 1.2J', \252 sql = "update ObjectThin set objName = concat('PSO J', \ 253 253 lpad(floor(raStack/15.),2,'0'), \ 254 254 lpad((raStack/15.-(floor(raStack/15.)))*60. ,2,'0'), \ … … 269 269 ## if we have a stackra and dec, use stackra and dec, dec < 0 270 270 271 sql = "update ObjectThin set objName = concat('PS 1.2J', \271 sql = "update ObjectThin set objName = concat('PSO J', \ 272 272 lpad(floor(raStack/15.),2,'0'), \ 273 273 lpad((raStack/15.-(floor(raStack/15.)))*60. ,2,'0'), \ … … 286 286 self.logger.infoPair("updating objName", "using means") 287 287 ## use mean ra and dec (dec >= 0) 288 sql = "update ObjectThin set objName = concat('PS 1.2J', \288 sql = "update ObjectThin set objName = concat('PSO J', \ 289 289 lpad(floor(raMean/15.),2,'0'), \ 290 290 lpad((raMean/15.-(floor(raMean/15.)))*60. ,2,'0'), \ … … 304 304 ## use mean ra and dec (dec < 0) 305 305 306 sql = "update ObjectThin set objName = concat('PS 1.2J', \306 sql = "update ObjectThin set objName = concat('PSO J', \ 307 307 lpad(floor(raMean/15.),2,'0'), \ 308 308 lpad((raMean/15.-(floor(raMean/15.)))*60. ,2,'0'), \
Note:
See TracChangeset
for help on using the changeset viewer.
