Changeset 18048 for trunk/ippTasks
- Timestamp:
- Jun 10, 2008, 8:46:59 AM (18 years ago)
- Location:
- trunk/ippTasks
- Files:
-
- 5 edited
-
detrend.correct.pro (modified) (5 diffs)
-
detrend.norm.pro (modified) (5 diffs)
-
detrend.process.pro (modified) (6 diffs)
-
detrend.resid.pro (modified) (5 diffs)
-
detrend.stack.pro (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/detrend.correct.pro
r17699 r18048 5 5 # test for required global variables 6 6 check.globals 7 8 $LOGSUBDIR = $LOGDIR/detrend9 exec mkdir -p $LOGSUBDIR10 7 11 8 book init detPendingCorrectedImfile … … 71 68 72 69 stdout NULL 73 stderr $LOG SUBDIR/detcorr.imfile.log70 stderr $LOGDIR/detcorr.load.log 74 71 75 72 task.exec … … 146 143 sprintf outroot "%s/%s.%s.%s/%s/%s.detcorr.%s" $WORKDIR $CAMERA $DET_TYPE $DET_ID $EXP_TAG $EXP_TAG $DET_ID 147 144 148 $logfile = `ipp_filename.pl --touch --filerule LOG.IMFILE --camera $CAMERA --class_id $CLASS_ID --basename $outroot` 149 if ("$logfile" == "") 150 echo "WARNING: logfile not defined in detrend.correct.pro:150" 151 break 152 end 153 154 stdout $logfile 155 stderr $logfile 156 dirname $logfile -var outpath 157 158 # XXX I need to report the error if this fails... 159 mkdir $outpath 160 161 $run = detrend_correct_imfile.pl --det_id $DET_ID --exp_id $EXP_ID --class_id $CLASS_ID --exp_tag $EXP_TAG --input_uri $URI --corr_id $CORR_ID --corr_type $CORR_TYPE --camera $CAMERA 145 stdout $LOGDIR/detcorr.run.log 146 stderr $LOGDIR/detcorr.run.log 147 148 $run = detrend_correct_imfile.pl --det_id $DET_ID --exp_id $EXP_ID --class_id $CLASS_ID --exp_tag $EXP_TAG --input_uri $URI --corr_id $CORR_ID --corr_type $CORR_TYPE --camera $CAMERA --outroot $outroot --redirect-output 162 149 if ("$WORKDIR" != "NULL") 163 150 $run = $run --workdir $WORKDIR … … 202 189 203 190 stdout NULL 204 stderr $LOG SUBDIR/detcorr.exp.log191 stderr $LOGDIR/detcorr.exp.load.log 205 192 206 193 task.exec … … 275 262 sprintf outroot "%s/%s.%s.%s/%s/%s.detcorr.%s" $WORKDIR $CAMERA $DET_TYPE $DET_ID $EXP_TAG $EXP_TAG $DET_ID 276 263 277 ## generate output log based on filerule (convert the URI to a PATH) 278 $logfile = `ipp_filename.pl --touch --filerule LOG.EXP --camera $CAMERA --class_id NONE --basename $outroot` 279 if ("$logfile" == "") 280 $logfile = $outroot.log 281 end 282 283 stdout $logfile 284 stderr $logfile 285 dirname $logfile -var outpath 286 mkdir $outpath 287 288 $run = detrend_correct_exp.pl --det_id $DET_ID --exp_id $EXP_ID --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA --corr_id $CORR_ID --corr_type $CORR_TYPE --camera $CAMERA 264 stdout $LOGDIR/detcorr.exp.run.log 265 stderr $LOGDIR/detcorr.exp.run.log 266 267 $run = detrend_correct_exp.pl --det_id $DET_ID --exp_id $EXP_ID --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA --corr_id $CORR_ID --corr_type $CORR_TYPE --camera $CAMERA --redirect-output 268 289 269 if ("$WORKDIR" != "NULL") 290 270 $run = $run --workdir $WORKDIR -
trunk/ippTasks/detrend.norm.pro
r17699 r18048 5 5 # test for required global variables 6 6 check.globals 7 8 $LOGSUBDIR = $LOGDIR/detrend9 exec mkdir -p $LOGSUBDIR10 7 11 8 book init detPendingNormStatImfile … … 84 81 85 82 stdout NULL 86 stderr $LOG SUBDIR/detrend.normstat.log83 stderr $LOGDIR/detrend.normstat.load.log 87 84 88 85 task.exec … … 199 196 200 197 stdout NULL 201 stderr $LOG SUBDIR/detrend.norm.log198 stderr $LOGDIR/detrend.norm.load.log 202 199 203 200 task.exec … … 272 269 sprintf outroot "%s/%s.%s.%s/%s.%s.norm.%s.%s" $WORKDIR $CAMERA $DET_TYPE $DET_ID $CAMERA $DET_TYPE $DET_ID $ITERATION 273 270 274 ## generate output log 275 $logfile = `ipp_filename.pl --touch --filerule LOG.IMFILE --camera $CAMERA --class_id $CLASS_ID --basename $outroot` 276 277 stdout $logfile 278 stderr $logfile 279 dirname $logfile -var outpath 280 mkdir $outpath 281 282 $run = 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 --outroot $outroot 271 stdout $LOGDIR/detrend.norm.run.log 272 stderr $LOGDIR/detrend.norm.run.log 273 274 $run = 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 --outroot $outroot --redirect-output 283 275 add_standard_args run 284 276 … … 317 309 318 310 stdout NULL 319 stderr $LOG SUBDIR/detrend.normexp.log311 stderr $LOGDIR/detrend.normexp.load.log 320 312 321 313 task.exec -
trunk/ippTasks/detrend.process.pro
r17699 r18048 5 5 # test for required global variables 6 6 check.globals 7 8 $LOGSUBDIR = $LOGDIR/detrend9 exec mkdir -p $LOGSUBDIR10 7 11 8 book init detPendingProcessedImfile … … 71 68 72 69 stdout NULL 73 stderr $LOG SUBDIR/detproc.imfile.log70 stderr $LOGDIR/detproc.imfile.load.log 74 71 75 72 task.exec … … 152 149 end 153 150 154 stdout $ logfile155 stderr $ logfile151 stdout $LOGDIR/detproc.imfile.run.log 152 stderr $LOGDIR/detproc.imfile.run.log 156 153 dirname $logfile -var outpath 157 154 … … 159 156 mkdir $outpath 160 157 161 $run = detrend_process_imfile.pl --det_id $DET_ID --exp_id $EXP_ID --det_type $DET_TYPE --class_id $CLASS_ID --exp_tag $EXP_TAG --input_uri $URI --camera $CAMERA --outroot $outroot 158 $run = detrend_process_imfile.pl --det_id $DET_ID --exp_id $EXP_ID --det_type $DET_TYPE --class_id $CLASS_ID --exp_tag $EXP_TAG --input_uri $URI --camera $CAMERA --outroot $outroot --redirect-output 162 159 if ("$REDUCTION" != "NULL") 163 160 $run = $run --reduction $REDUCTION … … 199 196 200 197 stdout NULL 201 stderr $LOG SUBDIR/detproc.exp.log198 stderr $LOGDIR/detproc.exp.load.log 202 199 203 200 task.exec … … 271 268 sprintf outroot "%s/%s.%s.%s/%s/%s.detproc.%s" $WORKDIR $CAMERA $DET_TYPE $DET_ID $EXP_TAG $EXP_TAG $DET_ID 272 269 273 ## generate output log based on filerule (convert the URI to a PATH) 274 $logfile = `ipp_filename.pl --touch --filerule LOG.EXP --camera $CAMERA --class_id NONE --basename $outroot` 275 if ("$logfile" == "") 276 echo "WARNING: logfile not defined in detrend.process.pro:282" 277 break 278 end 279 280 stdout $logfile 281 stderr $logfile 282 dirname $logfile -var outpath 283 mkdir $outpath 284 285 $run = detrend_process_exp.pl --det_id $DET_ID --exp_id $EXP_ID --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA --outroot $outroot 270 stdout $LOGDIR/detproc.exp.run.log 271 stderr $LOGDIR/detproc.exp.run.log 272 273 $run = detrend_process_exp.pl --det_id $DET_ID --exp_id $EXP_ID --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA --outroot $outroot --redirect-output 286 274 if ("$REDUCTION" != "NULL") 287 275 $run = $run --reduction $REDUCTION -
trunk/ippTasks/detrend.resid.pro
r17699 r18048 5 5 # test for required global variables 6 6 check.globals 7 8 $LOGSUBDIR = $LOGDIR/detrend9 exec mkdir -p $LOGSUBDIR10 7 11 8 book init detPendingResidImfile … … 68 65 69 66 stdout NULL 70 stderr $LOG SUBDIR/detresid.log67 stderr $LOGDIR/detresid.load.log 71 68 72 69 task.exec … … 145 142 sprintf outroot "%s/%s.%s.%s/%s/%s.detresid.%s.%s" $WORKDIR $CAMERA $DET_TYPE $DET_ID $EXP_TAG $EXP_TAG $DET_ID $ITERATION 146 143 147 ## generate output log based on filerule (convert the URI to a PATH) 148 $logfile = `ipp_filename.pl --touch --filerule LOG.IMFILE --camera $CAMERA --class_id $CLASS_ID --basename $outroot` 149 if ("$logfile" == "") 150 echo "WARNING: logfile not defined in detrend.resid.pro:161" 151 break 152 end 153 154 stdout $logfile 155 stderr $logfile 156 dirname $logfile -var outpath 157 mkdir $outpath 158 159 $run = detrend_resid.pl --det_id $DET_ID --iteration $ITERATION --exp_id $EXP_ID --exp_tag $EXP_TAG --class_id $CLASS_ID --det_type $DET_TYPE --detrend $DET_URI --input_uri $URI --camera $CAMERA --mode $MODE --outroot $outroot 144 stdout $LOGDIR/detresid.run.log 145 stderr $LOGDIR/detresid.run.log 146 147 $run = detrend_resid.pl --det_id $DET_ID --iteration $ITERATION --exp_id $EXP_ID --exp_tag $EXP_TAG --class_id $CLASS_ID --det_type $DET_TYPE --detrend $DET_URI --input_uri $URI --camera $CAMERA --mode $MODE --outroot $outroot --redirect-output 160 148 if ("$REDUCTION" != "NULL") 161 149 $run = $run --reduction $REDUCTION … … 197 185 198 186 stdout NULL 199 stderr $LOG SUBDIR/detresid.exp.log187 stderr $LOGDIR/detresid.exp.load.log 200 188 201 189 task.exec … … 271 259 sprintf outroot "%s/%s.%s.%s/%s/%s.detresid.%s.%s" $WORKDIR $CAMERA $DET_TYPE $DET_ID $EXP_TAG $EXP_TAG $DET_ID $ITERATION 272 260 273 ## generate output log based on filerule (convert the URI to a PATH) 274 $logfile = `ipp_filename.pl --touch --filerule LOG.IMFILE --camera $CAMERA --class_id NONE --basename $outroot` 275 if ("$logfile" == "") 276 echo "WARNING: logfile not defined in detrend.process.pro:285" 277 break 278 end 279 280 stdout $logfile 281 stderr $logfile 282 dirname $logfile -var outpath 283 mkdir $outpath 284 285 $run = detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITERATION --exp_id $EXP_ID --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA --outroot $outroot 261 stdout $LOGDIR/detresid.exp.run.log 262 stderr $LOGDIR/detresid.exp.run.log 263 264 $run = detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITERATION --exp_id $EXP_ID --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA --outroot $outroot --redirect-output 286 265 add_standard_args run 287 266 -
trunk/ippTasks/detrend.stack.pro
r17699 r18048 5 5 # test for required global variables 6 6 check.globals 7 8 $LOGSUBDIR = $LOGDIR/detrend9 exec mkdir -p $LOGSUBDIR10 7 11 8 book init detPendingStackedImfile … … 53 50 54 51 stdout NULL 55 stderr $LOG SUBDIR/detstack.log52 stderr $LOGDIR/detrend.stack.load.log 56 53 57 54 task.exec … … 125 122 sprintf outroot "%s/%s.%s.%s/%s.%s.%s.%s" $WORKDIR $CAMERA $DET_TYPE $DET_ID $CAMERA $DET_TYPE $DET_ID $ITERATION 126 123 127 ## generate output log based on filerule (convert the URI to a PATH) 128 $logfile = `ipp_filename.pl --touch --filerule LOG.IMFILE --camera $CAMERA --class_id $CLASS_ID --basename $outroot` 129 if ("$logfile" == "") 130 echo "WARNING: logfile not defined in detrend.stack.pro:141" 131 break 132 end 124 stdout $LOGDIR/detrend.stack.run.log 125 stderr $LOGDIR/detrend.stack.run.log 133 126 134 stdout $logfile 135 stderr $logfile 136 dirname $logfile -var outpath 137 mkdir $outpath 138 139 $run = detrend_stack.pl --det_id $DET_ID --iteration $ITERATION --class_id $CLASS_ID --det_type $DET_TYPE --camera $CAMERA --outroot $outroot 127 $run = detrend_stack.pl --det_id $DET_ID --iteration $ITERATION --class_id $CLASS_ID --det_type $DET_TYPE --camera $CAMERA --outroot $outroot --redirect-output 140 128 if ("$REDUCTION" != "NULL") 141 129 $run = $run --reduction $REDUCTION
Note:
See TracChangeset
for help on using the changeset viewer.
