F I T S E T
Function:
Figaro routine to set (or modify) a FITS keyword in a file.
Description:
This routine allows a FITS keyword in a file to be set or, if it
already exists, to be modified. This routine is needed mainly because
of the difficulty of changing items in a FITS header when the file
in question is in NDF format. (A .DST file has the FITS information
in separate structure items which can easily be modified using LET,
but an NDF format file has all the FITS keywords in a single
character array which is not amenable to such changes.)
Invocation:
FITSET file keyword value comment [logical] [string]
Parameters:
file (Filename) The name of the Figaro format file in which the
keyword is to be set.
keyword (Character string) The name of the FITS keyword that is to be
set.
value (Character string) The new value of the FITS keyword. If
this can be interpreted as a numeric value it will be set as
such. Otherwise it will be kept as a character string.
comment (Character string) The comment to be associated with the
keyword.
logical (Keyword) If set, forces the value to be treated as a logical
value, in which case it must be one of 'T' or 'F' and will
be set as such in the output file.
string (Keyword) If set, forces the value to be treated as a literal
string; in this case it will not be treated as a number even if
it can be.
Keith Shortridge, AAO.
FIGARO A general data reduction system