Changeset 9081 for trunk/ippTasks/detrend.process.pro
- Timestamp:
- Sep 30, 2006, 12:27:01 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/detrend.process.pro (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/detrend.process.pro
r8691 r9081 13 13 ## STATE DET_ID TYPE EXP_KEY CLASS CLASS_ID URI 14 14 15 queueinit DetrendImfilesToProcess 16 if ($?network == 0) 17 $network = 1 18 end 19 if ($?parallel == 0) 20 $parallel = 0 21 end 22 15 23 # select images ready for copy 16 24 # new entries are added to queue DetrendImfilesToProcess … … 23 31 periods -exec 5 24 32 periods -timeout 30 25 trange 18:00 23:59 33 34 stdout dettool.process.log 35 stderr dettool.process.log 26 36 27 37 # success … … 69 79 task dettool.raw.process 70 80 periods -poll 0.5 71 periods -exec 1.072 periods -timeout 581 periods -exec 2.0 82 periods -timeout 60 73 83 74 84 task.exec … … 90 100 ## NOTE: the queue has the STATE prepended 91 101 list word -split $line 92 $DET_ID = $word:1 93 $TYPE = $word:2 94 $EXP_KEY = $word:3 95 $CLASS = $word:4 96 $CLASS_ID = $word:5 97 $URI = $word:6 102 $DET_ID = $word:0 103 $TYPE = $word:1 104 $EXP_KEY = $word:2 105 $CLASS = $word:3 106 $CLASS_ID = $word:4 107 $URI = $word:5 108 109 stdout $EXP_KEY.detproc.$CLASS_ID.log 110 stderr $EXP_KEY.detproc.$CLASS_ID.log 98 111 99 112 # specify choice of remote host: 100 host anyhost 113 if ($parallel) 114 host anyhost 115 else 116 host local 117 end 101 118 102 119 # create example job options as a demonstration 103 120 options "$line" 104 # ~/ipp/helpers/detrend_process.pl 1 850131b mc bias 850131b.fits 850131b105 command detrend_process.pl $DET_ID $EXP_KEY $CLASS_ID $TYPE $URI $EXP_KEY121 echo command detrend_process.pl --det_id $DET_ID --exp_id $EXP_KEY --class $CLASS --class_id $CLASS_ID --det_type bias --input_uri $URI 122 command detrend_process.pl --det_id $DET_ID --exp_id $EXP_KEY --class $CLASS --class_id $CLASS_ID --det_type bias --input_uri $URI 106 123 end 107 124 … … 118 135 # operation times out? 119 136 task.exit timeout 120 queuepush DetrendImfilesToProcess -replace -key 1:3:5 " FAIL$options:0"137 queuepush DetrendImfilesToProcess -replace -key 1:3:5 "TIMEOUT $options:0" 121 138 end 122 139 end
Note:
See TracChangeset
for help on using the changeset viewer.
