IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 28, 2007, 3:37:48 PM (19 years ago)
Author:
eugene
Message:

adding extended parameters to source; adding astrometry table for I/O; adding extended source table to PS1_DEV_1

File:
1 edited

Legend:

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

    r15359 r15398  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.52.2.1 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2007-10-23 20:54:53 $
     5 *  @version $Revision: 1.52.2.2 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2007-10-29 01:37:48 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    286286        // get the current header
    287287        hdu = pmFPAviewThisHDU (view, file->fpa);
     288
     289        // determine the output table format
     290        psMetadata *recipe = psMetadataLookupMetadata(&status, config->recipes, "PSPHOT");
     291        if (!status) {
     292          psError(PS_ERR_UNKNOWN, true, "missing recipe PSPHOT in config data");
     293          return false;
     294        }
     295
     296        // if this is not TRUE, the output files only contain the psf measurements.
     297        bool XSRC_OUTPUT = psMetadataLookupBool(&status, recipe, "SAVE.XSRC");
    288298
    289299        // define the EXTNAME values for the different data segments:
     
    362372            outhead = psMetadataAlloc ();
    363373
    364             // determine the output table format
    365             psMetadata *recipe = psMetadataLookupMetadata(&status, config->recipes, "PSPHOT");
    366             if (!status) {
    367                 psError(PS_ERR_UNKNOWN, true, "missing recipe PSPHOT in config data");
    368                 return false;
    369             }
    370374            exttype = psMemIncrRefCounter (psMetadataLookupStr(&status, recipe, "OUTPUT.FORMAT"));
    371375            if (!exttype) {
Note: See TracChangeset for help on using the changeset viewer.