Changeset 9067
- Timestamp:
- Sep 29, 2006, 4:29:59 PM (20 years ago)
- Location:
- trunk/psModules/src
- Files:
-
- 4 edited
-
camera/pmFPAfileFitsIO.c (modified) (1 diff)
-
camera/pmHDU.c (modified) (1 diff)
-
objects/pmSourceIO.c (modified) (3 diffs)
-
objects/pmSourceIO_CMP.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAfileFitsIO.c
r8815 r9067 157 157 } 158 158 psMetadataAdd (outhead, PS_LIST_TAIL, "EXTEND", PS_DATA_BOOL | PS_META_REPLACE, "this file has extensions", true); 159 psFitsWriteBlank (file->fits, outhead );159 psFitsWriteBlank (file->fits, outhead, ""); 160 160 file->phu = phu->header; 161 161 psTrace ("pmFPAfile", 5, "wrote phu %s (type: %d)\n", file->filename, file->type); -
trunk/psModules/src/camera/pmHDU.c
r8848 r9067 184 184 185 185 // Only a header 186 if (!hdu->images && !hdu->table && !psFitsWriteBlank(fits, hdu->header )) {186 if (!hdu->images && !hdu->table && !psFitsWriteBlank(fits, hdu->header, extname)) { 187 187 psError(PS_ERR_IO, false, "Unable to write header for extension %s\n", extname); 188 188 } -
trunk/psModules/src/objects/pmSourceIO.c
r8815 r9067 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1.1 0$ $Name: not supported by cvs2svn $6 * @date $Date: 2006-09- 15 09:49:01$5 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2006-09-30 02:29:59 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 240 240 outhead = psMetadataCopy (NULL, phu->header); 241 241 psMetadataAddBool (outhead, PS_LIST_TAIL, "EXTEND", PS_META_REPLACE, "this file has extensions", true); 242 psFitsWriteBlank (file->fits, outhead); 242 // XXX what is the EXTNAME?? 243 psFitsWriteBlank (file->fits, outhead, ""); 243 244 file->phu = phu->header; 244 245 psTrace ("pmFPAfile", 5, "wrote phu %s (type: %d)\n", file->filename, file->type); … … 262 263 psMetadataCopy (outhead, updates); 263 264 264 psFitsWriteBlank (file->fits, outhead );265 psFitsWriteBlank (file->fits, outhead, headname); 265 266 psTrace ("pmFPAfile", 5, "wrote ext head %s (type: %d)\n", file->filename, file->type); 266 267 file->header = hdu->header; -
trunk/psModules/src/objects/pmSourceIO_CMP.c
r8882 r9067 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1.1 4$ $Name: not supported by cvs2svn $6 * @date $Date: 2006-09- 22 12:24:38$5 * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2006-09-30 02:29:59 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 77 77 return false; 78 78 } 79 if (!psFitsWriteBlank(fits, header)) { 79 // XXX what is the EXTNAME?? 80 if (!psFitsWriteBlank(fits, header, "")) { 80 81 psError(PS_ERR_IO, false, "Writing header to %s\n", filename); 81 82 (void)psFitsClose(fits);
Note:
See TracChangeset
for help on using the changeset viewer.
