IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 25, 2008, 4:14:35 PM (18 years ago)
Author:
eugene
Message:

updating code to handle new fields (dtime entries for chip,cam,warp,diff,stack; making chip/cam metadata consistent

File:
1 edited

Legend:

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

    r16170 r16248  
    381381    PXOPT_LOOKUP_F64(bg, config->args, "-bg", false, false);
    382382    PXOPT_LOOKUP_F64(bg_stdev, config->args, "-bg_stdev", false, false);
    383     PXOPT_LOOKUP_F64(good_frac, config->args, "-good_frac", false, false);
     383    PXOPT_LOOKUP_F32(dtime_stack, config->args, "-dtime_stack", false, false);
     384    PXOPT_LOOKUP_F32(good_frac, config->args, "-good_frac", false, false);
    384385
    385386    // default values
     
    395396    // constrants
    396397    if (!stackSumSkyfileInsert(config->dbh,
    397             (psS64)atoll(stack_id),
    398             uri,
    399             path_base,
    400             bg,
    401             bg_stdev,
    402             good_frac,
    403             code
    404         )) {
     398                               (psS64)atoll(stack_id),
     399                               uri,
     400                               path_base,
     401                               bg,
     402                               bg_stdev,
     403                               dtime_stack,
     404                               good_frac,
     405                               code
     406          )) {
    405407        if (!psDBRollback(config->dbh)) {
    406408            psError(PS_ERR_UNKNOWN, false, "database error");
Note: See TracChangeset for help on using the changeset viewer.