allows you to use your favourite editor to modify the FITS
in an NDF’s FITS extension
. There is limited validation of the FITS headers
after editing. A FITS extension is created if the NDF does not already have
NDF = NDF (Read)
The name of
the NDF whose FITS extension is to be edited.
This allows editing of the FITS headers in the NDF called m51b.
This uses the environmental variable, EDITOR, to select the editor. If this variable is
undefined vi is assumed.
The script lists the headers to a temporary file; allows text editing; and then
replaces the former FITS extension with the modified version, performing some
validation at this stage.