Changeset 12109
- Timestamp:
- Feb 27, 2007, 6:01:29 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/warp.pro (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/warp.pro
r12108 r12109 36 36 macro warp.status 37 37 book listbook warpInputExp 38 book listbook warpPendingSky cell38 book listbook warpPendingSkyCell 39 39 end 40 40 … … 42 42 macro warp.reset 43 43 book init warpInputExp 44 book init warpPendingSky cell44 book init warpPendingSkyCell 45 45 end 46 46 … … 189 189 190 190 ### Load tasks for doing the warps 191 ### Tasks are loaded into warpPendingSky cell.191 ### Tasks are loaded into warpPendingSkyCell. 192 192 task warp.skycell.load 193 193 host local … … 217 217 task.exit 0 218 218 # convert 'stdout' to book format 219 ipptool2book stdout warpPendingSky cell -key warp_id:skycell_id:tess_id -uniq -setword dbname $options:0219 ipptool2book stdout warpPendingSkyCell -key warp_id:skycell_id:tess_id -uniq -setword dbname $options:0 220 220 if ($VERBOSE > 2) 221 book listbook warpPendingSky cell221 book listbook warpPendingSkyCell 222 222 end 223 223 224 224 # delete existing entries in the appropriate states 225 process_cleanup warpPendingSky cell225 process_cleanup warpPendingSkyCell 226 226 end 227 227 … … 238 238 239 239 ### Run tasks for calculating the warp overlaps 240 ### Tasks are taken from warpPendingSky cell.240 ### Tasks are taken from warpPendingSkyCell. 241 241 task warp.skycell.run 242 242 periods -poll $runpoll … … 245 245 246 246 task.exec 247 book npages warpPendingSky cell -var N247 book npages warpPendingSkyCell -var N 248 248 if ($N == 0) break 249 249 if ($network == 0) break 250 250 251 # look for new images in warpPendingSky cell (state == NULL)252 book getpage warpPendingSky cell 0 -var pageName -key state NULL251 # look for new images in warpPendingSkyCell (state == NULL) 252 book getpage warpPendingSkyCell 0 -var pageName -key state NULL 253 253 if ($pageName == NULL) break 254 254 255 book setword warpPendingSky cell $pageName state RUN256 book getword warpPendingSky cell $pageName warp_id -var WARP_ID257 book getword warpPendingSky cell $pageName skycell_id -var SKYCELL_ID258 book getword warpPendingSky cell $pageName tess_id -var TESS_ID259 book getword warpPendingSky cell $pageName exp_tag -var EXP_TAG260 book getword warpPendingSky cell $pageName camera -var CAMERA261 book getword warpPendingSky cell $pageName workdir -var WORKDIR262 book getword warpPendingSky cell $pageName dbname -var DBNAME255 book setword warpPendingSkyCell $pageName state RUN 256 book getword warpPendingSkyCell $pageName warp_id -var WARP_ID 257 book getword warpPendingSkyCell $pageName skycell_id -var SKYCELL_ID 258 book getword warpPendingSkyCell $pageName tess_id -var TESS_ID 259 book getword warpPendingSkyCell $pageName exp_tag -var EXP_TAG 260 book getword warpPendingSkyCell $pageName camera -var CAMERA 261 book getword warpPendingSkyCell $pageName workdir -var WORKDIR 262 book getword warpPendingSkyCell $pageName dbname -var DBNAME 263 263 set_standard_args 264 264 … … 291 291 # default exit status 292 292 task.exit default 293 process_exit warpPendingSky cell $options:0 $JOB_STATUS293 process_exit warpPendingSkyCell $options:0 $JOB_STATUS 294 294 end 295 295 … … 297 297 task.exit timeout 298 298 showcommand timeout 299 book setword warpPendingSky cell $options:0 state TIMEOUT300 end 301 end 302 299 book setword warpPendingSkyCell $options:0 state TIMEOUT 300 end 301 end 302
Note:
See TracChangeset
for help on using the changeset viewer.
