next up previous 231
Next: USING IMG FROM C
Up: HDR Fortran subroutines
Previous: HDR_NUMB- Return a header item count


HDR_OUT[x]- Write a header item

Description:
This subroutine writes 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) of the item. So for instance if you want an item with type REAL, the subroutine that you should call is HDR_OUTR.


Invocation:
CALL HDR_OUT[x]( PARAM, XNAME, ITEM, COMMEN, 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.
COMMEN = CHARACTER * ( * ) (Given)
If XNAME is 'FITS' then this is used as a comment, otherwise it is not used.
VALUE = ? (Given)
The value.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:



next up previous 231
Next: USING IMG FROM C
Up: HDR Fortran subroutines
Previous: HDR_NUMB- Return a header item count

IMG Simple Image Data Access
Starlink User Note 160
P.W. Draper
R.F. Warren-Smith
3 March 2003
E-mail:P.W.Draper@durham.ac.uk

Copyright © 2000-2003 Council for the Central Laboratory of the Research Councils