next up previous 530
Next: FITSEXIST - Inquires whether or not a keyword exists in a FITS extension
Up: Specifications of KAPPA applications
Previous: FITSDIN - Reads a FITS disc file composed of simple, group or table objects


FITSEDIT - Edits the FITS extension of an NDF

Description:
This procedure allows you to use your favourite editor to modify the FITS headers stored 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 one.

Usage:
fitsedit ndf

Parameters:
NDF = NDF (Read)
The name of the NDF whose FITS extension is to be edited.

Examples:
fitsedit m51b
This allows editing of the FITS headers in the NDF called m51b.

Notes:
  • 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.


Related Applications :
KAPPA: FITSMOD, FITSEXP, FITSHEAD, FITSIMP, FITSLIST; FIGARO: FITSKEYS.



next up previous 530
Next: FITSEXIST - Inquires whether or not a keyword exists in a FITS extension
Up: Specifications of KAPPA applications
Previous: FITSDIN - Reads a FITS disc file composed of simple, group or table objects

KAPPA --- Kernel Application Package
Starlink User Note 95
Malcolm J. Currie & David S. Berry
2013 February 14
E-mail:starlink@jiscmail.ac.uk

Copyright © 2013 Science and Technology Facilities Council