IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 3, 2007, 4:27:35 PM (19 years ago)
Author:
eugene
Message:

added sat_pixel_frac

File:
1 edited

Legend:

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

    r13580 r13606  
    892892    }
    893893
     894    psF32 sat_pixel_frac = psMetadataLookupF32(&status, config->args, "-sat_pixel_frac");
     895    if (!status) {
     896        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -sat_pixel_frac");
     897        return false;
     898    }
     899
    894900    psF64 bg = psMetadataLookupF64(&status, config->args, "-bg");
    895901    if (!status) {
     
    977983        decl,
    978984        exp_time,
     985        sat_pixel_frac,
    979986        bg,
    980987        bg_stdev,
     
    10461053    }
    10471054
     1055    psF32 sat_pixel_frac = psMetadataLookupF32(&status, config->args, "-sat_pixel_frac");
     1056    if (!status) {
     1057        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -sat_pixel_frac");
     1058        return false;
     1059    }
     1060
    10481061    psF64 bg = psMetadataLookupF64(&status, config->args, "-bg");
    10491062    if (!status) {
     
    11261139        decl,
    11271140        exp_time,
     1141        sat_pixel_frac,
    11281142        bg,
    11291143        bg_stdev,
Note: See TracChangeset for help on using the changeset viewer.