FTS1_FRMT

Obtains the input and output data format for a FITS file

Description:

This is a server routine for FITSIN. It packages up the operations required to define the input and output data formats (HDS types).

Invocation

CALL FTS1_FRMT( BITPIX, IEEE, FMTCNV, BPV, FMTIN, FMTOUT, : STATUS )

Arguments

BITPIX = INTEGER (Given)
The value of the BITPIX keyword in the FITS header, i.e. the number of bits per data value. If it is negative this indicates an IEEE-format file.
IEEE = LOGICAL (Given)
If true the FITS data are in IEEE floating-point format.
FMTCNV = LOGICAL (Given)
If true, format conversion from the integer FITS data to the real output data array is required.
BPV = INTEGER (Returned)
The number of bytes per data value.
FMTIN = CHARACTER ( ) (Returned)
The HDS format of the data in the FITS file.
FMTOUT = CHARACTER ( ) (Returned)
The destination HDS format of the data array in the output file.
STATUS = INTEGER (Given and Returned)
The global status.