| | 249 | = Queuing data with chiptool = |
| | 250 | |
| | 251 | Before pantasks can used to manage processing of a particular label, {{{chiptool}}} must first be run to queue data and create that label. The custom here is to write a small script that runs {{{chiptool}}} with the necessary arguments. This script is then left in the {{{stdscience}}} sub-directory with the same name as the survey in question (M31, MD04 etc). This is so that there is a record of what has been queued. An example script would be |
| | 252 | |
| | 253 | {{{ |
| | 254 | #!/bin/csh -f |
| | 255 | |
| | 256 | set label = "M31.Run5.20100408" |
| | 257 | |
| | 258 | set options = "" |
| | 259 | set options = "$options -dbname gpc1" |
| | 260 | set options = "$options -definebyquery" |
| | 261 | set options = "$options -set_end_stage warp" |
| | 262 | set options = "$options -set_tess_id M31.V0" |
| | 263 | set options = "$options -set_data_group M31.Run5b" |
| | 264 | set options = "$options -set_dist_group M31" |
| | 265 | set options = "$options -comment M31%" |
| | 266 | set options = "$options -dateobs_begin 2009-12-09T00:00:00" |
| | 267 | set options = "$options -dateobs_end 2010-03-01T00:00:00" |
| | 268 | # set options = "$options -simple -pretend" |
| | 269 | |
| | 270 | chiptool $options -set_label $label -set_workdir neb://@HOST@.0/gpc1/$label |
| | 271 | }}} |
| | 272 | |