IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20300


Ignore:
Timestamp:
Oct 21, 2008, 3:18:22 PM (18 years ago)
Author:
Paul Price
Message:

All warps were being ignored because the new manner of parsing the output statistics file was setting a '-accept' flag, rather than '-ignore'. Changed the logic to support this.

Location:
trunk/ippTools/src
Files:
2 edited

Legend:

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

    r19931 r20300  
    910910    PXOPT_LOOKUP_STR(hostname, config->args, "-hostname", false, false);
    911911    PXOPT_LOOKUP_F32(good_frac, config->args, "-good_frac", false, false);
    912     PXOPT_LOOKUP_BOOL(ignore, config->args, "-ignore", false);
     912    PXOPT_LOOKUP_BOOL(accept, config->args, "-accept", false);
    913913
    914914    // default values
     
    940940                           ymin,
    941941                           ymax,
    942                            ignore,
     942                           !accept,
    943943                           code
    944944        )) {
  • trunk/ippTools/src/warptoolConfig.c

    r19931 r20300  
    235235    psMetadataAddStr(addwarpedArgs, PS_LIST_TAIL, "-hostname", 0,            "define hostname", 0);
    236236    psMetadataAddF32(addwarpedArgs, PS_LIST_TAIL, "-good_frac",  0,            "define %% of good pixels", NAN);
    237     psMetadataAddBool(addwarpedArgs, PS_LIST_TAIL, "-ignore",  0,            "define if this skycell should be ignored", false);
     237    psMetadataAddBool(addwarpedArgs, PS_LIST_TAIL, "-accept",  0, "define if this skycell should be accepted", false);
    238238    psMetadataAddS16(addwarpedArgs, PS_LIST_TAIL, "-code",  0,            "set fault code", 0);
    239239
Note: See TracChangeset for help on using the changeset viewer.