ADI2_GKEY0R
Get a keyword value from the buffer structures
Invocation
CALL ADI2_GKEY0R( FID, HDU, KEY, MARK, GETCOM, VALUE, COMNT, STATUS )
Description
Get value of a keyword to be written to a FITS file object from its
keyword buffer, and optionally mark it as committed to disk. The
routine returns the keyword value and optionally the comment.
Arguments
-
FID = INTEGER (given)
ADI identifier of FITSfile object
-
HDU = CHARACTER*(*) (given)
Logical HDU whose keyword this is. Blank for primary
-
KEY = CHARACTER*(*) (given)
Name of the keyword. Same as the FITS keyword name, so should be
less than 9 characters in length
-
MARK = LOGICAL (given)
Mark the keyword as committed to disk
-
GETCOM = LOGICAL (given)
Get the keyword comment value?
-
VALUE = REAL (returned)
The value for the keyword
-
COMNT = CHARACTER*(*) (returned)
The keyword comment, returned if GETCOM is true
-
STATUS = INTEGER (given and returned)
The global status.
References