Changeset 18607 for trunk/ippTasks/camera.pro
- Timestamp:
- Jul 17, 2008, 3:07:11 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/camera.pro (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/camera.pro
r16318 r18607 5 5 # test for required global variables 6 6 check.globals 7 8 $LOGSUBDIR = $LOGDIR/camera9 exec mkdir -p $LOGSUBDIR10 7 11 8 book init camPendingExp … … 51 48 npending 1 52 49 53 stdout $LOGSUBDIR/camera.exp.log54 stderr $LOG SUBDIR/camera.exp.log50 stdout NULL 51 stderr $LOGDIR/camera.exp.log 55 52 56 53 task.exec … … 119 116 set.host.for.camera $CAMERA FPA 120 117 121 # raw workdir examples: 118 # set the WORKDIR variable 119 set.workdir.by.camera $CAMERA FPA $WORKDIR_TEMPLATE $default_host WORKDIR 120 121 # notes on how this works: 122 # -- raw workdir examples: 122 123 # file://data/@HOST@.0/gpc1/20080130 123 124 # neb:///@HOST@-vol0/gpc1/20080130 (need to supply volname?, or are we re-defining this each time?) 124 set.workdir.by.camera $CAMERA FPA $WORKDIR_TEMPLATE $default_host WORKDIR 125 # out workdir examples: 125 # -- out workdir examples: 126 126 # file://data/ipp004.0/gpc1/20080130 127 127 # neb:///ipp004-vol0/gpc1/20080130 … … 130 130 sprintf outroot "%s/%s/%s.cm.%s" $WORKDIR $EXP_TAG $EXP_TAG $CAM_ID 131 131 132 ## generate output log based on filerule (convert the URI to a PATH) 133 $logfile = `ipp_filename.pl --filerule LOG.EXP --camera $CAMERA --class_id NONE --basename $outroot` 134 if ("$logfile" == "") 135 echo "WARNING: logfile not defined in camera.pro:146" 136 break 137 end 132 stdout $LOGDIR/camera.exp.log 133 stderr $LOGDIR/camera.exp.log 138 134 139 stdout $logfile 140 stderr $logfile 141 142 $run = camera_exp.pl --exp_tag $EXP_TAG --cam_id $CAM_ID --camera $CAMERA --outroot $outroot 135 $run = camera_exp.pl --exp_tag $EXP_TAG --cam_id $CAM_ID --camera $CAMERA --outroot $outroot --redirect-output 143 136 if ("$REDUCTION" != "NULL") 144 137 $run = $run --reduction $REDUCTION
Note:
See TracChangeset
for help on using the changeset viewer.
