Changeset 12398
- Timestamp:
- Mar 9, 2007, 9:03:20 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSourceIO.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSourceIO.c
r11687 r12398 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1.2 1$ $Name: not supported by cvs2svn $6 * @date $Date: 2007-0 2-07 23:58:17$5 * @version $Revision: 1.22 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2007-03-10 07:03:20 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 298 298 } 299 299 300 // save psphot and psastro metadata in the image (not table) header300 // save psphot and psastro metadata in the image and table headers 301 301 updates = psMetadataLookupPtr (&status, readout->analysis, "PSPHOT.HEADER"); 302 302 if (updates) { 303 303 psMetadataCopy (outhead, updates); 304 304 } 305 306 305 updates = psMetadataLookupPtr (&status, readout->analysis, "PSASTRO.HEADER"); 307 306 if (updates) { … … 317 316 // create a header to hold the output data 318 317 outhead = psMetadataAlloc (); 318 319 // save psphot and psastro metadata in the image and table headers 320 // XXX this is a bit silly: we are duplicating these because I'm not sure which 321 // I need to keep for multi-readout images... 322 updates = psMetadataLookupPtr (&status, readout->analysis, "PSPHOT.HEADER"); 323 if (updates) { 324 psMetadataCopy (outhead, updates); 325 } 326 updates = psMetadataLookupPtr (&status, readout->analysis, "PSASTRO.HEADER"); 327 if (updates) { 328 psMetadataCopy (outhead, updates); 329 } 319 330 320 331 exttype = psStringCopy ("SMPDATA"); // XXX derive this from the recipes
Note:
See TracChangeset
for help on using the changeset viewer.
