Changeset 24257
- Timestamp:
- May 26, 2009, 5:51:51 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
ppSub/src/ppSubMatchPSFs.c (modified) (1 diff)
-
psModules/src/config/pmErrorCodes.dat (modified) (1 diff)
-
psModules/src/imcombine/pmSubtractionMask.c (modified) (2 diffs)
-
psModules/src/imcombine/pmSubtractionMatch.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSubMatchPSFs.c
r24181 r24257 166 166 ppSubDataQuality(data, error, PPSUB_FILES_ALL); 167 167 return true; 168 } else if (error == PM_ERR_SMALL_AREA) { 169 psErrorStackPrint(stderr, "Insufficient area for PSF matching"); 170 psWarning("Insufficient area for PSF matching --- suspect bad data quality."); 171 ppSubDataQuality(data, error, PPSUB_FILES_ALL); 172 return true; 168 173 } else { 169 174 psError(PS_ERR_UNKNOWN, false, "Unable to match images."); -
trunk/psModules/src/config/pmErrorCodes.dat
r23688 r24257 12 12 SKY Problem in sky 13 13 STAMPS Unable to select stamps for PSF-matching 14 SMALL_AREA Small area for PSF-matching 14 15 # these errors correspond to standard exit conditions 15 16 ARGUMENTS Incorrect arguments -
trunk/psModules/src/imcombine/pmSubtractionMask.c
r23851 r24257 6 6 #include <pslib.h> 7 7 8 #include "pmErrorCodes.h" 8 9 #include "pmSubtraction.h" 9 10 #include "pmSubtractionKernels.h" … … 78 79 } 79 80 if (numBad > badFrac * numCols * numRows) { 80 psError(P S_ERR_BAD_PARAMETER_VALUE, true,81 psError(PM_ERR_SMALL_AREA, true, 81 82 "Fraction of bad pixels (%d/%d=%f) exceeds limit (%f)\n", 82 83 numBad, numCols * numRows, (float)numBad/(float)(numCols * numRows), badFrac); -
trunk/psModules/src/imcombine/pmSubtractionMatch.c
r24181 r24257 246 246 badFrac, mode); // Subtraction mask 247 247 if (!subMask) { 248 psError( PS_ERR_UNKNOWN, false, "Unable to generate subtraction mask.");248 psError(psErrorCodeLast(), false, "Unable to generate subtraction mask."); 249 249 psFree(kernels); 250 250 psFree(regions);
Note:
See TracChangeset
for help on using the changeset viewer.
