Changeset 12697
- Timestamp:
- Mar 30, 2007, 1:09:39 PM (19 years ago)
- Location:
- trunk/ippTasks
- Files:
-
- 12 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)
-
pantasks.pro (modified) (1 diff)
-
register.pro (modified) (4 diffs)
-
stack.pro (modified) (2 diffs)
-
warp.pro (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/camera.pro
r12371 r12697 122 122 book getword camPendingExp $pageName workdir -var WORKDIR 123 123 book getword camPendingExp $pageName dbname -var DBNAME 124 set_standard_args125 124 126 125 # specify choice of remote host:(need to choose based on chips) … … 143 142 exec mkdir -p $outroot 144 143 145 $run = camera_exp.pl --exp_id $EXP_ID --cam_id $CAM_ID --camera $CAMERA $ARGS144 $run = camera_exp.pl --exp_id $EXP_ID --cam_id $CAM_ID --camera $CAMERA 146 145 if ("$WORKDIR" != "NULL") 147 146 $run = $run --workdir $WORKDIR 148 147 end 148 add_standard_args run 149 149 150 150 # save the pageName for future reference below -
trunk/ippTasks/chip.pro
r12371 r12697 124 124 book getword chipPendingImfile $pageName uri -var URI 125 125 book getword chipPendingImfile $pageName dbname -var DBNAME 126 set_standard_args127 126 128 127 # specify choice of remote host … … 146 145 exec mkdir -p $outroot 147 146 148 $run = chip_imfile.pl --exp_id $EXP_ID --chip_id $CHIP_ID --class_id $CLASS_ID --uri $URI --camera $CAMERA $ARGS147 $run = chip_imfile.pl --exp_id $EXP_ID --chip_id $CHIP_ID --class_id $CLASS_ID --uri $URI --camera $CAMERA 149 148 if ("$WORKDIR" != "NULL") 150 149 $run = $run --workdir $WORKDIR 151 150 end 151 add_standard_args run 152 152 153 153 # save the pageName for future reference below -
trunk/ippTasks/detrend.norm.pro
r12371 r12697 155 155 book getword detPendingNormStatImfile $pageName workdir -var WORKDIR 156 156 book getword detPendingNormStatImfile $pageName dbname -var DBNAME 157 set_standard_args158 157 159 158 # specify choice of remote host: … … 175 174 exec mkdir -p $outroot 176 175 177 $run = detrend_norm_calc.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE $ARGS176 $run = detrend_norm_calc.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE 178 177 if ("$WORKDIR" != "NULL") 179 178 $run = $run --workdir $WORKDIR 180 179 end 180 add_standard_args run 181 181 182 182 # save the pageName for future reference below … … 277 277 book getword detPendingNormImfile $pageName workdir -var WORKDIR 278 278 book getword detPendingNormImfile $pageName dbname -var DBNAME 279 set_standard_args280 279 281 280 # specify choice of remote host: … … 298 297 exec mkdir -p $outroot 299 298 300 $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 $ARGS299 $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 301 300 if ("$WORKDIR" != "NULL") 302 301 $run = $run --workdir $WORKDIR 303 302 end 303 add_standard_args run 304 304 305 305 # save the pageName for future reference below … … 397 397 book getword detPendingNormExp $pageName workdir -var WORKDIR 398 398 book getword detPendingNormExp $pageName dbname -var DBNAME 399 set_standard_args400 399 401 400 # specify choice of remote host: … … 418 417 exec mkdir -p $outroot 419 418 420 $run = detrend_norm_exp.pl --det_id $DET_ID --iteration $ITERATION --camera $CAMERA --det_type $DET_TYPE $ARGS419 $run = detrend_norm_exp.pl --det_id $DET_ID --iteration $ITERATION --camera $CAMERA --det_type $DET_TYPE 421 420 if ("$WORKDIR" != "NULL") 422 421 $run = $run --workdir $WORKDIR 423 422 end 423 add_standard_args run 424 424 425 425 # save the pageName for future reference below -
trunk/ippTasks/detrend.process.pro
r12670 r12697 144 144 book getword detPendingProcessedImfile $pageName workdir -var WORKDIR 145 145 book getword detPendingProcessedImfile $pageName dbname -var DBNAME 146 set_standard_args147 146 148 147 # specify choice of remote host: … … 165 164 exec mkdir -p $outroot 166 165 167 $run = 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 $ARGS166 $run = 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 168 167 if ("$WORKDIR" != "NULL") 169 168 $run = $run --workdir $WORKDIR 170 169 end 170 add_standard_args run 171 171 172 172 # save the pageName for future reference below … … 266 266 book getword detPendingProcessedExp $pageName workdir -var WORKDIR 267 267 book getword detPendingProcessedExp $pageName dbname -var DBNAME 268 set_standard_args269 268 270 269 # specify choice of remote host: … … 287 286 exec mkdir -p $outroot 288 287 289 $run = detrend_process_exp.pl --det_id $DET_ID --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA $ARGS288 $run = detrend_process_exp.pl --det_id $DET_ID --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA 290 289 if ("$WORKDIR" != "NULL") 291 290 $run = $run --workdir $WORKDIR 292 291 end 292 add_standard_args run 293 293 294 294 # save the pageName for future reference below -
trunk/ippTasks/detrend.reject.pro
r12371 r12697 124 124 book getword detRejectExp $pageName workdir -var WORKDIR 125 125 book getword detRejectExp $pageName dbname -var DBNAME 126 set_standard_args127 126 128 127 # specify choice of remote host: … … 144 143 exec mkdir -p $outroot 145 144 146 $run = detrend_reject_exp.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE --camera $CAMERA $ARGS145 $run = detrend_reject_exp.pl --det_id $DET_ID --iteration $ITERATION --det_type $DET_TYPE --camera $CAMERA 147 146 if ("$WORKDIR" != "NULL") 148 147 $run = $run --workdir $WORKDIR 149 148 end 149 add_standard_args run 150 150 151 151 # save the pageName for future reference below -
trunk/ippTasks/detrend.resid.pro
r12371 r12697 144 144 book getword detPendingResidImfile $pageName workdir -var WORKDIR 145 145 book getword detPendingResidImfile $pageName dbname -var DBNAME 146 set_standard_args147 146 148 147 # specify choice of remote host: … … 165 164 exec mkdir -p $outroot 166 165 167 $run = 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 $ARGS166 $run = 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 168 167 if ("$WORKDIR" != "NULL") 169 168 $run = $run --workdir $WORKDIR 170 169 end 170 add_standard_args run 171 171 172 172 # save the pageName for future reference below … … 267 267 book getword detPendingResidExp $pageName workdir -var WORKDIR 268 268 book getword detPendingResidExp $pageName dbname -var DBNAME 269 set_standard_args270 269 271 270 # specify choice of remote host: … … 288 287 exec mkdir -p $outroot 289 288 290 $run = detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA $ARGS289 $run = detrend_reject_imfile.pl --det_id $DET_ID --iteration $ITERATION --exp_tag $EXP_TAG --det_type $DET_TYPE --camera $CAMERA 291 290 if ("$WORKDIR" != "NULL") 292 291 $run = $run --workdir $WORKDIR 293 292 end 293 add_standard_args run 294 294 295 295 # save the pageName for future reference below -
trunk/ippTasks/detrend.stack.pro
r12371 r12697 125 125 book getword detPendingStackedImfile $pageName workdir -var WORKDIR 126 126 book getword detPendingStackedImfile $pageName dbname -var DBNAME 127 set_standard_args128 127 129 128 # specify choice of remote host: … … 148 147 options $pageName 149 148 150 $run = detrend_stack.pl --det_id $DET_ID --iteration $ITERATION --class_id $CLASS_ID --det_type $DET_TYPE --camera $CAMERA $ARGS149 $run = detrend_stack.pl --det_id $DET_ID --iteration $ITERATION --class_id $CLASS_ID --det_type $DET_TYPE --camera $CAMERA 151 150 if ("$WORKDIR" != "NULL") 152 151 $run = $run --workdir $WORKDIR 153 152 end 153 add_standard_args run 154 154 155 155 # create the command line -
trunk/ippTasks/diff.pro
r12371 r12697 130 130 book getword diffSkyfile $pageName workdir -var WORKDIR 131 131 book getword diffSkyfile $pageName dbname -var DBNAME 132 set_standard_args133 132 134 133 # specify choice of remote host … … 152 151 exec mkdir -p $outroot 153 152 154 $run = diff_skycell.pl --diff_id $DIFF_ID $ARGS153 $run = diff_skycell.pl --diff_id $DIFF_ID 155 154 if ("$WORKDIR" != "NULL") 156 155 $run = $run --workdir $WORKDIR 157 156 end 157 add_standard_args run 158 158 159 159 # save the pageName for future reference below -
trunk/ippTasks/pantasks.pro
r12241 r12697 155 155 end 156 156 157 macro set_standard_args 158 # XXX be careful: $ARGS cannot be resolved as "" 159 # XXX currently, sprintf is the only good way of creating 160 # an empty variable 161 if ($?WORKDIR == 0) 162 echo error in pantasks: WORKDIR not set 157 macro add_standard_args 158 if ($0 != 2) 159 echo "Must pass in the command of interest, and this function will supplement" 163 160 stop 164 161 end 165 if ($?DBNAME == 0) 166 echo error in pantasks: DBNAME not set 167 stop 168 end 169 if ("$DBNAME" != "DEFAULT") 170 $ARGS = --workdir $WORKDIR --dbname $DBNAME 171 else 172 $ARGS = --workdir $WORKDIR 162 163 local command 164 $command = $$1 165 166 if ($?DBNAME && "$DBNAME" != "DEFAULT") 167 $command = $command --dbname $DBNAME 173 168 end 174 169 if ($?NOOP != 0) 175 $ARGS = $ARGS --no-op 176 end 177 end 170 $command = $command --no-op 171 end 172 $$1 = $command 173 end 174 178 175 179 176 macro process_exit -
trunk/ippTasks/register.pro
r12361 r12697 142 142 book getword regPendingImfile $pageName workdir -var WORKDIR 143 143 book getword regPendingImfile $pageName dbname -var DBNAME 144 set_standard_args145 144 146 145 # specify choice of remote host … … 162 161 options $pageName 163 162 163 $run = register_imfile.pl --exp_tag $EXP_TAG --class_id $CLASS_ID --uri $URI 164 add_standard_args run 165 164 166 # create the command line 165 167 if ($VERBOSE > 1) 166 echo command register_imfile.pl --exp_tag $EXP_TAG --class_id $CLASS_ID --uri $URI $ARGS167 end 168 command register_imfile.pl --exp_tag $EXP_TAG --class_id $CLASS_ID --uri $URI $ARGS168 echo command $run 169 end 170 command $run 169 171 end 170 172 … … 247 249 book getword regPendingExp $pageName workdir -var WORKDIR 248 250 book getword regPendingExp $pageName dbname -var DBNAME 249 set_standard_args250 251 251 252 # specify choice of remote host:(need to choose based on chips) … … 267 268 options $pageName 268 269 270 $run = register_exp.pl --exp_tag $EXP_TAG 271 add_standard_args run 272 269 273 # create the command line 270 274 if ($VERBOSE > 1) 271 echo command register_exp.pl --exp_tag $EXP_TAG $ARGS272 end 273 command register_exp.pl --exp_tag $EXP_TAG $ARGS275 echo command $run 276 end 277 command $run 274 278 end 275 279 -
trunk/ippTasks/stack.pro
r12371 r12697 130 130 book getword stackSumSkyfile $pageName workdir -var WORKDIR 131 131 book getword stackSumSkyfile $pageName dbname -var DBNAME 132 set_standard_args133 132 134 133 # specify choice of remote host … … 152 151 exec mkdir -p $outroot 153 152 154 $run = stack_skycell.pl --stack_id $STACK_ID $ARGS153 $run = stack_skycell.pl --stack_id $STACK_ID 155 154 if ("$WORKDIR" != "NULL") 156 155 $run = $run --workdir $WORKDIR 157 156 end 157 add_standard_args run 158 158 159 159 # save the pageName for future reference below -
trunk/ippTasks/warp.pro
r12371 r12697 147 147 book getword warpInputExp $pageName workdir -var WORKDIR 148 148 book getword warpInputExp $pageName dbname -var DBNAME 149 set_standard_args150 149 151 150 # specify choice of remote host … … 169 168 exec mkdir -p $outroot 170 169 171 $run = warp_overlap.pl --warp_id $WARP_ID --camera $CAMERA $ARGS170 $run = warp_overlap.pl --warp_id $WARP_ID --camera $CAMERA 172 171 if ("$WORKDIR" != "NULL") 173 172 $run = $run --workdir $WORKDIR 174 173 end 174 add_standard_args run 175 175 176 176 # save the pageName for future reference below … … 270 270 book getword warpPendingSkyCell $pageName workdir -var WORKDIR 271 271 book getword warpPendingSkyCell $pageName dbname -var DBNAME 272 set_standard_args273 272 274 273 # specify choice of remote host … … 292 291 exec mkdir -p $outroot 293 292 294 $run = warp_skycell.pl --warp_id $WARP_ID --skycell_id $SKYCELL_ID --tess_id $TESS_ID --camera $CAMERA $ARGS293 $run = warp_skycell.pl --warp_id $WARP_ID --skycell_id $SKYCELL_ID --tess_id $TESS_ID --camera $CAMERA 295 294 if ("$WORKDIR" != "NULL") 296 295 $run = $run --workdir $WORKDIR 297 296 end 297 add_standard_args run 298 298 299 299 # save the pageName for future reference below
Note:
See TracChangeset
for help on using the changeset viewer.
