IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15532


Ignore:
Timestamp:
Nov 8, 2007, 5:17:23 PM (19 years ago)
Author:
jhoblitt
Message:

add warpSkyfile.ignore

Location:
trunk/ippTools/src
Files:
2 edited

Legend:

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

    r15378 r15532  
    943943    }
    944944
     945    bool ignore = psMetadataLookupBool(&status, config->args, "-ignore");
     946    if (!status) {
     947        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -ignore");
     948        return false;
     949    }
     950
    945951    // default values
    946952    psS16 code = psMetadataLookupS16(&status, config->args, "-code");
     
    967973            bg_stdev,
    968974            good_frac,
     975            ignore,
    969976            code
    970977        )) {
  • trunk/ippTools/src/warptoolConfig.c

    r15529 r15532  
    173173    psMetadataAddF64(addwarpedArgs, PS_LIST_TAIL, "-good_frac",  0,
    174174            "define %% of good pixels", NAN);
     175    psMetadataAddBool(addwarpedArgs, PS_LIST_TAIL, "-ignore",  0,
     176            "define if this skycell should be ignored", false);
    175177    psMetadataAddS16(addwarpedArgs, PS_LIST_TAIL, "-code",  0,
    176178            "set fault code", 0);
    177 
    178179
    179180    // -warped
Note: See TracChangeset for help on using the changeset viewer.