Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


  >  Docs Center  >  Libraries  >  ASTROLIB  >  FXFINDEND

FXFINDEND

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.

Use


FXFINDEND, UNIT [, EXTENSION]

Inputs


UNIT = Logical unit number for the opened file.
  Opt. Inputs :
None.

Outputs


None.
  Opt. Outputs:
      EXTENSION = The extension number that a new extension would
                  have if placed at the end of the file.

Keywords


None.

Calls


FXHREAD, FXPAR
  Common :
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.
  Prev. Hist. :
William Thompson, Feb. 1992.
  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
      Added EXTENSION parameter, CM 1999 Nov 18
      Allow for possible 64bit integer number of bytes W. Landsman Nov 2007
      make Ndata a long64 to deal with large files. E. Hivon Mar 2008



© 2018 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us