fits_xread(x, file [, header, ext_header,
Tries to read the FITS file with the name indicated by
file. The data is read into
data, and the
header, if specified.
If the file includes a FITS extension, then its header is read into
ext_header, if specified, and the byte offset of the
extension data from the start of the file in
extvar_preamble is specified, then it must
string containing a preamble to use for the creation of
variables corresponding to data contained in the extension.
Upon success, this function returns a
1, otherwise a
See also: fits_header, fits_read