IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6719


Ignore:
Timestamp:
Mar 28, 2006, 1:17:18 PM (20 years ago)
Author:
magnier
Message:

fixed psFitsWriteHeader to output COMMENT and HISTORY fields

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rel10_ifa/psLib/src/fits/psFitsHeader.c

    r6597 r6719  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.2.4.1 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2006-03-16 01:00:42 $
     9 *  @version $Revision: 1.2.4.2 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2006-03-28 23:17:18 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    275275            break;
    276276        case PS_DATA_STRING:
     277            if (!strcmp (item->name, "COMMENT")) {
     278                fits_write_comment(fits->fd, item->comment, &status);
     279                break;
     280            }
     281            if (!strcmp (item->name, "HISTORY")) {
     282                fits_write_history(fits->fd, item->comment, &status);
     283                break;
     284            }
    277285            fits_update_key(fits->fd,
    278286                            TSTRING,
Note: See TracChangeset for help on using the changeset viewer.