Changeset 12368
- Timestamp:
- Mar 8, 2007, 5:41:36 PM (19 years ago)
- Location:
- trunk/ippTasks
- Files:
-
- 10 edited
-
camera.pro (modified) (2 diffs)
-
chip.pro (modified) (2 diffs)
-
detrend.norm.pro (modified) (6 diffs)
-
detrend.process.pro (modified) (4 diffs)
-
detrend.reject.pro (modified) (2 diffs)
-
detrend.resid.pro (modified) (4 diffs)
-
detrend.stack.pro (modified) (2 diffs)
-
diff.pro (modified) (2 diffs)
-
stack.pro (modified) (2 diffs)
-
warp.pro (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/camera.pro
r12240 r12368 132 132 133 133 # output log from filerule 134 $outroot = `ipp_datapath.pl $WORKDIR` 134 if ($WORKDIR == NULL) 135 $outroot = `pwd` 136 else 137 $outroot = `ipp_datapath.pl $WORKDIR` 138 end 135 139 $outroot = $outroot/$EXP_ID 136 140 $logfile = $outroot/cam.log … … 144 148 # create the command line 145 149 if ($VERBOSE > 1) 146 echo command camera_exp.pl --exp_id $EXP_ID --cam_id $CAM_ID --camera $CAMERA $ARGS150 echo command camera_exp.pl --exp_id $EXP_ID --cam_id $CAM_ID --camera $CAMERA --workdir $outroot $ARGS 147 151 end 148 command camera_exp.pl --exp_id $EXP_ID --cam_id $CAM_ID --camera $CAMERA $ARGS152 command camera_exp.pl --exp_id $EXP_ID --cam_id $CAM_ID --camera $CAMERA --workdir $outroot $ARGS 149 153 end 150 154 -
trunk/ippTasks/chip.pro
r12224 r12368 135 135 136 136 ## generate output log based on filerule 137 $outroot = `ipp_datapath.pl $WORKDIR` 137 if ($WORKDIR == NULL) 138 $outroot = `pwd` 139 else 140 $outroot = `ipp_datapath.pl $WORKDIR` 141 end 138 142 $outroot = $outroot/$EXP_ID 139 143 $logfile = $outroot/chip.$CLASS_ID.log … … 147 151 # create the command line 148 152 if ($VERBOSE > 1) 149 echo command chip_imfile.pl --exp_id $EXP_ID --chip_id $CHIP_ID --class_id $CLASS_ID --uri $URI --camera $CAMERA $ARGS153 echo command chip_imfile.pl --exp_id $EXP_ID --chip_id $CHIP_ID --class_id $CLASS_ID --uri $URI --camera $CAMERA --workdir $outroot $ARGS 150 154 end 151 command chip_imfile.pl --exp_id $EXP_ID --chip_id $CHIP_ID --class_id $CLASS_ID --uri $URI --camera $CAMERA $ARGS155 command chip_imfile.pl --exp_id $EXP_ID --chip_id $CHIP_ID --class_id $CLASS_ID --uri $URI --camera $CAMERA --workdir $outroot $ARGS 152 156 end 153 157 -
trunk/ippTasks/detrend.norm.pro
r12126 r12368 164 164 end 165 165 166 # XXX add $WORKDIR/$LOG_DIR 167 # XXX use ipp_filename.pl to lookup output file names 168 $outroot = `ipp_datapath.pl $WORKDIR` 166 if ($WORKDIR == NULL) 167 $outroot = `pwd` 168 else 169 $outroot = `ipp_datapath.pl $WORKDIR` 170 end 169 171 $outroot = $outroot/$CAMERA.$DET_TYPE.$DET_ID 170 172 $logfile = $outroot/norm.$DET_ID.$ITERATION.log … … 178 180 # create example job options as a demonstration 179 181 if ($VERBOSE > 1) 180 echo command detrend_norm_calc.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE $ARGS181 end 182 command detrend_norm_calc.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE $ARGS182 echo command detrend_norm_calc.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE --workdir $outroot $ARGS 183 end 184 command detrend_norm_calc.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE --workdir $outroot $ARGS 183 185 end 184 186 … … 280 282 281 283 # XXX use ipp_filename.pl to lookup output file names 282 $outroot = `ipp_datapath.pl $WORKDIR` 284 if ($WORKDIR == NULL) 285 $outroot = `pwd` 286 else 287 $outroot = `ipp_datapath.pl $WORKDIR` 288 end 283 289 $outroot = $outroot/$CAMERA.$DET_TYPE.$DET_ID 284 290 $logfile = $outroot/norm.$DET_ID.$ITERATION.$CLASS_ID.log … … 292 298 # create example job options as a demonstration 293 299 if ($VERBOSE > 1) 294 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 $ARGS295 end 296 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 $ARGS300 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 --workdir $outroot $ARGS 301 end 302 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 --workdir $outroot $ARGS 297 303 end 298 304 … … 391 397 392 398 # XXX add $WORKDIR/$LOG_DIR 393 $outroot = `ipp_datapath.pl $WORKDIR` 399 if ($WORKDIR == NULL) 400 $outroot = `pwd` 401 else 402 $outroot = `ipp_datapath.pl $WORKDIR` 403 end 394 404 $outroot = $outroot/$CAMERA.$DET_TYPE.$DET_ID 395 405 $logfile = $outroot/norm.$DET_ID.$ITERATION.log … … 403 413 # create example job options as a demonstration 404 414 if ($VERBOSE > 1) 405 echo command detrend_norm_exp.pl --det_id $DET_ID --iteration $ITERATION --camera $CAMERA --det_type $DET_TYPE $ARGS406 end 407 command detrend_norm_exp.pl --det_id $DET_ID --iteration $ITERATION --camera $CAMERA --det_type $DET_TYPE $ARGS415 echo command detrend_norm_exp.pl --det_id $DET_ID --iteration $ITERATION --camera $CAMERA --det_type $DET_TYPE --workdir $outroot $ARGS 416 end 417 command detrend_norm_exp.pl --det_id $DET_ID --iteration $ITERATION --camera $CAMERA --det_type $DET_TYPE --workdir $outroot $ARGS 408 418 end 409 419 -
trunk/ippTasks/detrend.process.pro
r12361 r12368 154 154 155 155 ## output log filename 156 $outroot = `ipp_datapath.pl $WORKDIR` 156 if ($WORKDIR == NULL) 157 $outroot = `pwd` 158 else 159 $outroot = `ipp_datapath.pl $WORKDIR` 160 end 157 161 $outroot = $outroot/$EXP_TAG 158 162 $logfile = $outroot/detproc.$DET_ID.$CLASS_ID.log … … 166 170 # create example job options as a demonstration 167 171 if ($VERBOSE > 1) 168 echo command detrend_process_imfile.pl --det_id $DET_ID --det_type $DET_TYPE --exp_tag $EXP_TAG --class_id $CLASS_ID --input_uri $URI --camera $CAMERA $ARGS169 end 170 command detrend_process_imfile.pl --det_id $DET_ID --det_type $DET_TYPE --exp_tag $EXP_TAG --class_id $CLASS_ID --input_uri $URI --camera $CAMERA $ARGS172 echo command detrend_process_imfile.pl --det_id $DET_ID --det_type $DET_TYPE --exp_tag $EXP_TAG --class_id $CLASS_ID --input_uri $URI --camera $CAMERA --workdir $outroot $ARGS 173 end 174 command detrend_process_imfile.pl --det_id $DET_ID --det_type $DET_TYPE --exp_tag $EXP_TAG --class_id $CLASS_ID --input_uri $URI --camera $CAMERA --workdir $outroot $ARGS 171 175 end 172 176 … … 267 271 268 272 # XXX push this into the filerules? 269 $outroot = `ipp_datapath.pl $WORKDIR` 273 if ($WORKDIR == NULL) 274 $outroot = `pwd` 275 else 276 $outroot = `ipp_datapath.pl $WORKDIR` 277 end 270 278 $outroot = $outroot/$EXP_TAG 271 279 $logfile = $outroot/detproc.$DET_ID.$ITERATION.log … … 279 287 # create example job options as a demonstration 280 288 if ($VERBOSE > 1) 281 echo command detrend_process_exp.pl --det_id $DET_ID --exp_tag $EXP_TAG --camera $CAMERA $ARGS282 end 283 command detrend_process_exp.pl --det_id $DET_ID --exp_tag $EXP_TAG --camera $CAMERA $ARGS289 echo command detrend_process_exp.pl --det_id $DET_ID --exp_tag $EXP_TAG --camera $CAMERA --workdir $outroot $ARGS 290 end 291 command detrend_process_exp.pl --det_id $DET_ID --exp_tag $EXP_TAG --camera $CAMERA --workdir $outroot $ARGS 284 292 end 285 293 -
trunk/ippTasks/detrend.reject.pro
r12126 r12368 133 133 end 134 134 135 # I'd like to add CAMERA to the log file... 136 $outroot = `ipp_datapath.pl $WORKDIR` 135 if ($WORKDIR == NULL) 136 $outroot = `pwd` 137 else 138 $outroot = `ipp_datapath.pl $WORKDIR` 139 end 137 140 $outroot = $outroot/$CAMERA.$DET_TYPE.$DET_ID 138 141 $logfile = $outroot/reject.$DET_ID.$ITERATION.log … … 146 149 # create example job options as a demonstration 147 150 if ($VERBOSE > 1) 148 echo command detrend_reject_exp.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE --camera $CAMERA $ARGS151 echo command detrend_reject_exp.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE --camera $CAMERA --workdir $outroot $ARGS 149 152 end 150 command detrend_reject_exp.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE --camera $CAMERA $ARGS153 command detrend_reject_exp.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE --camera $CAMERA --workdir $outroot $ARGS 151 154 end 152 155 -
trunk/ippTasks/detrend.resid.pro
r12126 r12368 154 154 155 155 # XXX use ipp_filename.pl to lookup output file names 156 $outroot = `ipp_datapath.pl $WORKDIR` 156 if ($WORKDIR == NULL) 157 $outroot = `pwd` 158 else 159 $outroot = `ipp_datapath.pl $WORKDIR` 160 end 157 161 $outroot = $outroot/$EXP_TAG 158 162 $logfile = $outroot/detresid.$DET_ID.$ITERATION.$CLASS_ID.log … … 166 170 # create command 167 171 if ($VERBOSE > 1) 168 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 $ARGS169 end 170 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 $ARGS172 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 --workdir $outroot $ARGS 173 end 174 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 --workdir $outroot $ARGS 171 175 end 172 176 … … 268 272 269 273 # XXX use ipp_filename.pl to lookup output file names 270 $outroot = `ipp_datapath.pl $WORKDIR` 274 if ($WORKDIR == NULL) 275 $outroot = `pwd` 276 else 277 $outroot = `ipp_datapath.pl $WORKDIR` 278 end 271 279 $outroot = $outroot/$EXP_TAG 272 280 $logfile = $outroot/detresid.$DET_ID.$ITERATION.log … … 280 288 # create example job options as a demonstration 281 289 if ($VERBOSE > 1) 282 echo command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA $ARGS283 end 284 command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA $ARGS290 echo command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA --workdir $outroot $ARGS 291 end 292 command detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA --workdir $outroot $ARGS 285 293 end 286 294 -
trunk/ippTasks/detrend.stack.pro
r12126 r12368 134 134 end 135 135 136 # XXX add $WORKDIR/$LOG_DIR 137 # XXX use ipp_filename.pl to lookup output file names 138 $outroot = `ipp_datapath.pl $WORKDIR` 136 if ($WORKDIR == NULL) 137 $outroot = `pwd` 138 else 139 $outroot = `ipp_datapath.pl $WORKDIR` 140 end 139 141 $outroot = $outroot/$CAMERA.$DET_TYPE.$DET_ID 140 142 $logfile = $outroot/detstack.$DET_ID.$ITERATION.$CLASS_ID.log … … 148 150 # create the command line 149 151 if ($VERBOSE > 1) 150 echo command detrend_stack.pl --det_id $DET_ID --iteration $ITERATION --class_id $CLASS_ID --det_type $DET_TYPE --camera $CAMERA $ARGS152 echo command detrend_stack.pl --det_id $DET_ID --iteration $ITERATION --class_id $CLASS_ID --det_type $DET_TYPE --camera $CAMERA --workdir $outroot $ARGS 151 153 end 152 command detrend_stack.pl --det_id $DET_ID --iteration $ITERATION --class_id $CLASS_ID --det_type $DET_TYPE --camera $CAMERA $ARGS154 command detrend_stack.pl --det_id $DET_ID --iteration $ITERATION --class_id $CLASS_ID --det_type $DET_TYPE --camera $CAMERA --workdir $outroot $ARGS 153 155 end 154 156 -
trunk/ippTasks/diff.pro
r12113 r12368 141 141 142 142 ## generate output log based on filerule 143 $outroot = `ipp_datapath.pl $WORKDIR` 143 if ($WORKDIR == NULL) 144 $outroot = `pwd` 145 else 146 $outroot = `ipp_datapath.pl $WORKDIR` 147 end 144 148 $outroot = $outroot/diff$DIFF_ID 145 149 $logfile = $outroot/skycell.log … … 153 157 # create the command line 154 158 if ($VERBOSE > 1) 155 echo command diff_skycell.pl --diff_id $DIFF_ID --workdir $ WORKDIR$ARGS159 echo command diff_skycell.pl --diff_id $DIFF_ID --workdir $outroot $ARGS 156 160 end 157 command diff_skycell.pl --diff_id $DIFF_ID --workdir $ WORKDIR$ARGS161 command diff_skycell.pl --diff_id $DIFF_ID --workdir $outroot $ARGS 158 162 end 159 163 -
trunk/ippTasks/stack.pro
r12116 r12368 141 141 142 142 ## generate output log based on filerule 143 $outroot = `ipp_datapath.pl $WORKDIR` 143 if ($WORKDIR == NULL) 144 $outroot = `pwd` 145 else 146 $outroot = `ipp_datapath.pl $WORKDIR` 147 end 144 148 $outroot = $outroot/stack$STACK_ID 145 149 $logfile = $outroot/skycell.log … … 153 157 # create the command line 154 158 if ($VERBOSE > 1) 155 echo command stack_skycell.pl --stack_id $STACK_ID --workdir $ WORKDIR$ARGS159 echo command stack_skycell.pl --stack_id $STACK_ID --workdir $outroot $ARGS 156 160 end 157 command stack_skycell.pl --stack_id $STACK_ID --workdir $ WORKDIR$ARGS161 command stack_skycell.pl --stack_id $STACK_ID --workdir $outroot $ARGS 158 162 end 159 163 -
trunk/ippTasks/warp.pro
r12109 r12368 158 158 159 159 ## generate output log based on filerule 160 $outroot = `ipp_datapath.pl $WORKDIR` 160 if ($WORKDIR == NULL) 161 $outroot = `pwd` 162 else 163 $outroot = `ipp_datapath.pl $WORKDIR` 164 end 161 165 $outroot = $outroot/warp$WARP_ID 162 166 $logfile = $outroot/overlap.log … … 170 174 # create the command line 171 175 if ($VERBOSE > 1) 172 echo command warp_overlap.pl --warp_id $WARP_ID --camera $CAMERA --workdir $ WORKDIR$ARGS173 end 174 command warp_overlap.pl --warp_id $WARP_ID --camera $CAMERA --workdir $ WORKDIR$ARGS176 echo command warp_overlap.pl --warp_id $WARP_ID --camera $CAMERA --workdir $outroot $ARGS 177 end 178 command warp_overlap.pl --warp_id $WARP_ID --camera $CAMERA --workdir $outroot $ARGS 175 179 end 176 180 … … 272 276 273 277 ## generate output log based on filerule 274 $outroot = `ipp_datapath.pl $WORKDIR` 278 if ($WORKDIR == NULL) 279 $outroot = `pwd` 280 else 281 $outroot = `ipp_datapath.pl $WORKDIR` 282 end 275 283 $outroot = $outroot/warp$WARP_ID 276 284 $logfile = $outroot/skycell.log … … 284 292 # create the command line 285 293 if ($VERBOSE > 1) 286 echo command warp_skycell.pl --warp_id $WARP_ID --skycell_id $SKYCELL_ID --tess_id $TESS_ID --camera $CAMERA --workdir $ WORKDIR$ARGS287 end 288 command warp_skycell.pl --warp_id $WARP_ID --skycell_id $SKYCELL_ID --tess_id $TESS_ID --camera $CAMERA --workdir $ WORKDIR$ARGS294 echo command warp_skycell.pl --warp_id $WARP_ID --skycell_id $SKYCELL_ID --tess_id $TESS_ID --camera $CAMERA --workdir $outroot $ARGS 295 end 296 command warp_skycell.pl --warp_id $WARP_ID --skycell_id $SKYCELL_ID --tess_id $TESS_ID --camera $CAMERA --workdir $outroot $ARGS 289 297 end 290 298
Note:
See TracChangeset
for help on using the changeset viewer.
