Changeset 15423 for trunk/ppSub/src/ppSubReadout.c
- Timestamp:
- Oct 31, 2007, 11:19:00 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSubReadout.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSubReadout.c
r15409 r15423 160 160 } else { 161 161 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(); 170 167 } 171 168 }
Note:
See TracChangeset
for help on using the changeset viewer.
