- Timestamp:
- Apr 21, 2014, 5:42:34 AM (12 years ago)
- Location:
- branches/eam_branches/ps2-tc3-20130727
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppSub/src/ppSubMatchPSFs.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ps2-tc3-20130727
- Property svn:mergeinfo changed
-
branches/eam_branches/ps2-tc3-20130727/ppSub/src/ppSubMatchPSFs.c
r35240 r36680 57 57 if (!pmFPACopy(photFile->fpa, ro->parent->parent->parent)) { 58 58 psError(PPSUB_ERR_CONFIG, false, "Unable to copy FPA for photometry"); 59 return false;59 return NAN; 60 60 } 61 61 … … 76 76 psWarning("Unable to determine PSF."); 77 77 psFree(view); 78 return true;78 return NAN; 79 79 } 80 80 psFree(view); … … 156 156 psLogMsg("ppSub", PS_LOG_INFO, "Input FWHM: %f\nReference FWHM: %f\n", inFWHM, refFWHM); 157 157 if (!isfinite(inFWHM) || !isfinite(refFWHM)) { 158 #ifdef SET_QUALITY_INSTEAD_OF_ERROR 159 psErrorStackPrint(stderr, "Cannot determine FHWM for images, giving up."); 160 int error = psErrorCodeLast(); // Error code 161 ppSubDataQuality(data, error, PPSUB_FILES_ALL); 162 return true; 163 #else 158 164 psError(PPSUB_ERR_DATA, false, "Cannot determine FHWM for images, giving up."); 159 165 return false; 166 #endif 160 167 } 161 168
Note:
See TracChangeset
for help on using the changeset viewer.
