IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 13, 2008, 2:48:45 PM (18 years ago)
Author:
Paul Price
Message:

Using new function psphotReadoutFindPSF

File:
1 edited

Legend:

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

    r18924 r20115  
    9999        // This file, PSPHOT.INPUT, is just used as a carrier; output files (eg, PSPHOT.RESID) are defined by
    100100        // psphotDefineFiles
    101         pmFPAfile *psphotInput = pmFPAfileDefineSkycell(config, output->fpa, "PSPHOT.INPUT");
     101        pmFPAfile *psphotInput = pmFPAfileDefineSkycell(config, NULL, "PSPHOT.INPUT");
    102102        if (!psphotInput) {
    103103            psError(PS_ERR_IO, false, _("Unable to generate output file from PSPHOT.INPUT"));
     104            return false;
     105        }
     106        psphotInput->src = psMemIncrRefCounter(output->fpa);
     107
     108        pmFPAfile *psphotInSources = pmFPAfileDefineSkycell(config, psphotInput->fpa, "PSPHOT.INPUT.CMF");
     109        if (!psphotInSources) {
     110            psError(PS_ERR_IO, false, _("Unable to generate output file from PSPHOT.INPUT.CMF"));
    104111            return false;
    105112        }
Note: See TracChangeset for help on using the changeset viewer.