Changeset 37917 for trunk/ippToPsps/jython/ipptopspsdb.py
- Timestamp:
- Feb 20, 2015, 1:19:35 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/ipptopspsdb.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/ipptopspsdb.py
r37748 r37917 1342 1342 (" + str(box_id) + ", '" + batchType + "', " + str(id) + ")" 1343 1343 1344 print sql 1344 1345 try: self.execute(sql) 1345 1346 except: … … 1551 1552 1552 1553 # XXX EAM : need to do something special at the poles... 1553 if (boxDim['DEC'] > 85): raise 1554 1554 #if (boxDim['DEC'] > 85): raise 1555 #heather commented out for oB 1556 1555 1557 # a given box centered at RA,DEC with (linear) size of SIDE has the following bounds 1556 1558 dR = 0.5*boxDim['SIDE'] / math.cos(math.radians(boxDim['DEC']))
Note:
See TracChangeset
for help on using the changeset viewer.
