Changes between Version 1 and Version 2 of AddstarPantasks
- Timestamp:
- Aug 27, 2010, 8:57:39 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AddstarPantasks
v1 v2 1 2 [[PageOutline]] 3 1 4 == Running The !AddStar Pantasks == 2 5 … … 6 9 * make sure the appropriate modules are loaded in addstar's pantasks (addstar.pro, minidvodb.pro, survey.pro) 7 10 8 === setting up the !ThreePi catalog ===11 === Setting up the !ThreePi catalog === 9 12 10 * survey.add.addstar !ThreePi.nightlyscience THREEPI.V1 !ThreePi 11 * add.minidvodb !ThreePi THREEPI.V1.MINI THREEPI.V1 1 GPC1 12 * add.label !ThreePi 13 NOTE: the order is important here due to a yet-to-be-resolved bug: 13 14 15 {{{ 16 add.minidvodb ThreePi THREEPI.V1.MINI THREEPI.V1 1 GPC1 17 add.label ThreePi 18 }}} 14 19 15 === a general example === 20 now wait for there to be a {{{minidovdbRun}}} entry, then 21 22 {{{ 23 survey.add.addstar ThreePi.nightlyscience THREEPI.V1 ThreePi 24 }}} 25 26 === A general example === 16 27 17 28 * survey.add.addstar (label) (dvodb) (minidvodb_group) … … 19 30 * add.label (minidvodb_group) 20 31 21 === the arguments ===32 === The arguments === 22 33 23 34 * (label) - the label used in addtool -definebyquery to queue the exposures … … 28 39 * (camera) - I couldn't figure out how to suck this out of the available information, and it's needed, so you have to provide it on the command line. 29 40 30 === what each task does ===41 === What each task does === 31 42 32 * survey.add.addstar- queues the exposures using addtool33 * add.minidvodb- creates the minidvodbRun table (like a survey task). This is essential for minidvodbs34 * add.label- it's pantasks - it needs to know what label to munch on.43 * {{{survey.add.addstar}}} - queues the exposures using addtool 44 * {{{add.minidvodb}}} - creates the minidvodbRun table (like a survey task). This is essential for minidvodbs 45 * {{{add.label}}} - it's pantasks - it needs to know what label to munch on. 35 46 36 47 For other purposes, for example, if you have a different sort of query (not one that can be queued off of the label), do not run survey.add.addstar. You will still need add.minidvodb and add.label. You will have to queue the exposures using addtool 37 48 38 === some 'by hand' examples ===49 === Some 'by hand' examples === 39 50 40 51 To queue a minidvodb (which will get merged automatically) 41 52 42 * addtool -definebyquery -destreaked -comment %SAS% -set_dvodb ROYSAS.V1 -set_minidvodb_group RoySAS.V1 -set_minidvodb -set_label RoySAS.V1 -dbname gpc1 53 54 {{{ 55 addtool -definebyquery -destreaked -comment %SAS% -set_dvodb ROYSAS.V1 -set_minidvodb_group RoySAS.V1 -set_minidvodb -set_label RoySAS.V1 -dbname gpc1 56 }}} 43 57 44 58 in pantasks 45 59 46 * add.minidvodb RoySAS.V1 ROYSAS.V1 ROYSAS.V1 1 GPC1 47 * add.label RoySAS.V1 60 61 {{{ 62 add.minidvodb RoySAS.V1 ROYSAS.V1 ROYSAS.V1 1 GPC1 63 add.label RoySAS.V1 64 }}} 48 65 49 66 To queue something that is not a minidvodb (this is not tested yet - I need to test it): 50 67 51 * addtool -definebyquery -destreaked -comment %SAS% -set_dvodb ROYSAS.V1 -set_label RoySAS.V1 -dbname gpc1 68 {{{ 69 addtool -definebyquery -destreaked -comment %SAS% -set_dvodb ROYSAS.V1 -set_label RoySAS.V1 -dbname gpc1 70 }}} 52 71 53 72 in pantasks 54 73 55 * add.label RoySAS.V1 74 {{{ 75 add.label RoySAS.V1 76 }}} 56 77 57 78
