IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Initial Version and Version 1 of AddstarPantasks


Ignore:
Timestamp:
Aug 20, 2010, 11:18:23 AM (16 years ago)
Author:
heather
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AddstarPantasks

    v1 v1  
     1== Running The !AddStar Pantasks ==
     2
     3There are a few steps to get addstar running:
     4
     5 * the DVODB that is specified can be either a real path, or one defined in site.config.
     6 * make sure the appropriate modules are loaded in addstar's pantasks (addstar.pro, minidvodb.pro, survey.pro)
     7
     8 === setting up the !ThreePi catalog ===
     9
     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
     14
     15 === a general example ===
     16
     17 * survey.add.addstar (label) (dvodb) (minidvodb_group)
     18 * add.minidvodb (minidvodb_group) (minidvodb) (dvodb) (interval days) (camera)
     19 * add.label (minidvodb_group)
     20
     21 === the arguments ===
     22
     23 * (label) - the label used in addtool -definebyquery to queue the exposures
     24 * (dvodb) - defined in site.config. This is where the final (merged) dvodb will go.
     25 * (minidvodb_group) - Something sensibly chosen (in this case, ThreePi). It works a bit like a label here.
     26 * (minidvodb) - defined in site.config - this is the location where the minidvodbs will go.
     27 * (interval days) - how long before the minidvodbs are rotated (there is also a cut of 500 exposures)
     28 * (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
     30 === what each task does ===
     31
     32 * survey.add.addstar - queues the exposures using addtool
     33 * add.minidvodb - creates the minidvodbRun table (like a survey task). This is essential for minidvodbs
     34 * add.label - it's pantasks - it needs to know what label to munch on.
     35
     36For 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
     38 === some 'by hand' examples ===
     39
     40To queue a minidvodb (which will get merged automatically)
     41
     42 * addtool -definebyquery -destreaked -comment %SAS% -set_dvodb ROYSAS.V1 -set_minidvodb_group RoySAS.V1 -set_minidvodb -set_label RoySAS.V1 -dbname gpc1
     43
     44in pantasks
     45
     46 * add.minidvodb RoySAS.V1  ROYSAS.V1   ROYSAS.V1 1 GPC1
     47 * add.label RoySAS.V1
     48
     49To queue something that is not a minidvodb (this is not tested yet - I need to test it):
     50
     51 * addtool -definebyquery -destreaked -comment %SAS% -set_dvodb ROYSAS.V1 -set_label RoySAS.V1 -dbname gpc1
     52
     53in pantasks
     54
     55 * add.label RoySAS.V1
     56
     57
     58