Institut für Astronomie und AstrophysikAbteilung AstronomieWaldhäuser Str. 64, D-72076 Tübingen, Germany |
FXFINDEND
Find the end of a FITS file.
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.
FXFINDEND, UNIT [, EXTENSION]
UNIT = Logical unit number for the opened file.
None.
None.
EXTENSION = The extension number that a new extension would have if placed at the end of the file.
None.
FXHREAD, FXPAR
None.
The file must have been opened for block I/O. There must not be any FITS "special records" at the end of the file.
None.
Data Handling, I/O, FITS, Generic.
William Thompson, Feb. 1992.
William Thompson, GSFC, February 1992.
Version 1, William Thompson, GSFC, 12 April 1993. Incorporated into CDS library.
Version 1, 12 April 1993. Converted to IDL V5.0 W. Landsman September 1997 Added EXTENSION parameter, CM 1999 Nov 18
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]