FTS1_QTYPE

Determines the data type of a FITS header value

Description:

This routine takes a FITS header card and determines the HDS data type of the value. If there is no value because there is no equals sign present or the keyword is HISTORY or COMMENT, the type is returned as ’ COMMENT’ .

Invocation

CALL FTS1_QTYPE( CARD, TYPE, STATUS )

Arguments

CARD = CHARACTER ∗ ( ∗ ) (Given)
The FITS header card. It should be 80 character long, but the routine might work with less depending on the length of the value and keyword.
TYPE = CHARACTER ∗ ( ∗ ) (Returned)
The HDS data type of the header’ s value. It is one of the following: ’ _INTEGER’ , ’ _REAL’ , ’ _DOUBLE’ , ’ _LOGICAL’ , ’ _CHAR’ , or ’ COMMENT’ . The length should be at least
STATUS = INTEGER (Given and Returned)
The global status.