Changeset 19545 for trunk/ippTasks/diff.pro
- Timestamp:
- Sep 12, 2008, 4:20:57 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/diff.pro (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/diff.pro
r19465 r19545 142 142 book getword diffSkyfile $pageName dbname -var DBNAME 143 143 144 ### XXX Instead of setting these by camera, need to set by skycell_id 145 ### XXX change these to use the --redirect scheme 146 # set.host.for.camera $CAMERA $DIFF_ID 147 # set.workdir.by.camera $CAMERA $DIFF_ID $WORKDIR_TEMPLATE $default_host WORKDIR 148 host anyhost 149 $WORKDIR = $WORKDIR_TEMPLATE 144 # set the host and workdir based on the skycell hash 145 set.host.for.skycell $SKYCELL_ID 146 set.workdir.by.skycell $SKYCELL_ID $WORKDIR_TEMPLATE $default_host WORKDIR 147 148 # XXX old code: 149 # host anyhost 150 # $WORKDIR = $WORKDIR_TEMPLATE 150 151 151 152 basename $TESS_DIR -var TESS_ID 152 153 sprintf outroot "%s/%s/%s/%s.%s.dif.%s" $WORKDIR $TESS_ID $SKYCELL_ID $TESS_ID $SKYCELL_ID $DIFF_ID 153 154 154 ## generate output log based on filerule (convert the URI to a PATH) 155 $logfile = `ipp_filename.pl --filerule LOG.EXP --camera $CAMERA --class_id $DIFF_ID --basename $outroot` 156 if ("$logfile" == "") 157 echo "WARNING: logfile not defined in diff.skycell.run" 158 break 159 end 160 161 stdout $logfile 162 stderr $logfile 163 dirname $logfile -var outpath 164 mkdir $outpath 165 166 $run = diff_skycell.pl --threads @MAX_THREADS@ --diff_id $DIFF_ID --outroot $outroot 155 stdout $LOGDIR/diff.skycell.log 156 stderr $LOGDIR/diff.skycell.log 157 158 $run = diff_skycell.pl --threads @MAX_THREADS@ --diff_id $DIFF_ID --outroot $outroot --redirect-output 167 159 add_standard_args run 168 160
Note:
See TracChangeset
for help on using the changeset viewer.
