[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Waldhäuser Str. 64, D-72076 Tübingen, Germany
[Uni logo]


FXHREAD Source code in fxhread.pro

FXHREAD

Name
       FXHREAD
Purpose
       Reads a FITS header from an opened disk file.
Explanation
       Reads a FITS header from an opened disk file.
Calling Sequence
       FXHREAD, UNIT, HEADER  [, STATUS ]
Input Parameters
       UNIT    = Logical unit number.
Optional Input Parameters

Output Parameters
       HEADER  = String array containing the FITS header.
Optional Output
       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).
Keyword Parameters
       None.
Procedures Used
       None.
Common Blocks
       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.
History
       W. Thompson, Feb 1992, from READFITS by J. Woffard and W. Landsman.
       W. Thompson, Aug 1992, added test for SIMPLE keyword.
Author
       William Thompson, GSFC, February 1992.
Revision History
       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

Last modified by pro2html on 2001 April 26 at 03:12 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically