IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14479 for trunk/ippTools/src


Ignore:
Timestamp:
Aug 13, 2007, 4:14:06 PM (19 years ago)
Author:
jhoblitt
Message:

add warpSkyfile.pixel_fill

Location:
trunk/ippTools/src
Files:
2 edited

Legend:

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

    r14262 r14479  
    945945    }
    946946
     947    psF64 pixel_fill = psMetadataLookupF64(&status, config->args, "-pixel_fill");
     948    if (!status) {
     949        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -pixel_fill");
     950        return false;
     951    }
     952
    947953    // default values
    948954    psS16 code = psMetadataLookupS16(&status, config->args, "-code");
     
    968974            bg,
    969975            bg_stdev,
     976            pixel_fill,
    970977            code
    971978        )) {
  • trunk/ippTools/src/warptoolConfig.c

    r14262 r14479  
    171171    psMetadataAddF64(addwarpedArgs, PS_LIST_TAIL, "-bg_stdev",  0,
    172172            "define exposure background stdev", NAN);
     173    psMetadataAddF64(addwarpedArgs, PS_LIST_TAIL, "-pixel_fill",  0,
     174            "define %% of live pixels", NAN);
    173175    psMetadataAddS16(addwarpedArgs, PS_LIST_TAIL, "-code",  0,
    174176            "set fault code", 0);
Note: See TracChangeset for help on using the changeset viewer.