IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 25, 2008, 12:43:24 PM (18 years ago)
Author:
Paul Price
Message:

Adding output for target PSF.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackCamera.c

    r19017 r19194  
    350350    }
    351351
     352    if (havePSFs) {
     353        pmFPAfile *targetPSF = pmFPAfileDefineOutput(config, output->fpa, "PPSTACK.TARGET.PSF");
     354        if (!targetPSF) {
     355            psError(PS_ERR_IO, false, _("Unable to generate output file from PPSTACK.TARGET.PSF"));
     356            return false;
     357        }
     358        if (targetPSF->type != PM_FPA_FILE_PSF) {
     359            psError(PS_ERR_IO, true, "PPSTACK.TARGET.PSF is not of type PSF");
     360            return false;
     361        }
     362    }
     363
    352364    psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, PPSTACK_RECIPE); // Recipe for ppSim
    353365    if (!recipe) {
Note: See TracChangeset for help on using the changeset viewer.