Changeset 23688 for trunk/pswarp/src/pswarpArguments.c
- Timestamp:
- Apr 2, 2009, 2:51:37 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
pswarp/src/pswarpArguments.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/pap (added) merged: 23511,23520-23521,23532,23578-23581,23596-23599,23603-23604,23606-23608,23619-23621,23638-23639,23641,23646-23648,23651-23653,23656,23672-23674,23677-23684
- Property svn:mergeinfo changed
-
trunk/pswarp/src/pswarpArguments.c
r23314 r23688 163 163 } 164 164 165 float acceptFrac = psMetadataLookupF32(&status, recipe, "ACCEPT.FRAC"); ///< Min fraction of good pixels166 if (!status) {167 acceptFrac = 0.0;168 psWarning("ACCEPT.FRAC is not set in the %s recipe --- defaulting to %f.", PSWARP_RECIPE, poorFrac);169 }170 171 165 // Set recipe values in the recipe (since we've possibly altered some) 172 166 psMetadataAddS32(recipe, PS_LIST_TAIL, "GRID.NX", PS_META_REPLACE, … … 180 174 psMetadataAddF32(recipe, PS_LIST_TAIL, "POOR.FRAC", PS_META_REPLACE, 181 175 "Fraction of bad flux for a pixel to be marked as poor", poorFrac); 182 psMetadataAddF32(recipe, PS_LIST_TAIL, "ACCEPT.FRAC", PS_META_REPLACE,183 "Minimum fraction of good pixels for result to be accepted", acceptFrac);184 176 185 177 // Set recipe values in the arguments … … 194 186 psMetadataAddF32(config->arguments, PS_LIST_TAIL, "POOR.FRAC", 0, 195 187 "Fraction of bad flux for a pixel to be marked as poor", poorFrac); 196 psMetadataAddF32(config->arguments, PS_LIST_TAIL, "ACCEPT.FRAC", 0,197 "Minimum fraction of good pixels for result to be accepted", acceptFrac);198 188 199 189 psTrace("pswarp", 1, "Done with pswarpArguments...\n");
Note:
See TracChangeset
for help on using the changeset viewer.
