Changeset 30757
- Timestamp:
- Feb 24, 2011, 2:06:09 PM (15 years ago)
- File:
-
- 1 edited
-
tags/ipp-20110218/ippTasks/destreak.pro (modified) (2 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20110218/ippTasks/destreak.pro
- Property svn:mergeinfo set to
r30669 r30757 204 204 book getword magicToDS $pageName dbname -var DBNAME 205 205 206 sprintf logfile "%s/%s.mds.%s.%s.%s.log" $OUTROOT $EXP_ID $MAGIC_DS_ID $STAGE_ID $COMPONENT207 206 208 207 substr $COMPONENT 0 3 COMP_HEAD 209 208 if ("$COMP_HEAD" == "sky") 210 209 set.host.for.skycell $COMPONENT 210 set.workdir.by.skycell $COMPONENT $OUTROOT $default_host WORKDIR 211 211 else 212 212 # assume component is a class_id, if not we will default to anyhost 213 213 set.host.for.camera $CAMERA $COMPONENT 214 end 214 set.workdir.by.camera $CAMERA $COMPONENT $OUTROOT $default_host WORKDIR 215 end 216 217 sprintf logfile "%s/%s.mds.%s.%s.%s.log" $WORKDIR $EXP_ID $MAGIC_DS_ID $STAGE_ID $COMPONENT 215 218 216 219 # TODO: do not add recoveryroot or replace if they are null or zero 217 220 218 $run = magic_destreak.pl --magic_ds_id $MAGIC_DS_ID --camera $CAMERA --exp_id $EXP_ID --streaks_path_base $STREAKS_PATH_BASE --inv_streaks_path_base $INV_STREAKS_PATH_BASE --streaks $STREAKS --inv_streaks $INV_STREAKS --stage $STAGE --stage_id $STAGE_ID --component $COMPONENT --uri $URI --path_base $PATH_BASE --cam_path_base $CAM_PATH_BASE --cam_reduction $CAM_REDUCTION --outroot $ OUTROOT--logfile $logfile --recoveryroot $RECROOT --replace $REPLACE --magicked $MAGICKED --run-state $RUN_STATE221 $run = magic_destreak.pl --magic_ds_id $MAGIC_DS_ID --camera $CAMERA --exp_id $EXP_ID --streaks_path_base $STREAKS_PATH_BASE --inv_streaks_path_base $INV_STREAKS_PATH_BASE --streaks $STREAKS --inv_streaks $INV_STREAKS --stage $STAGE --stage_id $STAGE_ID --component $COMPONENT --uri $URI --path_base $PATH_BASE --cam_path_base $CAM_PATH_BASE --cam_reduction $CAM_REDUCTION --outroot $WORKDIR --logfile $logfile --recoveryroot $RECROOT --replace $REPLACE --magicked $MAGICKED --run-state $RUN_STATE 219 222 220 223 add_standard_args run … … 407 410 book getword magicDSToRevert $pageName dbname -var DBNAME 408 411 409 sprintf logfile "%s/%s.mds.revert.%s.%s.%s.log" $OUTROOT $EXP_ID $MAGIC_DS_ID $STAGE_ID $COMPONENT410 411 412 substr $COMPONENT 0 3 COMP_HEAD 412 413 if ("$COMP_HEAD" == "sky") 413 414 set.host.for.skycell $COMPONENT 415 set.workdir.by.skycell $COMPONENT $OUTROOT $default_host WORKDIR 414 416 else 415 417 # assume component is a class_id, if not we will default to anyhost 416 418 set.host.for.camera $CAMERA $COMPONENT 417 end 418 419 $run = magic_destreak_revert.pl --magic_ds_id $MAGIC_DS_ID --camera $CAMERA --stage $STAGE --stage_id $STAGE_ID --component $COMPONENT --path_base $PATH_BASE --cam_path_base $CAM_PATH_BASE --cam_reduction $CAM_REDUCTION --outroot $OUTROOT --logfile $logfile --replace $REPLACE --bothways $BOTHWAYS --magicked $MAGICKED --run-state $RUN_STATE --recovery_path_base $RECOVERY_PATH_BASE 419 set.workdir.by.camera $CAMERA $COMPONENT $OUTROOT $default_host WORKDIR 420 end 421 sprintf logfile "%s/%s.mds.revert.%s.%s.%s.log" $WORKDIR $EXP_ID $MAGIC_DS_ID $STAGE_ID $COMPONENT 422 423 $run = magic_destreak_revert.pl --magic_ds_id $MAGIC_DS_ID --camera $CAMERA --stage $STAGE --stage_id $STAGE_ID --component $COMPONENT --path_base $PATH_BASE --cam_path_base $CAM_PATH_BASE --cam_reduction $CAM_REDUCTION --outroot $WORKDIR --logfile $logfile --replace $REPLACE --bothways $BOTHWAYS --magicked $MAGICKED --run-state $RUN_STATE --recovery_path_base $RECOVERY_PATH_BASE 420 424 421 425 add_standard_args run
Note:
See TracChangeset
for help on using the changeset viewer.
