- Timestamp:
- May 26, 2009, 1:59:32 PM (17 years ago)
- Location:
- branches/cnb_branches/cnb_branch_20090301
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippTasks/warp.pro (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/cnb_branches/cnb_branch_20090301
- Property svn:mergeinfo changed
-
branches/cnb_branches/cnb_branch_20090301/ippTasks/warp.pro
r23594 r24244 47 47 active true 48 48 end 49 task warp.advancerun 50 active true 51 end 49 52 end 50 53 … … 61 64 end 62 65 task warp.skycell.run 66 active false 67 end 68 task warp.advancerun 63 69 active false 64 70 end … … 96 102 97 103 task.exec 104 if ($LABEL:n == 0) break 98 105 $run = warptool -tooverlap 99 106 if ($DB:n == 0) … … 107 114 end 108 115 add_poll_args run 116 add_poll_labels run 109 117 command $run 110 118 end … … 220 228 221 229 task.exec 230 if ($LABEL:n == 0) break 222 231 $run = warptool -towarped 223 232 if ($DB:n == 0) … … 231 240 end 232 241 add_poll_args run 242 add_poll_labels run 233 243 command $run 234 244 end … … 339 349 end 340 350 351 # this variable will cycle through the known database names 352 $warp_advance_DB = 0 353 354 # advance exposures for which all imfiles have completed processing 355 # sets the exposure state to full and queues warp processing if requested 356 task warp.advancerun 357 host local 358 359 periods -poll $LOADPOLL 360 periods -exec 30 361 periods -timeout 60 362 npending 1 363 364 stdout NULL 365 stderr $LOGDIR/warp.advancerun.log 366 367 task.exec 368 if ($LABEL:n == 0) break 369 $run = warptool -advancerun -limit 10 370 if ($DB:n == 0) 371 option DEFAULT 372 else 373 # save the DB name for the exit tasks 374 option $DB:$warp_advance_DB 375 $run = $run -dbname $DB:$warp_advance_DB 376 $warp_advance_DB ++ 377 if ($warp_advance_DB >= $DB:n) set warp_advance_DB = 0 378 end 379 add_poll_args run 380 add_poll_labels run 381 command $run 382 end 383 384 # success 385 task.exit 0 386 end 387 388 # locked list 389 task.exit default 390 showcommand failure 391 end 392 393 task.exit crash 394 showcommand crash 395 end 396 397 # operation times out? 398 task.exit timeout 399 showcommand timeout 400 end 401 end 402 341 403 # select images ready for warp analysis 342 404 # new entries are added to warpPendingImfile … … 355 417 356 418 task.exec 419 if ($LABEL:n == 0) break 357 420 $run = warptool -pendingcleanuprun 358 421 if ($DB:n == 0) … … 366 429 end 367 430 add_poll_args run 431 add_poll_labels run 368 432 command $run 369 433 end
Note:
See TracChangeset
for help on using the changeset viewer.
