- Timestamp:
- May 26, 2009, 1:59:32 PM (17 years ago)
- Location:
- branches/cnb_branches/cnb_branch_20090301
- Files:
-
- 4 edited
-
. (modified) (1 prop)
-
ppStack (modified) (1 prop)
-
ppStack/src (modified) (1 prop)
-
ppStack/src/ppStackPhotometry.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/cnb_branches/cnb_branch_20090301
- Property svn:mergeinfo changed
-
branches/cnb_branches/cnb_branch_20090301/ppStack
- Property svn:mergeinfo changed
/branches/pap/ppStack (added) merged: 23580,23597-23598,23648 /trunk/ppStack merged: 23601-23602,23688,23740,23753,23767-23769,23781,23790,23801,23808,23841,23958,23977,24174,24215-24216
- Property svn:mergeinfo changed
-
branches/cnb_branches/cnb_branch_20090301/ppStack/src
- Property svn:ignore
-
old new 9 9 config.h.in 10 10 stamp-h1 11 ppStackVersionDefinitions.h
-
- Property svn:ignore
-
branches/cnb_branches/cnb_branch_20090301/ppStack/src/ppStackPhotometry.c
r23594 r24244 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(stderr, "Unable to perform photometry on image"); 74 psWarning("Unable to perform photometry on image --- suspect bad data quality."); 75 if (options->stats && psMetadataLookupS32(NULL, options->stats, "QUALITY") == 0) { 76 psMetadataAddS32(options->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 … … 88 94 psArray *sources = psMetadataLookupPtr(NULL, photRO->analysis, "PSPHOT.SOURCES"); // Sources 89 95 psMetadataAddS32(options->stats, PS_LIST_TAIL, "NUM_SOURCES", 0, 90 "Number of sources detected", sources ->n);96 "Number of sources detected", sources ? sources->n : 0); 91 97 psMetadataAddF32(options->stats, PS_LIST_TAIL, "TIME_PHOT", 0, 92 98 "Time to do photometry", psTimerMark("PPSTACK_PHOT"));
Note:
See TracChangeset
for help on using the changeset viewer.
