FTS1_WKEYx

Writes a FITS-header card

Description:

This routine writes a FITS-header card using the supplied keyword, value, comment, and comment delimiter. The name may be compound to permit writing of hierarchical keywords.

Invocation

CALL FTS1_WKEYx( NAME, VALUE, CMTBGN, COMNT, HEADER, STATUS )

Arguments

NAME = CHARACTER ( ) (Given)
The name of the keyword to be written. This may be a compound name to handle hierarchical keywords, and it has the form keyword1.keyword2.keyword3 etc. The maximum number of keywords per FITS card is 20. The value is converted to uppercase and blanks are removed before being used. Each keyword must be no longer than 8 characters. The total length must not exceed 48 characters. This is to allow for the value, and indentation into a blank-keyword card (as hierarchical keywords are not standard and so cannot be part of the standard keyword name).
VALUE = ? (Given)
The value of the keyword.
CMTBGN = CHARACTER ( 1 ) (Given)
The character which indicates the beginning of the comment string of to be appended to the keyword. Normally it is / . when it is blank, no comment will be appended to the keyword.
COMNT = CHARACTER ( ) (Returned)
The comment string of the keyword. It may be truncated at the end to put into the space left after writing keyword value.
HEADER = CHARACTER ( 80 ) (Returned)
The created FITS-header card.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: