- Timestamp:
- Oct 28, 2007, 3:37:48 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20071023/psModules/src/objects/pmSourceIO.c
r15359 r15398 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1.52.2. 1$ $Name: not supported by cvs2svn $6 * @date $Date: 2007-10-2 3 20:54:53$5 * @version $Revision: 1.52.2.2 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2007-10-29 01:37:48 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 286 286 // get the current header 287 287 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"); 288 298 289 299 // define the EXTNAME values for the different data segments: … … 362 372 outhead = psMetadataAlloc (); 363 373 364 // determine the output table format365 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 }370 374 exttype = psMemIncrRefCounter (psMetadataLookupStr(&status, recipe, "OUTPUT.FORMAT")); 371 375 if (!exttype) {
Note:
See TracChangeset
for help on using the changeset viewer.
