Changeset 13109 for trunk/pswarp/src/pswarpDefine.c
- Timestamp:
- May 1, 2007, 12:22:03 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarpDefine.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpDefine.c
r12826 r13109 65 65 } 66 66 if (bilevelAstrometry) { 67 pmAstromReadBilevelMosaic (skycell->fpa, phu->header); 68 pmAstromReadBilevelChip (chip, hdu->header); 67 if (!pmAstromReadBilevelMosaic (skycell->fpa, phu->header)) { 68 psError(PS_ERR_UNKNOWN, false, "Unable to read bilevel mosaic astrometry for skycell."); 69 psFree(view); 70 return false; 71 } 72 if (!pmAstromReadBilevelChip (chip, hdu->header)) { 73 psError(PS_ERR_UNKNOWN, false, "Unable to read bilevel chip astrometry for skycell."); 74 psFree(view); 75 return false; 76 } 69 77 } else { 70 78 // we use a default FPA pixel scale of 1.0 71 pmAstromReadWCS (skycell->fpa, chip, hdu->header, 1.0); 79 if (!pmAstromReadWCS (skycell->fpa, chip, hdu->header, 1.0)) { 80 psError(PS_ERR_UNKNOWN, false, "Unable to read WCS astrometry for skycell."); 81 psFree(view); 82 return false; 83 } 72 84 } 73 85
Note:
See TracChangeset
for help on using the changeset viewer.
