Changeset 13109 for trunk/pswarp/src/pswarpDataLoad.c
- Timestamp:
- May 1, 2007, 12:22:03 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarpDataLoad.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpDataLoad.c
r12771 r13109 60 60 } 61 61 if (bilevelAstrometry) { 62 pmAstromReadBilevelMosaic (input->fpa, phu->header); 62 if (!pmAstromReadBilevelMosaic(input->fpa, phu->header)) { 63 psError(PS_ERR_UNKNOWN, false, "Unable to read bilevel mosaic astrometry for input FPA."); 64 psFree(view); 65 return false; 66 } 63 67 } 64 68 … … 74 78 pmHDU *hdu = pmFPAviewThisHDU (view, astrom->fpa); 75 79 if (bilevelAstrometry) { 76 pmAstromReadBilevelChip (chip, hdu->header); 80 if (!pmAstromReadBilevelChip (chip, hdu->header)) { 81 psError(PS_ERR_UNKNOWN, false, "Unable to read bilevel chip astrometry for input FPA."); 82 psFree(view); 83 return false; 84 } 77 85 } else { 78 86 // we use a default FPA pixel scale of 1.0 79 pmAstromReadWCS (input->fpa, chip, hdu->header, 1.0); 87 if (!pmAstromReadWCS (input->fpa, chip, hdu->header, 1.0)) { 88 psError(PS_ERR_UNKNOWN, false, "Unable to read WCS astrometry for input FPA."); 89 psFree(view); 90 return false; 91 } 80 92 } 81 93
Note:
See TracChangeset
for help on using the changeset viewer.
