HDR_IN[x]

Read a header item

Description:

This subroutine returns the value of a header item.

The [x] part of the name is optional. If used [x] indicates the data type (one of R, D, I, L or C, the default is C) the item is to be returned in. So for instance if you want an item with type REAL, the subroutine that you should call is HDR_INR.

Invocation

CALL HDR_IN[x]( PARAM, XNAME, ITEM, COMP, VALUE, STATUS )

Arguments

PARAM = CHARACTER ∗ ( ∗ ) (Given)
Parameter name of the image (case insensitive).
XNAME = CHARACTER ∗ ( ∗ ) (Given)
Source of the header information (’FITS’ or ’’ for FITS headers).
ITEM = CHARACTER ∗ ( ∗ ) (Given)
Name of the header item.
COMP = INTEGER (Given)
The component of a multiple FITS header item (’HISTORY’ and ’COMMENT’ items often have many occurrences). The number of occurrences may be queried using the HDR_NUMB subroutine.
VALUE = ? (Given and Returned)
The value. This is unmodified if the item doesn’t exist.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: