Changeset 23580 for branches/pap/ppStack/src/ppStackPhotometry.c
- Timestamp:
- Mar 27, 2009, 4:46:10 PM (17 years ago)
- File:
-
- 1 edited
-
branches/pap/ppStack/src/ppStackPhotometry.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/ppStack/src/ppStackPhotometry.c
r23462 r23580 69 69 70 70 if (!psphotReadoutKnownSources(config, photView, inSources)) { 71 // Clear the error, so that the output files are written. 72 psError(PS_ERR_UNKNOWN, false, "Unable to perform photometry on stacked image."); 73 psFree(photView); 74 return false; 71 // This is likely a data quality issue 72 // XXX Split into multiple cases using error codes? 73 psErrorStackPrint("Unable to perform photometry on image"); 74 psWarning("Unable to perform photometry on image --- suspect bad data quality."); 75 if (stats && psMetadataLookupS32(NULL, stats, "QUALITY") == 0) { 76 psMetadataAddS32(stats, PS_LIST_TAIL, "QUALITY", PS_META_REPLACE, 77 "Unable to perform photometry on image", psErrorCodeLast()); 78 } 79 psErrorClear(); 80 psphotFilesActivate(config, false); 75 81 } 76 82
Note:
See TracChangeset
for help on using the changeset viewer.
