Changeset 18653 for trunk/ppStack/src/ppStackCamera.c
- Timestamp:
- Jul 21, 2008, 4:01:59 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackCamera.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackCamera.c
r18346 r18653 350 350 } 351 351 352 psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, PPSTACK_RECIPE); // Recipe for ppSim 353 if (!recipe) { 354 psError(PS_ERR_UNEXPECTED_NULL, false, "Unable to find recipe %s", PPSTACK_RECIPE); 355 return false; 356 } 352 357 353 358 // For photometry, we operate on the chip-mosaicked image 354 359 // we create a copy of the mosaicked image for psphot so we can write out a clean image 355 360 bool mdok = false; 356 bool doPhotom = psMetadataLookupBool(&mdok, config->arguments, "PHOTOMETRY"); // perform photometry 361 bool doPhotom = psMetadataLookupBool(&mdok, recipe, "PHOTOMETRY") || 362 psMetadataLookupBool(&mdok, config->arguments, "PHOTOMETRY"); // perform photometry 357 363 if (doPhotom) { 358 364 // This file, PSPHOT.INPUT, is just used as a carrier; output files (eg, PSPHOT.RESID) are defined by
Note:
See TracChangeset
for help on using the changeset viewer.
