IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 26, 2009, 5:51:51 PM (17 years ago)
Author:
Paul Price
Message:

Adding new error code to treat bad data quality: SMALL_AREA = insufficient area for PSF-matching (triggers high masked pixel fraction in pmSubtractionMask)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubMatchPSFs.c

    r24181 r24257  
    166166            ppSubDataQuality(data, error, PPSUB_FILES_ALL);
    167167            return true;
     168        } else if (error == PM_ERR_SMALL_AREA) {
     169            psErrorStackPrint(stderr, "Insufficient area for PSF matching");
     170            psWarning("Insufficient area for PSF matching --- suspect bad data quality.");
     171            ppSubDataQuality(data, error, PPSUB_FILES_ALL);
     172            return true;
    168173        } else {
    169174            psError(PS_ERR_UNKNOWN, false, "Unable to match images.");
Note: See TracChangeset for help on using the changeset viewer.