FXHREAD
Name
FXHREAD
Purpose
Reads a FITS header from an opened disk file.
Explanation
Reads a FITS header from an opened disk file.
Use
FXHREAD, UNIT, HEADER [, STATUS ]
Inputs
UNIT = Logical unit number.
Opt. Inputs :
Outputs
HEADER = String array containing the FITS header.
Opt. Outputs:
STATUS = Condition code giving the status of the read. Normally, this
is zero, but is set to !ERR if an error occurs, or if the
first byte of the header is zero (ASCII null).
Keywords
None.
Calls
None.
Common :
None.
Restrictions
The file must already be positioned at the start of the header. It
must be a proper FITS file.
Side Effects
The file ends by being positioned at the end of the FITS header, unless
an error occurs.
Category
Data Handling, I/O, FITS, Generic.
Prev. Hist. :
W. Thompson, Feb 1992, from READFITS by J. Woffard and W. Landsman.
W. Thompson, Aug 1992, added test for SIMPLE keyword.
Written :
William Thompson, GSFC, February 1992.
Modified :
Version 1, William Thompson, GSFC, 12 April 1993.
Incorporated into CDS library.
Version
Version 1, 12 April 1993.
Converted to IDL V5.0 W. Landsman September 1997