IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 11, 2009, 7:49:45 AM (17 years ago)
Author:
eugene
Message:

make it optional to set the mask bits for low and/or sat; renamed bad to low internally

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageSetMaskBits.c

    r23535 r23825  
    2727
    2828    // mask for below-range data  (default to RANGE if not defined)
    29     options->badMask = pmConfigMaskGet("LOW", config);
    30     if (!options->badMask) {
    31         // XXX look up old name for backward compatability
    32         options->badMask = pmConfigMaskGet("BAD", config);
     29    options->lowMask = pmConfigMaskGet("LOW", config);
     30    if (!options->lowMask) {
     31        // look up old name for backward compatability
     32        options->lowMask = pmConfigMaskGet("BAD", config);
    3333    }
    34     psAssert (options->badMask, "low mask not set");
     34    psAssert (options->lowMask, "low mask not set");
    3535
    3636    // save MASK and MARK on the PSPHOT recipe
Note: See TracChangeset for help on using the changeset viewer.