Re: reading a fits file header

From: John Houck <houck>
Date: Tue, 18 Mar 2003 14:04:39 -0500
On Tue, Mar 18, 2003 at 13:16 -0500, Francis A. Primini wrote:
> isis> foo=fits_read_header(fp);
> Not implemented
> Fits_File_Type
> isis> 
> 
> Are these routines really not there yet, or am I missing something?
> 

Hi Frank,

That's correct, the fits_read_header() function is not
yet implemented.

To read one or more specific header keywords, one can
use either of these routines:

   struct = fits_read_key_struct (file, X_KEY, ...)
   (x,...) = fits_read_key (file, X_KEY, ...)

For example:

isis> x = fits_read_key_struct ("arf.fits", "DATE", "EXPOSURE");             
isis> print(x);                                                   
    date = 2003-03-02T17:54:00
    exposure = 29079.8


-John
----
You received this message because you are
subscribed to the isis-users list.
To unsubscribe, send a message to
isis-users-request_at_email.domain.hiddenwith the first line of the message as:
unsubscribe
Received on Tue Mar 18 2003 - 14:05:41 EST

This archive was generated by hypermail 2.2.0 : Thu Mar 15 2007 - 08:45:50 EDT