Changeset 15170
- Timestamp:
- Oct 2, 2007, 5:20:01 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/summit.copy.pro (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/summit.copy.pro
r15063 r15170 6 6 #$telescope = zl 7 7 #$workdir = /data/ipp004.0/allskycam 8 $uri = http://conductor/ds/gpc1/index.txt 9 $camera = gpc1 10 $telescope = ps1 11 $workdir = /data/ipp006.0/gpc1 8 #$workdir = /data/ipp006.0/gpc1 9 $workdir = /export/ipp010.0/ 12 10 13 11 $VERBOSE = 1 … … 26 24 27 25 # run pzgetexp periodically to populate pzPendingExp in the database (no I/O) 28 task pzgetexp 29 command pzgetexp -uri $uri -inst $camera -telescope $telescope 30 host local 31 26 task pzgetexp.gpc1 32 27 # timeout shorter than exec so jobs do not build up 33 28 periods -exec 15 34 29 periods -poll 1 35 30 periods -timeout 15 31 host local 32 33 task.exec 34 $uri = http://conductor/ds/gpc1/index.txt 35 $camera = gpc1 36 $telescope = ps1 37 38 $run = pzgetexp -uri $uri -inst $camera -telescope $telescope 39 # echo command $run 40 command $run 41 end 42 43 task.exit 0 44 end 45 46 task.exit default 47 showcommand failure 48 end 49 task.exit timeout 50 showcommand timeout 51 end 52 end 53 54 task pzgetexp.allskycam 55 # timeout shorter than exec so jobs do not build up 56 periods -exec 15 57 periods -poll 1 58 periods -timeout 15 59 host local 60 61 task.exec 62 $uri = http://otis1.ifa.hawaii.edu/ds/allskycam/index.txt 63 $camera = allskycam 64 $telescope = ps1 65 $run = pzgetexp -uri $uri -inst $camera -telescope $telescope 66 # echo command $run 67 command $run 68 end 69 70 71 task.exit 0 72 end 73 74 task.exit default 75 showcommand failure 76 end 77 task.exit timeout 78 showcommand timeout 79 end 80 end 81 82 task pzgetexp.isp 83 # timeout shorter than exec so jobs do not build up 84 periods -exec 15 85 periods -poll 1 86 periods -timeout 15 87 host local 88 89 task.exec 90 $uri = http://otis1.ifa.hawaii.edu/ds/skyprobe/index.txt 91 $camera = isp 92 $telescope = ps1 93 $run = pzgetexp -uri $uri -inst $camera -telescope $telescope 94 # echo command $run 95 command $run 96 end 97 36 98 37 99 task.exit 0 … … 82 144 periods -timeout 15 83 145 host local 84 npending 5146 npending 3 85 147 86 148 task.exec … … 142 204 # build a book of imfiles/files that need to be downloaded 143 205 task pztool.pendingimfile 144 command pztool -pendingimfile -limit 25206 command pztool -pendingimfile -limit 120 145 207 host local 146 208 … … 207 269 book getword pzPendingImfile $pageName md5sum -var MD5SUM 208 270 book getword pzPendingImfile $pageName dateobs -var DATEOBS 271 book getword pzPendingImfile $pageName camera -var $CAMERA 272 273 # 2007-08-30T05:09:59Z 274 substr $DATEOBS 0 4 YEAR 275 substr $DATEOBS 5 2 MONTH 276 substr $DATEOBS 8 2 DAY 209 277 210 278 # figure out filename 211 $FILENAME = $workdir/$ EXP_NAME.$CLASS_ID.fits212 213 book setword pzPendingImfile $pageName filename FILENAME279 $FILENAME = $workdir/$CAMERA/$YEAR/$MONTH/$DAY/$EXP_NAME/$EXP_NAME.$CLASS_ID.fits 280 281 book setword pzPendingImfile $pageName filename $FILENAME 214 282 215 283 # store the pageName with this job
Note:
See TracChangeset
for help on using the changeset viewer.
