Changeset 14858
- Timestamp:
- Sep 14, 2007, 5:54:24 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackReadout.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackReadout.c
r14857 r14858 189 189 } else { 190 190 if (!pmAstromReadWCS(outFPA, outCell->parent, hdu->header, 1.0)) { 191 psError(PS_ERR_UNKNOWN, false, "Unable to read WCS astrometry from input FPA."); 192 psFree(stack); 193 psFree(outRO); 194 return false; 195 } 196 if (!outHDU->header) { 197 outHDU->header = psMetadataAlloc(); 198 } 199 if (!pmAstromWriteWCS(outHDU->header, outFPA, outCell->parent, WCS_TOLERANCE)) { 200 psError(PS_ERR_UNKNOWN, false, "Unable to write WCS astrometry to output FPA."); 201 psFree(stack); 202 psFree(outRO); 203 return false; 191 psErrorClear(); 192 psWarning("Unable to read WCS astrometry from input FPA."); 193 } else { 194 if (!outHDU->header) { 195 outHDU->header = psMetadataAlloc(); 196 } 197 if (!pmAstromWriteWCS(outHDU->header, outFPA, outCell->parent, WCS_TOLERANCE)) { 198 psErrorClear(); 199 psWarning("Unable to write WCS astrometry to output FPA."); 200 } 204 201 } 205 202 }
Note:
See TracChangeset
for help on using the changeset viewer.
