Changeset 35656 for trunk/ippToPsps/jython/queue.py
- Timestamp:
- Jun 12, 2013, 2:22:27 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/queue.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/queue.py
r35605 r35656 134 134 135 135 dD = 0.5*self.skychunk.boxSize 136 136 137 dec = self.skychunk.minDec + dD 138 #dec = self.skychunk.minDec 139 137 140 if (dec > 85): raise 138 141 … … 142 145 #dR = 0.5*self.skychunk.boxSize / math.cos(math.radians(dec)) 143 146 dR = 0.5*self.skychunk.boxSize 147 144 148 ra = self.skychunk.minRa + dR 145 149 … … 149 153 while dec <= self.skychunk.maxDec: 150 154 while ra <= self.skychunk.maxRa: 151 155 print "here" 152 156 # a given box centered at RA,DEC with (linear) size of SIDE has the following bounds 153 157 minRA = ra - dR … … 167 171 len(ids))) 168 172 169 #print "box_id: ", box_id173 print "box_id: ", box_id 170 174 171 175 if len(ids) > 0: self.ippToPspsDb.insertPending(box_id, batchType, ids)
Note:
See TracChangeset
for help on using the changeset viewer.
