Changeset 16174
- Timestamp:
- Jan 21, 2008, 8:14:27 AM (18 years ago)
- Location:
- trunk/ippTasks
- Files:
-
- 2 edited
-
register.pro (modified) (2 diffs)
-
summit.copy.pro (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/register.pro
r15781 r16174 141 141 book getword regPendingImfile $pageName tmp_class_id -var TMP_CLASS_ID 142 142 book getword regPendingImfile $pageName uri -var URI 143 book getword regPendingImfile $pageName workdir -var WORKDIR 143 book getword regPendingImfile $pageName workdir -var WORKDIR_TEMPLATE 144 144 book getword regPendingImfile $pageName dbname -var DBNAME 145 145 … … 148 148 149 149 # specify choice of remote host 150 if ($parallel) 151 host anyhost 152 else 153 host local 154 end 150 set.host.for.camera $camera $class_id 151 152 # we need to set the workdir based on 1) nebulous or not? 2) chip/host relationship 153 # this function uses workdir_template, workdir_default, volume_template, volume_default, 154 # it sets workdir and volume 155 ### this function needs to be improved: it is using fixed input and output var names 156 ### do we want these types of small outputs to go to a common filesystem? 157 set.workdir.by.camera $CAMERA $TMP_CLASS_ID $WORKDIR_TEMPLATE 155 158 156 159 ## generate output log based on filerule XXX put this in a function? -
trunk/ippTasks/summit.copy.pro
r16173 r16174 6 6 # pztool -adddatastore -inst gpc1 -telescope ps1 -uri http://conductor/ds/gpc1/index.txt 7 7 # pztool -adddatastore -inst allskycam -telescope ps1 -uri http://otis1.ifa.hawaii.edu/ds/allskycam/index.txt 8 9 # NOTE: workdir / volume mangling and nebulous. these tasks copy the 10 # imfiles from the summit, placing the output files in a directory 11 # which is based on the chip/host relationship. If nebulous is being 12 # used, the volume name is set based on the host; if nebulous is not 13 # being used, the workdir is set to include the host name. The copy 14 # operation is targetted to the same host by pcontrol. The value of 15 # workdir is set to be a template into which the appropriate value of 16 # @HOST@ may be substituted in later scripts. 8 17 9 18 # the templates are used if we have a class_id/host relationship; if none is found, the default values are used … … 282 291 # XXXX this filename needs to use nebulous names 283 292 $FILENAME = $workdir/$CAMERA/$YEAR/$MONTH/$DAY/$EXP_NAME/$EXP_NAME.$CLASS_ID.fits 284 $FILEROOT = $workdir /$CAMERA/$YEAR/$MONTH/$DAY/$EXP_NAME/$EXP_NAME.$CLASS_ID293 $FILEROOT = $workdir_template/$CAMERA/$YEAR/$MONTH/$DAY 285 294 286 295 book setword pzPendingImfile $pageName filename $FILENAME
Note:
See TracChangeset
for help on using the changeset viewer.
