[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

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


FXFINDEND Source code in fxfindend.pro

FXFINDEND

Name
       FXFINDEND
Purpose
       Find the end of a FITS file.
Explanation
       This routine finds the end of the last logical record in a FITS file,
       which may be different from that of the physical end of the file.  Each
       FITS header is read in and parsed, and the file pointer is moved to
       where the next FITS extension header would be if there is one, or to
       the end of the file if not.
Calling Sequence
       FXFINDEND, UNIT [, EXTENSION]
Input Parameters
       UNIT    = Logical unit number for the opened file.
Optional Input Parameters
       None.
Output Parameters
       None.
Optional Output
       EXTENSION = The extension number that a new extension would
                   have if placed at the end of the file.
Keyword Parameters
       None.
Procedures Used
       FXHREAD, FXPAR
Common Blocks
       None.
Restrictions
       The file must have been opened for block I/O.  There must not be any
       FITS "special records" at the end of the file.
Side Effects
       None.
Category
       Data Handling, I/O, FITS, Generic.
History
       William Thompson, Feb. 1992.
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
       Added EXTENSION parameter, CM 1999 Nov 18

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