IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 31, 2007, 11:19:00 AM (19 years ago)
Author:
Paul Price
Message:

Ensuring WCS problems don't kill the whole process.

File:
1 edited

Legend:

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

    r15409 r15423  
    160160    } else {
    161161        if (!pmAstromReadWCS(outFPA, outCell->parent, refHDU->header, 1.0)) {
    162             psError(PS_ERR_UNKNOWN, false, "Unable to read WCS astrometry from reference FPA.");
    163             psFree(outRO);
    164             return false;
    165         }
    166         if (!pmAstromWriteWCS(outHDU->header, outFPA, outCell->parent, WCS_TOLERANCE)) {
    167             psError(PS_ERR_UNKNOWN, false, "Unable to write WCS astrometry to output FPA.");
    168             psFree(outRO);
    169             return false;
     162            psWarning("Unable to read WCS astrometry from reference FPA.");
     163            psErrorClear();
     164        } else if (!pmAstromWriteWCS(outHDU->header, outFPA, outCell->parent, WCS_TOLERANCE)) {
     165            psWarning("Unable to write WCS astrometry to output FPA.");
     166            psErrorClear();
    170167        }
    171168    }
Note: See TracChangeset for help on using the changeset viewer.