IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 29, 2006, 4:29:59 PM (20 years ago)
Author:
magnier
Message:

adding EXTNAME to psFitsWriteBlank

Location:
trunk/psModules/src/objects
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSourceIO.c

    r8815 r9067  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.10 $ $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 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    240240                outhead = psMetadataCopy (NULL, phu->header);
    241241                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, "");
    243244                file->phu = phu->header;
    244245                psTrace ("pmFPAfile", 5, "wrote phu %s (type: %d)\n", file->filename, file->type);
     
    262263            psMetadataCopy (outhead, updates);
    263264
    264             psFitsWriteBlank (file->fits, outhead);
     265            psFitsWriteBlank (file->fits, outhead, headname);
    265266            psTrace ("pmFPAfile", 5, "wrote ext head %s (type: %d)\n", file->filename, file->type);
    266267            file->header = hdu->header;
  • trunk/psModules/src/objects/pmSourceIO_CMP.c

    r8882 r9067  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.14 $ $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 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    7777        return false;
    7878    }
    79     if (!psFitsWriteBlank(fits, header)) {
     79    // XXX what is the EXTNAME??
     80    if (!psFitsWriteBlank(fits, header, "")) {
    8081        psError(PS_ERR_IO, false, "Writing header to %s\n", filename);
    8182        (void)psFitsClose(fits);
Note: See TracChangeset for help on using the changeset viewer.