Changeset 16298
- Timestamp:
- Feb 4, 2008, 2:18:44 PM (18 years ago)
- Location:
- trunk/ippTasks
- Files:
-
- 19 edited
-
calibration.pro (modified) (4 diffs)
-
camera.pro (modified) (3 diffs)
-
chip.pro (modified) (3 diffs)
-
detrend.correct.pro (modified) (5 diffs)
-
detrend.mkruns.pro (modified) (1 diff)
-
detrend.norm.pro (modified) (7 diffs)
-
detrend.process.pro (modified) (5 diffs)
-
detrend.reject.pro (modified) (3 diffs)
-
detrend.resid.pro (modified) (5 diffs)
-
detrend.stack.pro (modified) (3 diffs)
-
diff.pro (modified) (4 diffs)
-
flatcorr.pro (modified) (4 diffs)
-
magic.pro (modified) (4 diffs)
-
mkdetrend.pro (modified) (1 diff)
-
pantasks.pro (modified) (2 diffs)
-
register.pro (modified) (5 diffs)
-
stack.pro (modified) (4 diffs)
-
summit.copy.pro (modified) (5 diffs)
-
warp.pro (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/calibration.pro
r16275 r16298 1 ## calibration.pro : globals and support macros : -*- sh -*- 1 2 ## this file contains the tasks for running the calibration stage 2 3 ## these tasks use the book 'calBook' 3 4 4 if ($?network == 0) 5 $network = 1 6 end 7 if ($?parallel == 0) 8 $parallel = 0 9 end 10 if ($?VERBOSE == 0) 11 echo "VERBOSE not defined: load pantasks.pro first" 12 break 13 end 14 if ($?LOGDIR == 0) 15 echo "LOGDIR not defined: load pantasks.pro first" 16 break 17 end 5 # test for required global variables 6 check.globals 18 7 19 8 $LOGSUBDIR = $LOGDIR/calibration … … 113 102 host local 114 103 115 periods -poll $ loadpoll116 periods -exec $ loadexec104 periods -poll $LOADPOLL 105 periods -exec $LOADEXEC 117 106 periods -timeout 60 118 107 # trange Hourly@00:00 Hourly@00:10 … … 127 116 book npages calBook -var N 128 117 if ($N == 0) break 129 if ($ network== 0) break118 if ($NETWORK == 0) break 130 119 131 120 # look for new images in calBook … … 152 141 # specify choice of remote host 153 142 # set a specific DVO host here 154 if ($ parallel)143 if ($PARALLEL) 155 144 host anyhost 156 145 else -
trunk/ippTasks/camera.pro
r16195 r16298 1 ## this file contains the tasks for running the phase 3 stage 1 ## camera.pro : globals and support macros : -*- sh -*- 2 ## this file contains the tasks for running the camera analysis stage 2 3 ## these tasks use the book camPendingExp 3 4 4 if ($?network == 0) 5 $network = 1 6 end 7 if ($?parallel == 0) 8 $parallel = 0 9 end 10 if ($?VERBOSE == 0) 11 echo "VERBOSE not defined: load pantasks.pro first" 12 break 13 end 14 if ($?LOGDIR == 0) 15 echo "LOGDIR not defined: load pantasks.pro first" 16 break 17 end 5 # test for required global variables 6 check.globals 18 7 19 8 $LOGSUBDIR = $LOGDIR/camera … … 57 46 host local 58 47 59 periods -poll $ loadpoll60 periods -exec $ loadexec48 periods -poll $LOADPOLL 49 periods -exec $LOADEXEC 61 50 periods -timeout 30 62 51 npending 1 … … 112 101 book npages camPendingExp -var N 113 102 if ($N == 0) break 114 if ($ network== 0) break103 if ($NETWORK == 0) break 115 104 116 105 # look for new images in camPendingExp (pantaskState == INIT) -
trunk/ippTasks/chip.pro
r16208 r16298 1 ## chip.pro : globals and support macros : -*- sh -*- 1 2 ## this file contains the tasks for running the phase 0 stage 2 3 ## these tasks use the book chipPendingImfile 3 4 4 if ($?network == 0) 5 $network = 1 6 end 7 if ($?parallel == 0) 8 $parallel = 0 9 end 10 if ($?VERBOSE == 0) 11 echo "VERBOSE not defined: load pantasks.pro first" 12 break 13 end 14 if ($?LOGDIR == 0) 15 echo "LOGDIR not defined: load pantasks.pro first" 16 break 17 end 5 # test for required global variables 6 check.globals 18 7 19 8 $LOGSUBDIR = $LOGDIR/chip … … 57 46 host local 58 47 59 periods -poll $ loadpoll60 periods -exec $ loadexec48 periods -poll $LOADPOLL 49 periods -exec $LOADEXEC 61 50 periods -timeout 30 62 51 npending 1 … … 110 99 book npages chipPendingImfile -var N 111 100 if ($N == 0) break 112 if ($ network== 0) break101 if ($NETWORK == 0) break 113 102 114 103 # look for new images in chipPendingImfile (pantaskState == INIT) -
trunk/ippTasks/detrend.correct.pro
r16173 r16298 1 ## detrend.correct.pro : globals and support macros : -*- sh -*- 1 2 ## this file contains the tasks for running the detrend correction stage 2 3 ## these tasks use the books detPendingCorrectedImfile and detPendingCorrectedExp 3 4 4 if ($?network == 0) 5 $network = 1 6 end 7 if ($?parallel == 0) 8 $parallel = 0 9 end 10 if ($?VERBOSE == 0) 11 echo "VERBOSE not defined: load pantasks.pro first" 12 break 13 end 14 if ($?LOGDIR == 0) 15 echo "LOGDIR not defined: load pantasks.pro first" 16 break 17 end 5 # test for required global variables 6 check.globals 18 7 19 8 $LOGSUBDIR = $LOGDIR/detrend … … 76 65 host local 77 66 78 periods -poll $ loadpoll79 periods -exec $ loadexec67 periods -poll $LOADPOLL 68 periods -exec $LOADEXEC 80 69 periods -timeout 30 81 70 npending 1 … … 129 118 book npages detPendingCorrectedImfile -var N 130 119 if ($N == 0) break 131 if ($ network== 0) break120 if ($NETWORK == 0) break 132 121 133 122 # look for new images in detPendingCorrectedImfile … … 205 194 host local 206 195 207 periods -poll $ loadpoll208 periods -exec $ loadexec196 periods -poll $LOADPOLL 197 periods -exec $LOADEXEC 209 198 periods -timeout 30 210 199 npending 1 … … 258 247 book npages detPendingCorrectedExp -var N 259 248 if ($N == 0) break 260 if ($ network== 0) break249 if ($NETWORK == 0) break 261 250 262 251 # look for new exposures in detPendingCorrectedExp -
trunk/ippTasks/detrend.mkruns.pro
r11210 r16298 1 ## detrend.mkruns.pro : globals and support macros : -*- sh -*- 2 1 3 ## XXX this script needs to be updated to use books, not queues 2 4 ## XXX this script needs to be reconsidered... -
trunk/ippTasks/detrend.norm.pro
r16208 r16298 1 ## detrend.norm.pro : globals and support macros : -*- sh -*- 1 2 ## this file contains the tasks for running the detrend normalization stages 2 3 ## these tasks use the books detPendingNormStatImfile detPendingNormImfile detPendingNormExp 3 4 4 if ($?network == 0) 5 $network = 1 6 end 7 if ($?parallel == 0) 8 $parallel = 0 9 end 10 if ($?VERBOSE == 0) 11 echo "VERBOSE not defined: load pantasks.pro first" 12 break 13 end 14 if ($?LOGDIR == 0) 15 echo "LOGDIR not defined: load pantasks.pro first" 16 break 17 end 5 # test for required global variables 6 check.globals 18 7 19 8 $LOGSUBDIR = $LOGDIR/detrend … … 89 78 host local 90 79 91 periods -poll $ loadpoll92 periods -exec $ loadexec80 periods -poll $LOADPOLL 81 periods -exec $LOADEXEC 93 82 periods -timeout 30 94 83 npending 1 … … 142 131 book npages detPendingNormStatImfile -var N 143 132 if ($N == 0) break 144 if ($ network== 0) break133 if ($NETWORK == 0) break 145 134 146 135 # look for new images in detPendingNormStatImfile … … 205 194 host local 206 195 207 periods -poll $ loadpoll208 periods -exec $ loadexec196 periods -poll $LOADPOLL 197 periods -exec $LOADEXEC 209 198 periods -timeout 30 210 199 npending 1 … … 258 247 book npages detPendingNormImfile -var N 259 248 if ($N == 0) break 260 if ($ network== 0) break249 if ($NETWORK == 0) break 261 250 262 251 # look for new images in detPendingNormImfile … … 324 313 host local 325 314 326 periods -poll $ loadpoll327 periods -exec $ loadexec315 periods -poll $LOADPOLL 316 periods -exec $LOADEXEC 328 317 periods -timeout 30 329 318 npending 1 … … 377 366 book npages detPendingNormExp -var N 378 367 if ($N == 0) break 379 if ($ network== 0) break368 if ($NETWORK == 0) break 380 369 381 370 # look for new images in detPendingNormExp -
trunk/ippTasks/detrend.process.pro
r16208 r16298 1 ## detrend.process.pro : globals and support macros : -*- sh -*- 1 2 ## this file contains the tasks for running the detrend processing stage 2 3 ## these tasks use the books detPendingProcessedImfile and detPendingProcessedExp 3 4 4 if ($?network == 0) 5 $network = 1 6 end 7 if ($?parallel == 0) 8 $parallel = 0 9 end 10 if ($?VERBOSE == 0) 11 echo "VERBOSE not defined: load pantasks.pro first" 12 break 13 end 14 if ($?LOGDIR == 0) 15 echo "LOGDIR not defined: load pantasks.pro first" 16 break 17 end 5 # test for required global variables 6 check.globals 18 7 19 8 $LOGSUBDIR = $LOGDIR/detrend … … 76 65 host local 77 66 78 periods -poll $ loadpoll79 periods -exec $ loadexec67 periods -poll $LOADPOLL 68 periods -exec $LOADEXEC 80 69 periods -timeout 30 81 70 npending 1 … … 129 118 book npages detPendingProcessedImfile -var N 130 119 if ($N == 0) break 131 if ($ network== 0) break120 if ($NETWORK == 0) break 132 121 133 122 # look for new images in detPendingProcessedImfile … … 202 191 host local 203 192 204 periods -poll $ loadpoll205 periods -exec $ loadexec193 periods -poll $LOADPOLL 194 periods -exec $LOADEXEC 206 195 periods -timeout 30 207 196 npending 1 … … 255 244 book npages detPendingProcessedExp -var N 256 245 if ($N == 0) break 257 if ($ network== 0) break246 if ($NETWORK == 0) break 258 247 259 248 # look for new exposures in detPendingProcessedExp -
trunk/ippTasks/detrend.reject.pro
r16208 r16298 1 ## detrend.reject.pro : globals and support macros : -*- sh -*- 1 2 ## this file contains the tasks for running the detrend processing stage 2 3 ## these tasks use the book detRejectExp 3 4 4 if ($?network == 0) 5 $network = 1 6 end 7 if ($?parallel == 0) 8 $parallel = 0 9 end 10 if ($?VERBOSE == 0) 11 echo "VERBOSE not defined: load pantasks.pro first" 12 break 13 end 14 if ($?LOGDIR == 0) 15 echo "LOGDIR not defined: load pantasks.pro first" 16 break 17 end 5 # test for required global variables 6 check.globals 18 7 19 8 $LOGSUBDIR = $LOGDIR/detrend … … 57 46 host local 58 47 59 periods -poll $ loadpoll60 periods -exec $ loadexec48 periods -poll $LOADPOLL 49 periods -exec $LOADEXEC 61 50 periods -timeout 30 62 51 npending 1 … … 110 99 book npages detRejectExp -var N 111 100 if ($N == 0) break 112 if ($ network== 0) break101 if ($NETWORK == 0) break 113 102 114 103 # look for new images in detRejectExp -
trunk/ippTasks/detrend.resid.pro
r16208 r16298 1 ## detrend.resid.pro : globals and support macros : -*- sh -*- 1 2 ## this file contains the tasks for running the detrend processing stage 2 3 ## these tasks use the books detPendingResidImfile and detPendingResidExp 3 4 4 if ($?network == 0) 5 $network = 1 6 end 7 if ($?parallel == 0) 8 $parallel = 0 9 end 10 if ($?VERBOSE == 0) 11 echo "VERBOSE not defined: load pantasks.pro first" 12 break 13 end 14 if ($?LOGDIR == 0) 15 echo "LOGDIR not defined: load pantasks.pro first" 16 break 17 end 5 # test for required global variables 6 check.globals 18 7 19 8 $LOGSUBDIR = $LOGDIR/detrend … … 73 62 host local 74 63 75 periods -poll $ loadpoll76 periods -exec $ loadexec64 periods -poll $LOADPOLL 65 periods -exec $LOADEXEC 77 66 periods -timeout 30 78 67 npending 1 … … 126 115 book npages detPendingResidImfile -var N 127 116 if ($N == 0) break 128 if ($ network== 0) break117 if ($NETWORK == 0) break 129 118 130 119 # look for new images in detPendingResidImfile … … 202 191 host local 203 192 204 periods -poll $ loadpoll205 periods -exec $ loadexec193 periods -poll $LOADPOLL 194 periods -exec $LOADEXEC 206 195 periods -timeout 30 207 196 npending 1 … … 255 244 book npages detPendingResidExp -var N 256 245 if ($N == 0) break 257 if ($ network== 0) break246 if ($NETWORK == 0) break 258 247 259 248 # look for new images in detPendingResidExp -
trunk/ippTasks/detrend.stack.pro
r16208 r16298 1 ## detrend.stack.pro : globals and support macros : -*- sh -*- 1 2 ## this file contains the tasks for running the detrend stacking stage 2 3 ## these tasks use the book detPendingStackedImfile 3 4 4 if ($?network == 0) 5 $network = 1 6 end 7 if ($?parallel == 0) 8 $parallel = 0 9 end 10 if ($?VERBOSE == 0) 11 echo "VERBOSE not defined: load pantasks.pro first" 12 break 13 end 14 if ($?LOGDIR == 0) 15 echo "LOGDIR not defined: load pantasks.pro first" 16 break 17 end 5 # test for required global variables 6 check.globals 18 7 19 8 $LOGSUBDIR = $LOGDIR/detrend … … 58 47 host local 59 48 60 periods -poll $ loadpoll61 periods -exec $ loadexec49 periods -poll $LOADPOLL 50 periods -exec $LOADEXEC 62 51 periods -timeout 30 63 52 npending 1 … … 111 100 book npages detPendingStackedImfile -var N 112 101 if ($N == 0) break 113 if ($ network== 0) break102 if ($NETWORK == 0) break 114 103 115 104 # look for new images in detPendingStackedImfile -
trunk/ippTasks/diff.pro
r14693 r16298 1 ## # This file contains panTasks definitions for performing the image differencing.1 ## diff.pro : image difference analysis : -*- sh -*- 2 2 3 ### After a difference (with associated diff_id) is defined, the difference is performed 4 ### (tasks in diffSkyfile). 3 ## This file contains panTasks definitions for performing the image differencing. 4 ## After a difference (with associated diff_id) is defined, the difference is performed 5 ## (tasks in diffSkyfile). 5 6 6 7 ### Setups 8 if ($?network == 0) 9 $network = 1 10 end 11 if ($?parallel == 0) 12 $parallel = 0 13 end 14 if ($?VERBOSE == 0) 15 echo "VERBOSE not defined: load pantasks.pro first" 16 break 17 end 18 if ($?LOGDIR == 0) 19 echo "LOGDIR not defined: load pantasks.pro first" 20 break 21 end 7 # test for required global variables 8 check.globals 22 9 23 10 $LOGSUBDIR = $LOGDIR/diff … … 66 53 host local 67 54 68 periods -poll $ loadpoll69 periods -exec $ loadexec55 periods -poll $LOADPOLL 56 periods -exec $LOADEXEC 70 57 periods -timeout 30 71 58 npending 1 … … 120 107 book npages diffSkyfile -var N 121 108 if ($N == 0) break 122 if ($ network== 0) break109 if ($NETWORK == 0) break 123 110 124 111 # look for new images in diffSkyfile (pantaskState == INIT) … … 133 120 # specify choice of remote host 134 121 # XXX need to choose based on diffs 135 if ($ parallel)122 if ($PARALLEL) 136 123 host anyhost 137 124 else -
trunk/ippTasks/flatcorr.pro
r16274 r16298 1 ## flatcorr.pro : tasks to run flat-field correction : -*- sh -*- 1 2 ## this file contains the tasks for running the flatcorr stage 2 3 ## these tasks use the book 'flatcorrBook' 3 4 4 if ($?network == 0) 5 $network = 1 6 end 7 if ($?parallel == 0) 8 $parallel = 0 9 end 10 if ($?VERBOSE == 0) 11 echo "VERBOSE not defined: load pantasks.pro first" 12 break 13 end 14 if ($?LOGDIR == 0) 15 echo "LOGDIR not defined: load pantasks.pro first" 16 break 17 end 5 # test for required global variables 6 check.globals 18 7 19 8 $LOGSUBDIR = $LOGDIR/flatcorr … … 107 96 host local 108 97 109 periods -poll $ loadpoll110 periods -exec $ loadexec98 periods -poll $LOADPOLL 99 periods -exec $LOADEXEC 111 100 periods -timeout 60 112 101 # trange Hourly@00:00 Hourly@00:10 … … 121 110 book npages flatcorrBook -var N 122 111 if ($N == 0) break 123 if ($ network== 0) break112 if ($NETWORK == 0) break 124 113 125 114 # look for new images in flatcorrBook … … 140 129 # specify choice of remote host 141 130 # set a specific DVO host here 142 if ($ parallel)131 if ($PARALLEL) 143 132 host anyhost 144 133 else -
trunk/ippTasks/magic.pro
r15352 r16298 1 2 ### Setups 3 if ($?network == 0) 4 $network = 1 5 end 6 if ($?parallel == 0) 7 $parallel = 0 8 end 9 if ($?VERBOSE == 0) 10 echo "VERBOSE not defined: load pantasks.pro first" 11 break 12 end 13 if ($?LOGDIR == 0) 14 echo "LOGDIR not defined: load pantasks.pro first" 15 break 16 end 1 ## magic.pro : support for the streak removal : -*- sh -*- 2 3 # test for required global variables 4 check.globals 17 5 18 6 $LOGSUBDIR = $LOGDIR/magic … … 75 63 host local 76 64 77 periods -poll $ loadpoll78 periods -exec $ loadexec65 periods -poll $LOADPOLL 66 periods -exec $LOADEXEC 79 67 periods -timeout 30 80 68 npending 1 … … 128 116 host local 129 117 130 periods -poll $ loadpoll131 periods -exec $ loadexec118 periods -poll $LOADPOLL 119 periods -exec $LOADEXEC 132 120 periods -timeout 30 133 121 npending 1 … … 181 169 host local 182 170 183 periods -poll $ loadpoll184 periods -exec $ loadexec171 periods -poll $LOADPOLL 172 periods -exec $LOADEXEC 185 173 periods -timeout 30 186 174 npending 1 -
trunk/ippTasks/mkdetrend.pro
r14681 r16298 1 ## mkdetrend.pro : autorun the detrend analysis : -*- sh -*- 1 2 2 3 # example output from a dettool -definebyquery -
trunk/ippTasks/pantasks.pro
r16208 r16298 1 2 # XXX make these upper-case 1 ## pantasks.pro : globals and support macros : -*- sh -*- 2 3 # globals used to control system behavior : these should be in uppercase 3 4 $NEBULOUS = 0 4 $ network= 15 $ parallel= 15 $NETWORK = 1 6 $PARALLEL = 1 6 7 $VERBOSE = 1 7 8 $LOGDIR = `pwd` 8 $scripts = . 9 10 $loadpoll = 0.25 11 $loadexec = 5 12 $runpoll = 0.5 13 $runexec = 1 9 10 $LOADPOLL = 0.25 11 $LOADEXEC = 5 12 $RUNPOLL = 0.5 13 $RUNEXEC = 1 14 14 15 15 $EXIT_SUCCESS = 0 … … 426 426 end 427 427 end 428 429 macro check.globals 430 if ($?NETWORK == 0) 431 echo "NETWORK not defined: load pantasks.pro first" 432 break 433 end 434 if ($?PARALLEL == 0) 435 echo "PARALLEL not defined: load pantasks.pro first" 436 break 437 end 438 if ($?VERBOSE == 0) 439 echo "VERBOSE not defined: load pantasks.pro first" 440 break 441 end 442 if ($?LOGDIR == 0) 443 echo "LOGDIR not defined: load pantasks.pro first" 444 break 445 end 446 end -
trunk/ippTasks/register.pro
r16208 r16298 1 ## register.pro : tasks for image registration (insert into database) : -*- sh -*- 1 2 ## this file contains the tasks for running the registration stage 2 3 ## these tasks use the books regPendingImfile and regPendingExp 3 4 4 if ($?network == 0) 5 $network = 1 6 end 7 if ($?parallel == 0) 8 $parallel = 0 9 end 10 if ($?VERBOSE == 0) 11 echo "VERBOSE not defined: load pantasks.pro first" 12 break 13 end 14 if ($?LOGDIR == 0) 15 echo "LOGDIR not defined: load pantasks.pro first" 16 break 17 end 5 # test for required global variables 6 check.globals 18 7 19 8 $LOGSUBDIR = $LOGDIR/register … … 73 62 host local 74 63 75 periods -poll $ loadpoll76 periods -exec $ loadexec64 periods -poll $LOADPOLL 65 periods -exec $LOADEXEC 77 66 periods -timeout 30 78 67 npending 1 … … 129 118 book npages regPendingImfile -var N 130 119 if ($N == 0) break 131 if ($ network== 0) break120 if ($NETWORK == 0) break 132 121 133 122 # look for new images in regPendingImfile … … 200 189 host local 201 190 202 periods -poll $ loadpoll203 periods -exec $ loadexec191 periods -poll $LOADPOLL 192 periods -exec $LOADEXEC 204 193 periods -timeout 30 205 194 npending 1 … … 253 242 book npages regPendingExp -var N 254 243 if ($N == 0) break 255 if ($ network== 0) break244 if ($NETWORK == 0) break 256 245 257 246 # look for new images in regPendingExp (pantaskState == INIT) -
trunk/ippTasks/stack.pro
r14693 r16298 1 ## # This file contains panTasks definitions for performing the image stacking.1 ## stack.pro : tasks for image stacking : -*- sh -*- 2 2 3 ### After a stack (with associated stack_id) is defined, the stack is performed 4 ### (tasks in stackSumSkyfile). 3 ## This file contains panTasks definitions for performing the image stacking. 4 ## After a stack (with associated stack_id) is defined, the stack is performed 5 ## (tasks in stackSumSkyfile). 5 6 6 7 ### Setups 8 if ($?network == 0) 9 $network = 1 10 end 11 if ($?parallel == 0) 12 $parallel = 0 13 end 14 if ($?VERBOSE == 0) 15 echo "VERBOSE not defined: load pantasks.pro first" 16 break 17 end 18 if ($?LOGDIR == 0) 19 echo "LOGDIR not defined: load pantasks.pro first" 20 break 21 end 7 # test for required global variables 8 check.globals 22 9 23 10 $LOGSUBDIR = $LOGDIR/stack … … 66 53 host local 67 54 68 periods -poll $ loadpoll69 periods -exec $ loadexec55 periods -poll $LOADPOLL 56 periods -exec $LOADEXEC 70 57 periods -timeout 30 71 58 npending 1 … … 120 107 book npages stackSumSkyfile -var N 121 108 if ($N == 0) break 122 if ($ network== 0) break109 if ($NETWORK == 0) break 123 110 124 111 # look for new images in stackSumSkyfile (pantaskState == INIT) … … 133 120 # specify choice of remote host 134 121 # XXX need to choose based on stacks 135 if ($ parallel)122 if ($PARALLEL) 136 123 host anyhost 137 124 else -
trunk/ippTasks/summit.copy.pro
r16208 r16298 1 ## summit.copy.pro : tasks for the summit to IPP download : -*- sh -*- 1 2 ## PanTasks scripts for Summit Copy 2 3 module pantasks.pro4 3 5 4 # pztool -adddatastore -inst isp -telescope ps1 -uri http://otis1.ifa.hawaii.edu/ds/skyprobe/index.txt … … 16 15 # @HOST@ may be substituted in later scripts. 17 16 17 # test for required global variables 18 check.globals 19 18 20 # the templates are used if we have a class_id/host relationship; if none is found, the default values are used 19 21 # XXX not sure how to handle the .N value if we need to use more than one … … 21 23 if ($NEBULOUS) 22 24 $default_host = ipp004 23 $workdir_template = neb:///@HOST@-v0 24 $default_volume = ipp004-v0 25 $volume_template = 25 $workdir_template = neb:///@HOST@.0 26 26 else 27 27 $default_host = ipp004 28 28 $workdir_template = /data/@HOST@.0/ 29 end30 31 $VERBOSE = 132 33 if ($?network == 0)34 $network = 135 end36 if ($?parallel == 0)37 $parallel = 038 29 end 39 30 … … 162 153 163 154 task.exec 164 if ($ network== 0) break155 if ($NETWORK == 0) break 165 156 166 157 # if we are waiting on data, make the interval long … … 254 245 255 246 task.exec 256 if ($ network== 0) break247 if ($NETWORK == 0) break 257 248 258 249 # if we are waiting on data, make the interval long -
trunk/ippTasks/warp.pro
r16022 r16298 1 ### This file contains panTasks definitions for performing the image warping. 1 ## warp.pro : image warping tasks : -*- sh -*- 2 ## This file contains panTasks definitions for performing the image warping. 2 3 3 4 ### This is done in two (main) steps. After a warp (with associated warp_id) is defined, … … 5 6 ### Then for each skycell, the warp is made (tasks in warpPendingSkycell). 6 7 7 8 8 ### Setups 9 if ($?network == 0) 10 $network = 1 11 end 12 if ($?parallel == 0) 13 $parallel = 0 14 end 15 if ($?VERBOSE == 0) 16 echo "VERBOSE not defined: load pantasks.pro first" 17 break 18 end 19 if ($?LOGDIR == 0) 20 echo "LOGDIR not defined: load pantasks.pro first" 21 break 22 end 9 check.globals 23 10 24 11 $LOGSUBDIR = $LOGDIR/warp … … 82 69 host local 83 70 84 periods -poll $ loadpoll85 periods -exec $ loadexec71 periods -poll $LOADPOLL 72 periods -exec $LOADEXEC 86 73 periods -timeout 30 87 74 npending 1 … … 136 123 book npages warpInputExp -var N 137 124 if ($N == 0) break 138 if ($ network== 0) break125 if ($NETWORK == 0) break 139 126 140 127 # look for new images in warpInputExp (pantaskState == INIT) … … 150 137 # specify choice of remote host 151 138 # XXX need to choose based on warps 152 if ($ parallel)139 if ($PARALLEL) 153 140 host anyhost 154 141 else … … 202 189 host local 203 190 204 periods -poll $ loadpoll205 periods -exec $ loadexec191 periods -poll $LOADPOLL 192 periods -exec $LOADEXEC 206 193 periods -timeout 30 207 194 npending 1 … … 256 243 book npages warpPendingSkyCell -var N 257 244 if ($N == 0) break 258 if ($ network== 0) break245 if ($NETWORK == 0) break 259 246 260 247 # look for new images in warpPendingSkyCell (pantaskState == INIT) … … 272 259 # specify choice of remote host 273 260 # XXX need to choose based on warps 274 if ($ parallel)261 if ($PARALLEL) 275 262 host anyhost 276 263 else
Note:
See TracChangeset
for help on using the changeset viewer.
