idlastro / FITS I/O: FITS_HELP

[Source code]

NAME
FITS_HELP
PURPOSE
To print a summary of the primary data units and extensions in a
FITS file.
CALLING SEQUENCE
FITS_HELP,filename_or_fcb
INPUTS
FILENAME_OR_FCB - name of the fits file or the FITS Control Block (FCB)
        structure returned by FITS_OPEN.     The  file name is allowed 
        to be gzip compressed (with a .gz  extension)
OUTPUTS
A summary of the FITS file is printed.   For each extension, the values
of the XTENSION, EXTNAME EXTVER EXTLEVEL BITPIX GCOUNT, PCOUNT NAXIS 
and NAXIS* keywords are displayed. 
EXAMPLES
FITS_HELP,'myfile.fits'
FITS_OPEN,'anotherfile.fits',fcb
FITS_HELP,fcb
PROCEDURES USED
FITS_OPEN, FITS_CLOSE
HISTORY
Written by:     D. Lindler      August, 1995
Converted to IDL V5.0   W. Landsman   September 1997
Don't truncate EXTNAME values at 10 chars  W. Landsman Feb. 2005
Use V6.0 notation W. Landsman Jan 2012