IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 22, 2008, 10:19:22 AM (18 years ago)
Author:
eugene
Message:

fleshed out automate process

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/simtest.auto

    r16570 r16610  
    44automate METADATA
    55  name       STR BIAS
    6   block      STR "dettool -runs -det_type BIAS -dbname eamtest"
     6  block      STR "dettool -runs -active -det_type BIAS -dbname eamtest"
    77  check      STR NONE
    88  launch     STR "dettool -definebyquery -workdir path://EAMWORK -inst SIMTEST -det_type BIAS -select_exp_type BIAS -dbname eamtest"
     
    1111automate METADATA
    1212  name       STR DARK
    13   block      STR "dettool -runs -det_type DARK -dbname eamtest"
     13  block      STR "dettool -runs -active -det_type DARK -dbname eamtest"
    1414  check      STR "detselect -search -inst SIMTEST -det_type BIAS -dbname eamtest"
    1515  launch     STR "dettool -definebyquery -workdir path://EAMWORK -inst SIMTEST -det_type DARK -select_exp_type DARK -dbname eamtest"
     
    1818automate METADATA
    1919  name       STR SHUTTER
    20   block      STR "dettool -runs -det_type SHUTTER -dbname eamtest"
     20  block      STR "dettool -runs -active -det_type SHUTTER -dbname eamtest"
    2121  check      STR "detselect -search -inst SIMTEST -det_type DARK -dbname eamtest"
    2222  launch     STR "dettool -definebyquery -workdir path://EAMWORK -inst SIMTEST -det_type SHUTTER -filter r -select_exp_type FLAT -select_filter r -dbname eamtest"
     
    2525automate METADATA
    2626  name       STR FLAT-r
    27   block      STR "dettool -runs -det_type FLAT -filter r -dbname eamtest"
     27  block      STR "dettool -runs -active -det_type FLAT -filter r -dbname eamtest"
    2828  check      STR "detselect -search -inst SIMTEST -det_type SHUTTER -dbname eamtest"
    2929  launch     STR "dettool -definebyquery -workdir path://EAMWORK -inst SIMTEST -det_type FLAT -filter r -select_exp_type FLAT -select_filter r -dbname eamtest"
     
    3232automate METADATA
    3333  name       STR FLAT-i
    34   block      STR "dettool -runs -det_type FLAT -filter i -dbname eamtest"
     34  block      STR "dettool -runs -active -det_type FLAT -filter i -dbname eamtest"
    3535  check      STR "detselect -search -inst SIMTEST -det_type SHUTTER -dbname eamtest"
    3636  launch     STR "dettool -definebyquery -workdir path://EAMWORK -inst SIMTEST -det_type FLAT -filter i -select_exp_type FLAT -select_filter i -dbname eamtest"
     
    3939automate METADATA
    4040  name       STR OBJECT-r
    41   block      STR "chiptool -block -label object.r -dbname eamtest"
     41  block      STR "chiptool -unmasked -label object.r -dbname eamtest"
    4242  check      STR "detselect -search -inst SIMTEST -det_type FLAT -dbname eamtest -filter r"
    4343  launch     STR "chiptool -unblock -label object.r -dbname eamtest"
     
    4646automate METADATA
    4747  name       STR OBJECT-i
    48   block      STR "chiptool -block -label object.i -dbname eamtest"
     48  block      STR "chiptool -unmasked -label object.i -dbname eamtest"
    4949  check      STR "detselect -search -inst SIMTEST -det_type FLAT -dbname eamtest -filter i"
    5050  launch     STR "chiptool -unblock -label object.i -dbname eamtest"
    5151END
    5252
     53### there is a weakness in the label / block business: the labels are
     54### generic, and the blocks are against those fairly generic words.
     55### that makes it difficult to block and unblock science exposures
     56### based on different detrend types that are available.  For example,
     57### to block the r-band against the absence of the desired r-band
     58### flat, we would need to specify a label specific to the r-band
     59### images and remove that block when ready.
     60
     61### a better approach might be to modify the labels rather than the
     62### blocks.  we can define, eg, chiptool -set_label -definebyquery to
     63### turn assign the label names based on various properties of the
     64### interesting images.
     65
     66### here is what the automate element might look like for such a circumstance:
     67
     68### automate METADATA
     69###   name       STR OBJECT-i
     70###   block      STR "chiptool -dbname eamtest -unmasked -label wait -filter i -time_begin 2008/1/1 -time_end 2008/1/2"
     71###   check      STR "detselect -dbname eamtest -search -inst SIMTEST -det_type FLAT -dbname eamtest -filter i -time_begin 2008/1/1 -time_end 2008/1/2"
     72###   launch     STR "chiptool -dbname eamtest -set_label proc -label wait -dbname eamtest -time_begin 2008/1/1 -time_end 2008/1/2"
     73### END
     74
     75### XXX still not quite there....
Note: See TracChangeset for help on using the changeset viewer.