- Timestamp:
- Nov 19, 2009, 11:32:06 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20091113/psastro/src/psastroMosaicSetMatch.c
r26167 r26197 26 26 double RADIUS = psMetadataLookupF32 (&status, recipe, radiusWord); 27 27 if (!status) { 28 psError(PS_ERR_IO, false, "Failed to lookup matching radius: %s", radiusWord); 29 psFree (view); 30 return false; 28 psAbort("Failed to lookup matching radius: %s", radiusWord); 29 } 30 31 int uniqIter = psMetadataLookupS32 (&status, recipe, "PSASTRO.MOSAIC.UNIQ.ITER"); 32 if (!status) { 33 psAbort("Failed to lookup matching PSASTRO.MOSAIC.UNIQ.ITER"); 31 34 } 32 35 … … 69 72 psTrace ("psastro", 4, "Matched %ld refstars\n", matches->n); 70 73 74 if (iteration >= uniqIter) { 75 psArray *unique = pmAstromRadiusMatchUniq (rawstars, refstars, matches); 76 if (!unique) { 77 psLogMsg ("psastro", 3, "failed to generate a uniq set of matched sources\n"); 78 return false; 79 } 80 psFree (matches); 81 matches = unique; 82 } 83 71 84 pmAstromVisualPlotMosaicMatches(rawstars, refstars, matches, iteration, recipe); 72 85
Note:
See TracChangeset
for help on using the changeset viewer.
