- Timestamp:
- May 3, 2010, 8:50:52 AM (16 years ago)
- Location:
- branches/simtest_nebulous_branches
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/simtest_nebulous_branches
- Property svn:mergeinfo changed
-
branches/simtest_nebulous_branches/ppSub/src
- Property svn:ignore
-
old new 13 13 ppSubErrorCodes.c 14 14 ppSubVersionDefinitions.h 15 ppSubConvolve
-
- Property svn:ignore
-
branches/simtest_nebulous_branches/ppSub/src/ppSubReadoutSubtract.c
r24862 r27840 71 71 pmFPA *outFPA = outFile->fpa; // Output FPA 72 72 if (!pmConceptsCopyFPA(outFPA, inFPA, true, true)) { 73 psError(P S_ERR_UNKNOWN, false, "Unable to copy concepts from input to output.");73 psError(PPSUB_ERR_CONFIG, false, "Unable to copy concepts from input to output."); 74 74 psFree(outRO); 75 75 psFree(view); … … 84 84 psFree(view); 85 85 if (!outHDU || !inHDU) { 86 psError(P S_ERR_UNKNOWN, false, "Unable to find HDU at FPA level to copy astrometry.");86 psError(PPSUB_ERR_PROG, true, "Unable to find HDU at FPA level to copy astrometry."); 87 87 return false; 88 88 } 89 89 if (!pmAstromReadWCS(outFPA, outChip, inHDU->header, 1.0)) { 90 psError( PS_ERR_UNKNOWN, false, "Unable to read WCS astrometry from input FPA.");90 psError(psErrorCodeLast(), false, "Unable to read WCS astrometry from input FPA."); 91 91 return false; 92 92 } 93 93 if (!pmAstromWriteWCS(outHDU->header, outFPA, outChip, WCS_TOLERANCE)) { 94 psError( PS_ERR_UNKNOWN, false, "Unable to write WCS astrometry to output FPA.");94 psError(psErrorCodeLast(), false, "Unable to write WCS astrometry to output FPA."); 95 95 return false; 96 96 }
Note:
See TracChangeset
for help on using the changeset viewer.
