Changeset 25538
- Timestamp:
- Sep 24, 2009, 10:06:20 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarpArguments.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpArguments.c
r25518 r25538 158 158 } 159 159 160 bool PSF = psMetadataLookupBool(&status, recipe, "PSF"); ///< Generate a PSF model? 161 if (!status) { 162 PSF = true; 163 psWarning("PSF is not set in the %s recipe --- defaulting to TRUE.", PSWARP_RECIPE); 164 } 165 160 166 // Set recipe values in the recipe (since we've possibly altered some) 161 167 psMetadataAddS32(recipe, PS_LIST_TAIL, "GRID.NX", PS_META_REPLACE, … … 169 175 psMetadataAddF32(recipe, PS_LIST_TAIL, "POOR.FRAC", PS_META_REPLACE, 170 176 "Fraction of bad flux for a pixel to be marked as poor", poorFrac); 177 psMetadataAddBool(recipe, PS_LIST_TAIL, "PSF", PS_META_REPLACE, "Generate a PSF Model?", PSF); 171 178 172 179 // Set recipe values in the arguments … … 181 188 psMetadataAddF32(config->arguments, PS_LIST_TAIL, "POOR.FRAC", 0, 182 189 "Fraction of bad flux for a pixel to be marked as poor", poorFrac); 190 psMetadataAddBool(config->arguments, PS_LIST_TAIL, "PSF", PS_META_REPLACE, "Generate a PSF Model?", PSF); 183 191 184 192 psTrace("pswarp", 1, "Done with pswarpArguments...\n");
Note:
See TracChangeset
for help on using the changeset viewer.
