Changeset 14153
- Timestamp:
- Jul 11, 2007, 5:11:59 PM (19 years ago)
- Location:
- trunk/ippTasks
- Files:
-
- 12 edited
-
camera.pro (modified) (3 diffs)
-
chip.pro (modified) (2 diffs)
-
detrend.norm.pro (modified) (6 diffs)
-
detrend.process.pro (modified) (4 diffs)
-
detrend.reject.pro (modified) (2 diffs)
-
detrend.resid.pro (modified) (4 diffs)
-
detrend.stack.pro (modified) (2 diffs)
-
diff.pro (modified) (2 diffs)
-
mkdetrend.pro (modified) (3 diffs)
-
register.pro (modified) (4 diffs)
-
stack.pro (modified) (2 diffs)
-
warp.pro (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/camera.pro
r14116 r14153 69 69 option DEFAULT 70 70 command camtool -pendingexp -limit 20 71 # echo command camtool -pendingexp -limit 20 71 72 else 72 73 # save the DB name for the exit tasks 73 74 option $DB:$camera_DB 74 75 command camtool -pendingexp -limit 20 -dbname $DB:$camera_DB 76 # echo command camtool -pendingexp -limit 20 -dbname $DB:$camera_DB 75 77 $camera_DB ++ 76 78 if ($camera_DB >= $DB:n) set camera_DB = 0 … … 81 83 task.exit 0 82 84 # convert 'stdout' to book format 83 ipptool2book stdout camPendingExp -key cam_id -uniq -setword dbname $options:0 85 ipptool2book stdout camPendingExp -key cam_id -uniq -setword dbname $options:0 -setword pantaskState INIT 84 86 if ($VERBOSE > 2) 85 87 book listbook camPendingExp … … 112 114 if ($network == 0) break 113 115 114 # look for new images in camPendingExp (pantaskState == NULL)115 book getpage camPendingExp 0 -var pageName -key pantaskState NULL116 # look for new images in camPendingExp (pantaskState == INIT) 117 book getpage camPendingExp 0 -var pageName -key pantaskState INIT 116 118 if ($pageName == NULL) break 117 119 -
trunk/ippTasks/chip.pro
r14095 r14153 81 81 task.exit 0 82 82 # convert 'stdout' to book format 83 ipptool2book stdout chipPendingImfile -key chip_id:class_id -uniq -setword dbname $options:0 83 ipptool2book stdout chipPendingImfile -key chip_id:class_id -uniq -setword dbname $options:0 -setword pantaskState INIT 84 84 if ($VERBOSE > 2) 85 85 book listbook chipPendingImfile … … 112 112 if ($network == 0) break 113 113 114 # look for new images in chipPendingImfile (pantaskState == NULL)115 book getpage chipPendingImfile 0 -var pageName -key pantaskState NULL114 # look for new images in chipPendingImfile (pantaskState == INIT) 115 book getpage chipPendingImfile 0 -var pageName -key pantaskState INIT 116 116 if ($pageName == NULL) break 117 117 -
trunk/ippTasks/detrend.norm.pro
r14042 r14153 113 113 task.exit 0 114 114 # convert 'stdout' to book format 115 ipptool2book stdout detPendingNormStatImfile -key det_id:iteration -uniq -setword dbname $options:0 115 ipptool2book stdout detPendingNormStatImfile -key det_id:iteration -uniq -setword dbname $options:0 -setword pantaskState INIT 116 116 if ($VERBOSE > 2) 117 117 book listbook detPendingNormStatImfile … … 145 145 146 146 # look for new images in detPendingNormStatImfile 147 book getpage detPendingNormStatImfile 0 -var pageName -key pantaskState NULL147 book getpage detPendingNormStatImfile 0 -var pageName -key pantaskState INIT 148 148 if ($pageName == NULL) break 149 149 … … 232 232 task.exit 0 233 233 # convert 'stdout' to book format 234 ipptool2book stdout detPendingNormImfile -key det_id:iteration -uniq -setword dbname $options:0 234 ipptool2book stdout detPendingNormImfile -key det_id:iteration -uniq -setword dbname $options:0 -setword pantaskState INIT 235 235 if ($VERBOSE > 2) 236 236 book listbook detPendingNormImfile … … 264 264 265 265 # look for new images in detPendingNormImfile 266 book getpage detPendingNormImfile 0 -var pageName -key pantaskState NULL266 book getpage detPendingNormImfile 0 -var pageName -key pantaskState INIT 267 267 if ($pageName == NULL) break 268 268 … … 355 355 task.exit 0 356 356 # convert 'stdout' to book format 357 ipptool2book stdout detPendingNormExp -key det_id:iteration -uniq -setword dbname $options:0 357 ipptool2book stdout detPendingNormExp -key det_id:iteration -uniq -setword dbname $options:0 -setword pantaskState INIT 358 358 if ($VERBOSE > 2) 359 359 book listbook detPendingNormExp … … 387 387 388 388 # look for new images in detPendingNormExp 389 book getpage detPendingNormExp 0 -var pageName -key pantaskState NULL389 book getpage detPendingNormExp 0 -var pageName -key pantaskState INIT 390 390 if ($pageName == NULL) break 391 391 -
trunk/ippTasks/detrend.process.pro
r14050 r14153 100 100 task.exit 0 101 101 # convert 'stdout' to book format 102 ipptool2book stdout detPendingProcessedImfile -key det_id:exp_id:class_id -uniq -setword dbname $options:0 102 ipptool2book stdout detPendingProcessedImfile -key det_id:exp_id:class_id -uniq -setword dbname $options:0 -setword pantaskState INIT 103 103 if ($VERBOSE > 2) 104 104 book listbook detPendingProcessedImfile … … 132 132 133 133 # look for new images in detPendingProcessedImfile 134 book getpage detPendingProcessedImfile 0 -var pageName -key pantaskState NULL134 book getpage detPendingProcessedImfile 0 -var pageName -key pantaskState INIT 135 135 if ($pageName == NULL) break 136 136 … … 232 232 task.exit 0 233 233 # convert 'stdout' to book format 234 ipptool2book stdout detPendingProcessedExp -key det_id:exp_id -uniq -setword dbname $options:0 234 ipptool2book stdout detPendingProcessedExp -key det_id:exp_id -uniq -setword dbname $options:0 -setword pantaskState INIT 235 235 if ($VERBOSE > 2) 236 236 book listbook detPendingProcessedExp … … 264 264 265 265 # look for new exposures in detPendingProcessedExp 266 book getpage detPendingProcessedExp 0 -var pageName -key pantaskState NULL266 book getpage detPendingProcessedExp 0 -var pageName -key pantaskState INIT 267 267 if ($pageName == NULL) break 268 268 -
trunk/ippTasks/detrend.reject.pro
r14087 r14153 81 81 task.exit 0 82 82 # convert 'stdout' to book format 83 ipptool2book stdout detRejectExp -key det_id:iteration -uniq -setword dbname $options:0 83 ipptool2book stdout detRejectExp -key det_id:iteration -uniq -setword dbname $options:0 -setword pantaskState INIT 84 84 if ($VERBOSE > 2) 85 85 book listbook detRejectExp … … 113 113 114 114 # look for new images in detRejectExp 115 book getpage detRejectExp 0 -var pageName -key pantaskState NULL115 book getpage detRejectExp 0 -var pageName -key pantaskState INIT 116 116 if ($pageName == NULL) break 117 117 -
trunk/ippTasks/detrend.resid.pro
r14152 r14153 97 97 task.exit 0 98 98 # convert 'stdout' to book format 99 ipptool2book stdout detPendingResidImfile -key det_id:iteration:exp_id:class_id -uniq -setword dbname $options:0 99 ipptool2book stdout detPendingResidImfile -key det_id:iteration:exp_id:class_id -uniq -setword dbname $options:0 -setword pantaskState INIT 100 100 if ($VERBOSE > 2) 101 101 book listbook detPendingResidImfile … … 129 129 130 130 # look for new images in detPendingResidImfile 131 book getpage detPendingResidImfile 0 -var pageName -key pantaskState NULL131 book getpage detPendingResidImfile 0 -var pageName -key pantaskState INIT 132 132 if ($pageName == NULL) break 133 133 … … 232 232 task.exit 0 233 233 # convert 'stdout' to book format 234 ipptool2book stdout detPendingResidExp -key det_id:iteration:exp_id -uniq -setword dbname $options:0 234 ipptool2book stdout detPendingResidExp -key det_id:iteration:exp_id -uniq -setword dbname $options:0 -setword pantaskState INIT 235 235 if ($VERBOSE > 2) 236 236 book listbook detPendingResidExp … … 264 264 265 265 # look for new images in detPendingResidExp 266 book getpage detPendingResidExp 0 -var pageName -key pantaskState NULL266 book getpage detPendingResidExp 0 -var pageName -key pantaskState INIT 267 267 if ($pageName == NULL) break 268 268 -
trunk/ippTasks/detrend.stack.pro
r14042 r14153 82 82 task.exit 0 83 83 # convert 'stdout' to book format 84 ipptool2book stdout detPendingStackedImfile -key det_id:iteration:class_id -uniq -setword dbname $options:0 84 ipptool2book stdout detPendingStackedImfile -key det_id:iteration:class_id -uniq -setword dbname $options:0 -setword pantaskState INIT 85 85 if ($VERBOSE > 2) 86 86 book listbook detPendingStackedImfile … … 114 114 115 115 # look for new images in detPendingStackedImfile 116 book getpage detPendingStackedImfile 0 -var pageName -key pantaskState NULL116 book getpage detPendingStackedImfile 0 -var pageName -key pantaskState INIT 117 117 if ($pageName == NULL) break 118 118 -
trunk/ippTasks/diff.pro
r14042 r14153 90 90 task.exit 0 91 91 # convert 'stdout' to book format 92 ipptool2book stdout diffSkyfile -key diff_id -uniq -setword dbname $options:0 92 ipptool2book stdout diffSkyfile -key diff_id -uniq -setword dbname $options:0 -setword pantaskState INIT 93 93 if ($VERBOSE > 2) 94 94 book listbook diffSkyfile … … 122 122 if ($network == 0) break 123 123 124 # look for new images in diffSkyfile (pantaskState == NULL)125 book getpage diffSkyfile 0 -var pageName -key pantaskState NULL124 # look for new images in diffSkyfile (pantaskState == INIT) 125 book getpage diffSkyfile 0 -var pageName -key pantaskState INIT 126 126 if ($pageName == NULL) break 127 127 -
trunk/ippTasks/mkdetrend.pro
r14130 r14153 16 16 end 17 17 queueload detruns -x "cat $MODULES:0/$1" 18 ipptool2book detruns detRunDef -key detRunName -uniq 18 ipptool2book detruns detRunDef -key detRunName -uniq -setword pantaskState INIT 19 19 queuedelete detruns 20 20 end … … 35 35 36 36 # how many detRunDefs are waiting to be started? 37 book npages detRunDef -var N -key pantaskState NULL37 book npages detRunDef -var N -key pantaskState INIT 38 38 # echo "detrun.launch N: $N" 39 39 if ($N == 0) break … … 44 44 # and for which the dependencies are done 45 45 for i 0 $N 46 book getpage detRunDef $i -var detRunName -key pantaskState NULL46 book getpage detRunDef $i -var detRunName -key pantaskState INIT 47 47 # echo "detrun.launch detRunName: $detRunName" 48 48 if ("$detRunName" == "NULL") break -
trunk/ippTasks/register.pro
r14042 r14153 100 100 task.exit $EXIT_SUCCESS 101 101 # convert 'stdout' to book format 102 ipptool2book stdout regPendingImfile -key exp_id:tmp_class_id -uniq -setword dbname $options:0 102 ipptool2book stdout regPendingImfile -key exp_id:tmp_class_id -uniq -setword dbname $options:0 -setword pantaskState INIT 103 103 if ($VERBOSE > 2) 104 104 book listbook regPendingImfile … … 132 132 133 133 # look for new images in regPendingImfile 134 book getpage regPendingImfile 0 -var pageName -key pantaskState NULL134 book getpage regPendingImfile 0 -var pageName -key pantaskState INIT 135 135 if ($pageName == NULL) break 136 136 … … 214 214 task.exit $EXIT_SUCCESS 215 215 # convert 'stdout' to book format 216 ipptool2book stdout regPendingExp -key exp_id -uniq -setword dbname $options:0 216 ipptool2book stdout regPendingExp -key exp_id -uniq -setword dbname $options:0 -setword pantaskState INIT 217 217 if ($VERBOSE > 2) 218 218 book listbook regPendingExp … … 245 245 if ($network == 0) break 246 246 247 # look for new images in regPendingExp (pantaskState == NULL)248 book getpage regPendingExp 0 -var pageName -key pantaskState NULL247 # look for new images in regPendingExp (pantaskState == INIT) 248 book getpage regPendingExp 0 -var pageName -key pantaskState INIT 249 249 if ($pageName == NULL) break 250 250 -
trunk/ippTasks/stack.pro
r14042 r14153 90 90 task.exit 0 91 91 # convert 'stdout' to book format 92 ipptool2book stdout stackSumSkyfile -key stack_id -uniq -setword dbname $options:0 92 ipptool2book stdout stackSumSkyfile -key stack_id -uniq -setword dbname $options:0 -setword pantaskState INIT 93 93 if ($VERBOSE > 2) 94 94 book listbook stackSumSkyfile … … 122 122 if ($network == 0) break 123 123 124 # look for new images in stackSumSkyfile (pantaskState == NULL)125 book getpage stackSumSkyfile 0 -var pageName -key pantaskState NULL124 # look for new images in stackSumSkyfile (pantaskState == INIT) 125 book getpage stackSumSkyfile 0 -var pageName -key pantaskState INIT 126 126 if ($pageName == NULL) break 127 127 -
trunk/ippTasks/warp.pro
r14042 r14153 106 106 task.exit 0 107 107 # convert 'stdout' to book format 108 ipptool2book stdout warpInputExp -key warp_id -uniq -setword dbname $options:0 108 ipptool2book stdout warpInputExp -key warp_id -uniq -setword dbname $options:0 -setword pantaskState INIT 109 109 if ($VERBOSE > 2) 110 110 book listbook warpInputExp … … 138 138 if ($network == 0) break 139 139 140 # look for new images in warpInputExp (pantaskState == NULL)141 book getpage warpInputExp 0 -var pageName -key pantaskState NULL140 # look for new images in warpInputExp (pantaskState == INIT) 141 book getpage warpInputExp 0 -var pageName -key pantaskState INIT 142 142 if ("$pageName" == "NULL") break 143 143 … … 226 226 task.exit 0 227 227 # convert 'stdout' to book format 228 ipptool2book stdout warpPendingSkyCell -key warp_id:skycell_id:tess_id -uniq -setword dbname $options:0 228 ipptool2book stdout warpPendingSkyCell -key warp_id:skycell_id:tess_id -uniq -setword dbname $options:0 -setword pantaskState INIT 229 229 if ($VERBOSE > 2) 230 230 book listbook warpPendingSkyCell … … 258 258 if ($network == 0) break 259 259 260 # look for new images in warpPendingSkyCell (pantaskState == NULL)261 book getpage warpPendingSkyCell 0 -var pageName -key pantaskState NULL260 # look for new images in warpPendingSkyCell (pantaskState == INIT) 261 book getpage warpPendingSkyCell 0 -var pageName -key pantaskState INIT 262 262 if ("$pageName" == "NULL") break 263 263
Note:
See TracChangeset
for help on using the changeset viewer.
