Changeset 11019
- Timestamp:
- Jan 10, 2007, 3:37:08 PM (19 years ago)
- Location:
- branches/eam_branch_00/ippTasks
- Files:
-
- 6 edited
-
detrend.norm.pro (modified) (12 diffs)
-
detrend.process.pro (modified) (3 diffs)
-
detrend.reject.pro (modified) (4 diffs)
-
detrend.resid.pro (modified) (8 diffs)
-
detrend.stack.pro (modified) (4 diffs)
-
pantasks.pro (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_00/ippTasks/detrend.norm.pro
r11012 r11019 49 49 task.exit 0 50 50 # convert 'stdout' to book format 51 ipptool2book stdout DetrendNormStat -key det_id:iter -uniq51 ipptool2book stdout DetrendNormStat -key det_id:iteration -uniq 52 52 if ($VERBOSE > 2) 53 53 book listbook DetrendNormStat … … 85 85 86 86 book setword DetrendNormStat $pageName state RUN 87 book getword DetrendNormStat $pageName DET_ID-var DET_ID88 book getword DetrendNormStat $pageName DET_TYPE-var DET_TYPE89 book getword DetrendNormStat $pageName ITER -var ITER90 book getword DetrendNormStat $pageName CAMERA-var CAMERA87 book getword DetrendNormStat $pageName det_id -var DET_ID 88 book getword DetrendNormStat $pageName det_type -var DET_TYPE 89 book getword DetrendNormStat $pageName iteration -var ITERATION 90 book getword DetrendNormStat $pageName camera -var CAMERA 91 91 92 92 # specify choice of remote host: … … 98 98 99 99 # XXX add $WORKDIR/$LOG_DIR 100 stdout $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITER .log101 stderr $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITER .log100 stdout $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.log 101 stderr $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITERATIION.log 102 102 103 103 # save the pageName for future reference below … … 106 106 # create example job options as a demonstration 107 107 if ($VERBOSE > 1) 108 echo command detrend_norm_calc.pl --det_id $DET_ID --iteration $ITER --det_type $DET_TYPE109 end 110 command detrend_norm_calc.pl --det_id $DET_ID --iteration $ITER --det_type $DET_TYPE108 echo command detrend_norm_calc.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE 109 end 110 command detrend_norm_calc.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE 111 111 end 112 112 … … 149 149 task.exit 0 150 150 # convert 'stdout' to book format 151 ipptool2book stdout DetrendNorm -key det_id:iter -uniq151 ipptool2book stdout DetrendNorm -key det_id:iteration -uniq 152 152 if ($VERBOSE > 2) 153 153 book listbook DetrendNorm … … 185 185 186 186 book setword DetrendNorm $pageName state RUN 187 book getword DetrendNorm $pageName det_type -var DET_TYPE188 book getword DetrendNorm $pageName camera -var CAMERA189 book getword DetrendNorm $pageName uri -var URI190 book getword DetrendNorm $pageName det_id -var DET_ID191 book getword DetrendNorm $pageName iter -var ITER192 book getword DetrendNorm $pageName class_id -var CLASS_ID193 book getword DetrendNorm $pageName norm -var NORM187 book getword DetrendNorm $pageName det_type -var DET_TYPE 188 book getword DetrendNorm $pageName camera -var CAMERA 189 book getword DetrendNorm $pageName uri -var URI 190 book getword DetrendNorm $pageName det_id -var DET_ID 191 book getword DetrendNorm $pageName iteration -var ITERATION 192 book getword DetrendNorm $pageName class_id -var CLASS_ID 193 book getword DetrendNorm $pageName norm -var NORM 194 194 195 195 # specify choice of remote host: … … 200 200 end 201 201 202 stdout $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITER .log203 stderr $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITER .log202 stdout $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.log 203 stderr $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.log 204 204 205 205 # save the pageName for future reference below … … 208 208 # create example job options as a demonstration 209 209 if ($VERBOSE > 1) 210 echo command detrend_norm_apply.pl --det_id $DET_ID --iteration $ITER --class_id $CLASS_ID --value $NORM --input_uri $URI --camera $CAMERA --det_type $DET_TYPE211 end 212 command detrend_norm_apply.pl --det_id $DET_ID --iteration $ITER --class_id $CLASS_ID --value $NORM --input_uri $URI --camera $CAMERA --det_type $DET_TYPE210 echo command detrend_norm_apply.pl --det_id $DET_ID --iteration $ITERATION --class_id $CLASS_ID --value $NORM --input_uri $URI --camera $CAMERA --det_type $DET_TYPE 211 end 212 command detrend_norm_apply.pl --det_id $DET_ID --iteration $ITERATION --class_id $CLASS_ID --value $NORM --input_uri $URI --camera $CAMERA --det_type $DET_TYPE 213 213 end 214 214 … … 251 251 task.exit 0 252 252 # convert 'stdout' to book format 253 ipptool2book stdout DetrendNormExp -key det_id:iter -uniq253 ipptool2book stdout DetrendNormExp -key det_id:iteration -uniq 254 254 if ($VERBOSE > 2) 255 255 book listbook DetrendNormExp … … 287 287 288 288 book setword DetrendNormExp $pageName state RUN 289 book getword DetrendNormExp $pageName det_id -var DET_ID290 book getword DetrendNormExp $pageName iter -var ITER291 book getword DetrendNormExp $pageName det_type -var DET_TYPE292 book getword DetrendNormExp $pageName camera -var CAMERA289 book getword DetrendNormExp $pageName det_id -var DET_ID 290 book getword DetrendNormExp $pageName iteration -var ITERATION 291 book getword DetrendNormExp $pageName det_type -var DET_TYPE 292 book getword DetrendNormExp $pageName camera -var CAMERA 293 293 294 294 # specify choice of remote host: … … 300 300 301 301 # XXX add $WORKDIR/$LOG_DIR 302 stdout $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITER .log303 stderr $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITER .log302 stdout $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.log 303 stderr $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.log 304 304 305 305 # save the pageName for future reference below … … 308 308 # create example job options as a demonstration 309 309 if ($VERBOSE > 1) 310 echo command detrend_norm_exp.pl --det_id $DET_ID --iteration $ITER --camera $CAMERA --det_type $DET_TYPE311 end 312 command detrend_norm_exp.pl --det_id $DET_ID --iteration $ITER --camera $CAMERA --det_type $DET_TYPE310 echo command detrend_norm_exp.pl --det_id $DET_ID --iteration $ITERATION --camera $CAMERA --det_type $DET_TYPE 311 end 312 command detrend_norm_exp.pl --det_id $DET_ID --iteration $ITERATION --camera $CAMERA --det_type $DET_TYPE 313 313 end 314 314 -
branches/eam_branch_00/ippTasks/detrend.process.pro
r11012 r11019 110 110 111 111 # create example job options as a demonstration 112 setcommand detrend_process_imfile.pl --det_id $DET_ID --det_type $DET_TYPE --exp_tag $EXP_TAG --class $CLASS --class_id $CLASS_ID --input_uri $URI --camera $CAMERA 112 if ($VERBOSE > 1) 113 echo command detrend_process_imfile.pl --det_id $DET_ID --det_type $DET_TYPE --exp_tag $EXP_TAG --class $CLASS --class_id $CLASS_ID --input_uri $URI --camera $CAMERA 114 end 115 command detrend_process_imfile.pl --det_id $DET_ID --det_type $DET_TYPE --exp_tag $EXP_TAG --class $CLASS --class_id $CLASS_ID --input_uri $URI --camera $CAMERA 113 116 end 114 117 … … 151 154 task.exit 0 152 155 # convert 'stdout' to book format 153 ipptool2book stdout DetrendProcessExposures -key det_id:iter :exp_tag -uniq156 ipptool2book stdout DetrendProcessExposures -key det_id:iteration:exp_tag -uniq 154 157 if ($VERBOSE > 2) 155 158 book listbook DetrendProcessExposures … … 187 190 188 191 book setword DetrendProcessExposures $pageName state RUN 189 book getword DetrendProcessExposures $pageName det_id -var DET_ID190 book getword DetrendProcessExposures $pageName iter -var ITER191 book getword DetrendProcessExposures $pageName det_type -var DET_TYPE192 book getword DetrendProcessExposures $pageName exp_tag -var EXP_TAG193 book getword DetrendProcessExposures $pageName camera -var CAMERA192 book getword DetrendProcessExposures $pageName det_id -var DET_ID 193 book getword DetrendProcessExposures $pageName iteration -var ITERATION 194 book getword DetrendProcessExposures $pageName det_type -var DET_TYPE 195 book getword DetrendProcessExposures $pageName exp_tag -var EXP_TAG 196 book getword DetrendProcessExposures $pageName camera -var CAMERA 194 197 195 198 # specify choice of remote host: -
branches/eam_branch_00/ippTasks/detrend.reject.pro
r11012 r11019 45 45 task.exit 0 46 46 # convert 'stdout' to book format 47 ipptool2book stdout DetrendRejectExp -key det_id:iter -uniq47 ipptool2book stdout DetrendRejectExp -key det_id:iteration -uniq 48 48 if ($VERBOSE > 2) 49 49 book listbook DetrendRejectExp … … 81 81 82 82 book setword DetrendRejectExp $pageName state RUN 83 book getword DetrendRejectExp $pageName DET_ID-var DET_ID84 book getword DetrendRejectExp $pageName ITER -var ITER85 book getword DetrendRejectExp $pageName DET_TYPE-var DET_TYPE86 book getword DetrendRejectExp $pageName MODE-var MODE87 book getword DetrendRejectExp $pageName CAMERA-var CAMERA83 book getword DetrendRejectExp $pageName det_id -var DET_ID 84 book getword DetrendRejectExp $pageName iteration -var ITERATION 85 book getword DetrendRejectExp $pageName det_type -var DET_TYPE 86 book getword DetrendRejectExp $pageName mode -var MODE 87 book getword DetrendRejectExp $pageName camera -var CAMERA 88 88 89 89 # specify choice of remote host: … … 95 95 96 96 # I'd like to add CAMERA to the log file... 97 stdout $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITER .log98 stderr $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITER .log97 stdout $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.log 98 stderr $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.log 99 99 100 100 # save the pageName for future reference below … … 103 103 # create example job options as a demonstration 104 104 if ($VERBOSE > 1) 105 echo command detrend_reject_exp.pl --det_id $DET_ID --iteration $ITER --det_type $DET_TYPE --camera $CAMERA105 echo command detrend_reject_exp.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE --camera $CAMERA 106 106 end 107 command detrend_reject_exp.pl --det_id $DET_ID --iteration $ITER --det_type $DET_TYPE --camera $CAMERA107 command detrend_reject_exp.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE --camera $CAMERA 108 108 end 109 109 -
branches/eam_branch_00/ippTasks/detrend.resid.pro
r11012 r11019 47 47 task.exit 0 48 48 # convert 'stdout' to book format 49 ipptool2book stdout DetrendResidImfiles -key det_id:iter :exp_tag:class_id -uniq49 ipptool2book stdout DetrendResidImfiles -key det_id:iteration:exp_tag:class_id -uniq 50 50 if ($VERBOSE > 2) 51 51 book listbook DetrendResidImfiles … … 83 83 84 84 book setword DetrendResidImfiles $pageName state RUN 85 book getword DetrendResidImfiles $pageName DET_ID-var DET_ID86 book getword DetrendResidImfiles $pageName ITER -var ITER87 book getword DetrendResidImfiles $pageName DET_TYPE-var DET_TYPE88 book getword DetrendResidImfiles $pageName MODE-var MODE89 book getword DetrendResidImfiles $pageName EXP_TAG-var EXP_TAG90 book getword DetrendResidImfiles $pageName CLASS_ID-var CLASS_ID91 book getword DetrendResidImfiles $pageName URI-var URI92 book getword DetrendResidImfiles $pageName DET_URI-var DET_URI93 book getword DetrendResidImfiles $pageName CAMERA-var CAMERA85 book getword DetrendResidImfiles $pageName det_id -var DET_ID 86 book getword DetrendResidImfiles $pageName iteration -var ITERATION 87 book getword DetrendResidImfiles $pageName det_type -var DET_TYPE 88 book getword DetrendResidImfiles $pageName mode -var MODE 89 book getword DetrendResidImfiles $pageName exp_tag -var EXP_TAG 90 book getword DetrendResidImfiles $pageName class_id -var CLASS_ID 91 book getword DetrendResidImfiles $pageName uri -var URI 92 book getword DetrendResidImfiles $pageName det_uri -var DET_URI 93 book getword DetrendResidImfiles $pageName camera -var CAMERA 94 94 95 95 # specify choice of remote host: … … 103 103 list word -split $word 104 104 $base = $word:0 105 stdout $LOGSUBDIR/$base/$EXP_TAG.detresid.$DET_ID.$ITER .$CLASS_ID.log106 stderr $LOGSUBDIR/$base/$EXP_TAG.detresid.$DET_ID.$ITER .$CLASS_ID.log105 stdout $LOGSUBDIR/$base/$EXP_TAG.detresid.$DET_ID.$ITERATION.$CLASS_ID.log 106 stderr $LOGSUBDIR/$base/$EXP_TAG.detresid.$DET_ID.$ITERATION.$CLASS_ID.log 107 107 exec mkdir -p $LOGSUBDIR/$base 108 108 … … 112 112 # create command 113 113 if ($VERBOSE > 1) 114 echo command detrend_resid.pl --det_id $DET_ID --iteration $ITER --exp_tag $EXP_TAG --class_id $CLASS_ID --det_type $DET_TYPE --detrend $DET_URI --input_uri $URI --camera $CAMERA --mode $MODE115 end 116 command detrend_resid.pl --det_id $DET_ID --iteration $ITER --exp_tag $EXP_TAG --class_id $CLASS_ID --det_type $DET_TYPE --detrend $DET_URI --input_uri $URI --camera $CAMERA --mode $MODE114 echo command detrend_resid.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --class_id $CLASS_ID --det_type $DET_TYPE --detrend $DET_URI --input_uri $URI --camera $CAMERA --mode $MODE 115 end 116 command detrend_resid.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --class_id $CLASS_ID --det_type $DET_TYPE --detrend $DET_URI --input_uri $URI --camera $CAMERA --mode $MODE 117 117 end 118 118 … … 155 155 task.exit 0 156 156 # convert 'stdout' to book format 157 ipptool2book stdout DetrendResidExposures -key det_id:iter :exp_tag -uniq157 ipptool2book stdout DetrendResidExposures -key det_id:iteration:exp_tag -uniq 158 158 if ($VERBOSE > 2) 159 159 book listbook DetrendResidExposures … … 191 191 192 192 book setword DetrendResidExposures $pageName state RUN 193 book getword DetrendResidExposures $pageName DET_ID-var DET_ID194 book getword DetrendResidExposures $pageName ITER -var ITER195 book getword DetrendResidExposures $pageName DET_TYPE-var DET_TYPE196 book getword DetrendResidExposures $pageName MODE-var MODE197 book getword DetrendResidExposures $pageName EXP_TAG-var EXP_TAG198 book getword DetrendResidExposures $pageName INCLUDE-var INCLUDE199 book getword DetrendResidExposures $pageName CAMERA-var CAMERA193 book getword DetrendResidExposures $pageName det_id -var DET_ID 194 book getword DetrendResidExposures $pageName iteration -var ITERATION 195 book getword DetrendResidExposures $pageName det_type -var DET_TYPE 196 book getword DetrendResidExposures $pageName mode -var MODE 197 book getword DetrendResidExposures $pageName exp_tag -var EXP_TAG 198 book getword DetrendResidExposures $pageName include -var INCLUDE 199 book getword DetrendResidExposures $pageName camera -var CAMERA 200 200 201 201 # specify choice of remote host: … … 210 210 list word -split $word 211 211 $base = $word:0 212 stdout $LOGSUBDIR/$base/$EXP_TAG.detresid.$DET_ID.$ITER .log213 stderr $LOGSUBDIR/$base/$EXP_TAG.detresid.$DET_ID.$ITER .log212 stdout $LOGSUBDIR/$base/$EXP_TAG.detresid.$DET_ID.$ITERATION.log 213 stderr $LOGSUBDIR/$base/$EXP_TAG.detresid.$DET_ID.$ITERATION.log 214 214 exec mkdir -p $LOGSUBDIR/$base 215 215 … … 219 219 # create example job options as a demonstration 220 220 if ($VERBOSE > 1) 221 echo command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITER --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA222 end 223 command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITER --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA221 echo command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA 222 end 223 command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA 224 224 end 225 225 -
branches/eam_branch_00/ippTasks/detrend.stack.pro
r11012 r11019 45 45 task.exit 0 46 46 # convert 'stdout' to book format 47 ipptool2book stdout DetrendStackClass -key det_id:iter :class_id -uniq47 ipptool2book stdout DetrendStackClass -key det_id:iteration:class_id -uniq 48 48 if ($VERBOSE > 2) 49 49 book listbook DetrendStackClass … … 81 81 82 82 book setword DetrendStackClass $pageName state RUN 83 book getword DetrendStackClass $pageName det_id -var DET_ID84 book getword DetrendStackClass $pageName iter -var ITER85 book getword DetrendStackClass $pageName det_type -var DET_TYPE86 book getword DetrendStackClass $pageName class_id -var CLASS_ID87 book getword DetrendStackClass $pageName camera -var CAMERA83 book getword DetrendStackClass $pageName det_id -var DET_ID 84 book getword DetrendStackClass $pageName iteration -var ITERATION 85 book getword DetrendStackClass $pageName det_type -var DET_TYPE 86 book getword DetrendStackClass $pageName class_id -var CLASS_ID 87 book getword DetrendStackClass $pageName camera -var CAMERA 88 88 89 89 # specify choice of remote host: … … 95 95 96 96 # XXX add $WORKDIR/$LOG_DIR 97 stdout $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITER .$CLASS_ID.log98 stderr $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITER .$CLASS_ID.log97 stdout $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.$CLASS_ID.log 98 stderr $LOGSUBDIR/$CAMERA.$DET_TYPE.$DET_ID.$ITERATION.$CLASS_ID.log 99 99 100 100 # save the pageName for future reference below … … 103 103 # create the command line 104 104 if ($VERBOSE > 1) 105 echo command detrend_stack.pl --det_id $DET_ID --iteration $ITER --class_id $CLASS_ID --det_type $DET_TYPE --camera $CAMERA105 echo command detrend_stack.pl --det_id $DET_ID --iteration $ITERATION --class_id $CLASS_ID --det_type $DET_TYPE --camera $CAMERA 106 106 end 107 command detrend_stack.pl --det_id $DET_ID --iteration $ITER --class_id $CLASS_ID --det_type $DET_TYPE --camera $CAMERA107 command detrend_stack.pl --det_id $DET_ID --iteration $ITERATION --class_id $CLASS_ID --det_type $DET_TYPE --camera $CAMERA 108 108 end 109 109 -
branches/eam_branch_00/ippTasks/pantasks.pro
r11011 r11019 17 17 $runpoll = 0.5 18 18 $runexec = 1 19 20 macro init.simtest 21 $LOGDIR = `ipp_datapath.pl path://SIMTEST` 22 $LOGDIR = $LOGDIR/logs 23 exec mkdir -p $LOGDIR 24 25 if ($parallel) 26 controller exit true 27 controller host add alala 28 end 29 end 19 30 20 31 macro init.essence … … 55 66 macro load.tasks 56 67 input $scripts/phase0.pro 57 input $scripts/phase2.pro68 # input $scripts/phase2.pro 58 69 # input $scripts/phase3.pro 59 70 … … 80 91 end 81 92 end 82 83 macro setcommand84 local n85 $command = ""86 for n 1 $087 $command = $command $$n88 end89 if ($VERBOSE > 1)90 echo "command $command"91 end92 command $command93 end
Note:
See TracChangeset
for help on using the changeset viewer.
