IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 4, 2008, 3:48:21 PM (18 years ago)
Author:
eugene
Message:

check same recipe element for creating XSRC/XFIT as for performing analysis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080324/psModules/src/objects/pmSourceIO.c

    r17010 r17326  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.55 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2008-03-17 22:04:27 $
     5 *  @version $Revision: 1.55.2.1 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2008-04-05 01:48:21 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    327327
    328328        // if this is not TRUE, the output files only contain the psf measurements.
    329         bool XSRC_OUTPUT = psMetadataLookupBool(&status, recipe, "SAVE.XSRC");
    330         bool XFIT_OUTPUT = psMetadataLookupBool(&status, recipe, "SAVE.XFIT");
     329        bool XSRC_OUTPUT = psMetadataLookupBool(&status, recipe, "EXTENDED_SOURCE_ANALYSIS");
     330        bool XFIT_OUTPUT = psMetadataLookupBool(&status, recipe, "EXTENDED_SOURCE_FITS");
    331331
    332332        // define the EXTNAME values for the different data segments:
     
    445445            if (xsrcname) {
    446446              if (!strcmp (exttype, "PS1_DEV_1")) {
    447                 status = pmSourcesWrite_PS1_DEV_1_XSRC (file->fits, sources, xsrcname);
     447                status = pmSourcesWrite_PS1_DEV_1_XSRC (file->fits, sources, xsrcname, recipe);
    448448              }
    449449            }
     
    457457                psFree (headname);
    458458                psFree (dataname);
     459                psFree (xsrcname);
     460                psFree (xfitname);
    459461                psFree (outhead);
    460462                return false;
     
    466468        psFree (headname);
    467469        psFree (dataname);
     470        psFree (xsrcname);
     471        psFree (xfitname);
    468472        psFree (outhead);
    469473        break;
Note: See TracChangeset for help on using the changeset viewer.