IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 4, 2008, 2:22:31 PM (18 years ago)
Author:
eugene
Message:

adding label, reduction fields to diffRun, data_state to diffSkyfile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/difftool.c

    r19301 r19368  
    108108    PXOPT_LOOKUP_STR(skycell_id, config->args, "-skycell_id", true, false);
    109109    PXOPT_LOOKUP_STR(tess_id, config->args, "-tess_id", true, false);
     110    PXOPT_LOOKUP_STR(label, config->args, "-label", false, false);
     111    PXOPT_LOOKUP_STR(reduction, config->args, "-reduction", false, false);
    110112
    111113    // default
     
    116118            0,          // ID
    117119            "reg",      // state
     120            label,
     121            reduction,
    118122            workdir,
    119123            NULL,       // dvodb
     
    485489                           uri,
    486490                           path_base,
     491                           "full",      // data_state
    487492                           bg,
    488493                           bg_stdev,
     
    722727                         const char *skycell_id, // Skycell identifier
    723728                         const char *tess_id, // Tessellation identifier
     729                         const char *label, // label
     730                         const char *reduction, // reduction
    724731                         psS64 input_warp_id, // Warp identifier for input image, PS_MAX_S64 for none
    725732                         psS64 input_stack_id, // Stack identifier for input image, PS_MAX_S64 for none
     
    750757            0,          // ID
    751758            "reg",      // state
     759            label,
     760            reduction,
    752761            workdir,
    753762            NULL,       // dvodb
     
    843852    PXOPT_LOOKUP_STR(skycell_id, config->args, "-skycell_id", true, false); // required options
    844853    PXOPT_LOOKUP_STR(tess_id, config->args, "-tess_id", true, false); // required options
     854    PXOPT_LOOKUP_STR(label, config->args, "-label", false, false);
     855    PXOPT_LOOKUP_STR(reduction, config->args, "-reduction", false, false);
    845856    PXOPT_LOOKUP_S64(template_warp_id, config->args, "-template_warp_id", false, false);
    846857    PXOPT_LOOKUP_S64(template_stack_id, config->args, "-template_stack_id", false, false);
     
    871882    psArray *list = psArrayAllocEmpty(16); // List of runs, to print
    872883
    873     if (!populatedrun(list, workdir, skycell_id, tess_id,
     884    if (!populatedrun(list, workdir, skycell_id, tess_id, label, reduction,
    874885                      input_warp_id ? input_warp_id : PS_MAX_S64,
    875886                      input_stack_id ? input_stack_id : PS_MAX_S64,
     
    906917    PXOPT_COPY_F32(config->args, where,  "-good_frac", "good_frac", ">=");
    907918    PXOPT_LOOKUP_STR(workdir, config->args, "-workdir", true, false); // required options
     919    PXOPT_LOOKUP_STR(reduction, config->args, "-reduction", false, false); // option
     920    PXOPT_LOOKUP_STR(label, config->args, "-label", false, false); // option
    908921    PXOPT_LOOKUP_TIME(registered, config->args, "-registered", false, false);
    909922    PXOPT_LOOKUP_BOOL(simple, config->args, "-simple", false);
     
    9871000        }
    9881001
    989         if (!populatedrun(list, workdir, skycell_id, tess_id, warp_id, PS_MAX_S64, PS_MAX_S64,
     1002        if (!populatedrun(list, workdir, skycell_id, tess_id, label, reduction, warp_id, PS_MAX_S64, PS_MAX_S64,
    9901003                          stack_id, config)) {
    9911004            psWarning("Unable to add run for %s,%s,%" PRId64 ",%" PRId64, skycell_id, tess_id,
Note: See TracChangeset for help on using the changeset viewer.