IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 8, 2008, 5:30:18 PM (18 years ago)
Author:
Paul Price
Message:

Ensure psphot defines an output file for the PSF.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarpParseCamera.c

    r14899 r17599  
    9999        }
    100100
     101        // Ensure psphot defines an output file for the PSF.
     102        psMetadata *psphotRecipe = psMetadataLookupPtr(NULL, config->recipes, PSPHOT_RECIPE); // Recipe
     103        if (!psphotRecipe) {
     104            psError(PS_ERR_UNEXPECTED_NULL, false, "Unable to find %s recipe.", PSPHOT_RECIPE);
     105            return false;
     106        }
     107        psMetadataAddBool(psphotRecipe, PS_LIST_TAIL, "SAVE.PSF", PS_META_REPLACE, "Save PSF?", true);
     108
    101109        // Define associated psphot input/output files
    102110        if (!psphotDefineFiles(config, psphotInput)) {
Note: See TracChangeset for help on using the changeset viewer.