IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 25, 2007, 10:34:12 AM (19 years ago)
Author:
Paul Price
Message:

Adding good_frac for the fraction of good pixels (replacing pixel_fill for warpSkyfile).

File:
1 edited

Legend:

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

    r14357 r15376  
    267267    }
    268268    if (stack_id && warp_id) {
    269         psError(PS_ERR_UNKNOWN, true, "either -stack_id or -warp_id must be specified"); 
     269        psError(PS_ERR_UNKNOWN, true, "either -stack_id or -warp_id must be specified");
    270270        return false;
    271271    }
     
    596596    }
    597597
     598    psF64 good_frac = psMetadataLookupF64(&status, config->args, "-good_frac");
     599    if (!status) {
     600        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -good_frac");
     601        return false;
     602    }
     603
    598604    if (!psDBTransaction(config->dbh)) {
    599605        psError(PS_ERR_UNKNOWN, false, "database error");
     
    607613            bg,
    608614            bg_stdev,
     615            good_frac,
    609616            code
    610617        )) {
Note: See TracChangeset for help on using the changeset viewer.