IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 21, 2007, 2:10:11 PM (19 years ago)
Author:
Paul Price
Message:

Changes to multiple packages in order to use "reduction classes" to
specify recipe names. The idea is to give a group of recipes a
symbolic name, which distinguish how the reduction is to be performed,
without going to all the trouble of changing the recipes themselves.

For example, we might want to turn off the usual
overscan/bias/dark/shutter/flat processing and only do photometry if
we have pre-processed data. Gene also wants a similar ability for
building the flat-field correction.

Added a REDUCTION metadata to the camera configuration that contains
multiple METADATA entries that have recipes for different processing
steps. PS::IPP::Config has a 'reduction' function to return the
appropriate recipe, and this is now used in the scripts. Updated
ippTasks to use these where appropriate.

This necessitated changing the database, so that the desired reduction
class can be specified in the right places. Instructions on converting
an extant database are in dbconfig/changes.txt.

Tested with the SIMTEST, and it works.

There is currently no way of specifying the reduction class when an
exposure proceeds from 'register' to 'chip' (it has to be hacked in
the database directly: "update chipPendingExp set reduction =
'SOME_CLASS' where ..."), but it can be specified when adding a
detrend run or queuing chips with 'chiptool -queue' (the '-reduction'
option). Also, the 'recipe' columns remain throughout the detrend
tables, and they continue to be populated with the actual recipe used
(rather than the reduction class; but that is contained in the
detRun).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippdb/src/ippdb.h

    r13739 r13937  
    27552755    char            *workdir;
    27562756    char            *label;
    2757     char            *recipe;
     2757    char            *reduction;
    27582758    char            *expgroup;
    27592759    char            *dvodb;
     
    27712771    const char      *workdir,
    27722772    const char      *label,
    2773     const char      *recipe,
     2773    const char      *reduction,
    27742774    const char      *expgroup,
    27752775    const char      *dvodb
     
    28082808    const char      *workdir,
    28092809    const char      *label,
    2810     const char      *recipe,
     2810    const char      *reduction,
    28112811    const char      *expgroup,
    28122812    const char      *dvodb
     
    31723172    char            *workdir;
    31733173    char            *label;
    3174     char            *recipe;
     3174    char            *reduction;
    31753175    char            *expgroup;
    31763176    char            *dvodb;
     
    31883188    const char      *workdir,
    31893189    const char      *label,
    3190     const char      *recipe,
     3190    const char      *reduction,
    31913191    const char      *expgroup,
    31923192    const char      *dvodb
     
    32253225    const char      *workdir,
    32263226    const char      *label,
    3227     const char      *recipe,
     3227    const char      *reduction,
    32283228    const char      *expgroup,
    32293229    const char      *dvodb
     
    38433843    char            *workdir;
    38443844    char            *label;
    3845     char            *recipe;
     3845    char            *reduction;
    38463846    char            *expgroup;
    38473847    char            *dvodb;
     
    38583858    const char      *workdir,
    38593859    const char      *label,
    3860     const char      *recipe,
     3860    const char      *reduction,
    38613861    const char      *expgroup,
    38623862    const char      *dvodb
     
    38943894    const char      *workdir,
    38953895    const char      *label,
    3896     const char      *recipe,
     3896    const char      *reduction,
    38973897    const char      *expgroup,
    38983898    const char      *dvodb
     
    40564056    char            *workdir;
    40574057    char            *label;
    4058     char            *recipe;
     4058    char            *reduction;
    40594059    char            *expgroup;
    40604060    char            *dvodb;
     
    40874087    const char      *workdir,
    40884088    const char      *label,
    4089     const char      *recipe,
     4089    const char      *reduction,
    40904090    const char      *expgroup,
    40914091    const char      *dvodb,
     
    41394139    const char      *workdir,
    41404140    const char      *label,
    4141     const char      *recipe,
     4141    const char      *reduction,
    41424142    const char      *expgroup,
    41434143    const char      *dvodb,
     
    66006600    char            *telescope;
    66016601    char            *exp_type;
     6602    char            *reduction;
    66026603    char            *filter;
    66036604    psF32           airmass_min;
     
    66366637    const char      *telescope,
    66376638    const char      *exp_type,
     6639    const char      *reduction,
    66386640    const char      *filter,
    66396641    psF32           airmass_min,
     
    66936695    const char      *telescope,
    66946696    const char      *exp_type,
     6697    const char      *reduction,
    66956698    const char      *filter,
    66966699    psF32           airmass_min,
Note: See TracChangeset for help on using the changeset viewer.