Previous:
getdisc_ring
Up:
HEALPix Fortran90 Subroutines Overview
Next:
getsize_fits
Top:
Main Page
getnumext_fits
This routine returns the number of extensions present in a given FITS file.
Location in HEALPix directory tree:
src/f90/mod/fitstools.F90
FORMAT
var=
getnumext_fits
(
filename
)
ARGUMENTS
name & dimensionality
kind
in/out
description
var
I4B
OUT
number of extensions in the FITS file (excluding the primary unit). According to the current format,
HEALPix
files have at least one extension.
filename
(LEN=
filenamelen
)
CHR
IN
filename of the FITS file.
EXAMPLE:
next = getnumext_fits('map.fits')
Returns in
next
the number of extensions present in the FITS file 'map.fits'.
MODULES & ROUTINES
This section lists the modules and routines used by
getnumext_fits
.
fitstools
module, containing:
printerror
routine for printing FITS error messages.
cfitsio
library for FITS file handling.
RELATED ROUTINES
This section lists the routines related to
getnumext_fits
getsize_fits
routine returning the number of data points in a FITS file, as well as much more information on the file.
input_map
routine to read a
HEALPix
FITS file
Previous:
getdisc_ring
Up:
HEALPix Fortran90 Subroutines Overview
Next:
getsize_fits
Top:
Main Page
Version 3.82, 2022-07-28