IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16509


Ignore:
Timestamp:
Feb 15, 2008, 9:54:44 AM (18 years ago)
Author:
eugene
Message:

added label to newExp; gets propagated to chipRun on successful registration; added options to supply alternate label to dettool and regtool; added -label to pxinject

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/dbconfig/tasks.md

    r16335 r16509  
    1 # $Id: tasks.md,v 1.146 2008-02-06 04:45:00 jhoblitt Exp $
     1# $Id: tasks.md,v 1.147 2008-02-15 19:54:44 eugene Exp $
    22
    33# this table records all exposure ID ever seen from the summit
     
    9999    tess_id     STR         64
    100100    end_stage   STR         64      # Key
     101    label       STR         64      # Key
    101102END
    102103
  • trunk/ippTools/src/pxinject.c

    r16170 r16509  
    8787    PXOPT_LOOKUP_STR(tess_id, config->args, "-tess_id", false, false);
    8888    PXOPT_LOOKUP_STR(end_stage, config->args, "-end_stage", false, false);
     89    PXOPT_LOOKUP_STR(label, config->args, "-label", false, false);
    8990    PXOPT_LOOKUP_BOOL(simple, config->args, "-simple", false);
    9091
     
    100101                dvodb,
    101102                tess_id,
    102                 end_stage
     103                end_stage,
     104                label
    103105            )
    104106        ) {
  • trunk/ippTools/src/pxinjectConfig.c

    r16170 r16509  
    6161    psMetadataAddStr(newExpArgs, PS_LIST_TAIL, "-end_stage",  0,
    6262            "define the end goal processing step", NULL);
     63    psMetadataAddStr(newExpArgs, PS_LIST_TAIL, "-label",  0,
     64            "define a label (carried to chip stage)", NULL);
    6365    psMetadataAddBool(newExpArgs, PS_LIST_TAIL, "-simple",  0,
    6466            "use the simple output format", false);
  • trunk/ippTools/src/pztool.c

    r16380 r16509  
    465465    PXOPT_LOOKUP_STR(tess_id, config->args, "-tess_id", false, false);
    466466    PXOPT_LOOKUP_STR(end_stage, config->args, "-end_stage", false, false);
     467    PXOPT_LOOKUP_STR(label, config->args, "-label", false, false);
    467468
    468469    // find all exposures that have had all of their imfiles downloaded but do
     
    516517                    dvodb,              // dvodb
    517518                    tess_id,            // tess_id
    518                     end_stage           // end_stage
     519                    end_stage,          // end_stage
     520                    label
    519521                )
    520522        ) {
  • trunk/ippTools/src/pztoolConfig.c

    r16362 r16509  
    122122    psMetadataAddStr(copydoneArgs, PS_LIST_TAIL, "-end_stage",  0,
    123123        "define the end goal processing step", NULL);
     124    psMetadataAddStr(copydoneArgs, PS_LIST_TAIL, "-label",  0,
     125        "define the label for the chip stage", NULL);
    124126    psMetadataAddS16(copydoneArgs, PS_LIST_TAIL, "-code",  0,
    125127            "set fault code", 0);
  • trunk/ippTools/src/regtool.c

    r16200 r16509  
    543543    PXOPT_LOOKUP_F64(user_5, config->args, "-user_5", false, false);
    544544    PXOPT_LOOKUP_STR(object, config->args, "-object", false, false);
     545    PXOPT_LOOKUP_STR(label,  config->args, "-label", false, false);
    545546    PXOPT_LOOKUP_TIME(dateobs, config->args, "-dateobs", false, false);
    546547
     
    623624    // carry through these values
    624625    // new CLI options overwrite existing values
    625     workdir   = workdir ? workdir : newExp->workdir;
     626    workdir   = workdir   ? workdir  : newExp->workdir;
    626627    reduction = reduction ? reduction : newExp->reduction;
    627     dvodb     = dvodb ? dvodb : newExp->dvodb;
    628     tess_id   = tess_id ? tess_id : newExp->tess_id;
     628    dvodb     = dvodb     ? dvodb    : newExp->dvodb;
     629    tess_id   = tess_id   ? tess_id  : newExp->tess_id;
    629630    end_stage = end_stage ? end_stage : newExp->end_stage;
     631    label     = label     ? label     : newExp->label;
    630632    // don't free newExp until just before we return, or these refs will break
    631633
     
    728730                (psS64)atoll(exp_id),
    729731                workdir,
    730                 NULL, // label
     732                label,
    731733                reduction,
    732734                NULL, // expgroup
  • trunk/ippTools/src/regtoolConfig.c

    r16170 r16509  
    325325        "define exposure object", NULL);
    326326    psMetadataAddStr(addprocessedexpArgs, PS_LIST_TAIL, "-label",  0,
    327         "define label for phase 2 processing (non-detrend data only)", NULL);
     327        "define label for chip stage (non-detrend data only)", NULL);
    328328    psMetadataAddS16(addprocessedexpArgs, PS_LIST_TAIL, "-code",  0,
    329329        "set fault code", 0);
Note: See TracChangeset for help on using the changeset viewer.