FITSEXP

Exports NDF-extension information into an NDF FITS extension

Description:

This application places the values of components of an NDF  extension into the FITS extension  within the same NDF. This operation is needed if auxiliary data are to appear in the header of a FITS  file converted from the NDF. The list of extension components whose values are to be copied, their corresponding FITS keyword names, optional FITS inline comments, and the location of the new FITS header are specified in a keyword translation table  held in a separate text file.

Usage:

fitsexp ndf table

Parameters:

NDF = NDF (Read and Write)
The NDF in which the extension data are to be exported to the FITS extension.
TABLE = FILE (Read)
The text file containing the keyword translation table. The format of this file is described under “Table Format”.

Examples:

fitsexp datafile fitstable.txt
This writes new FITS-extension elements for the NDF called datafile, creating the FITS extension if it does not exist. The selection of auxiliary components to export to the FITS extension, their keyword names, locations, and comments are under the control of a keyword translation table held in the file fitstable.txt.

Notes:

Timing

Approximately proportional to the number of FITS keywords to be translated.

Table Format

The keyword translation table should be held in a text file, with one extension component specified per line. Each line should contain two or three fields, separated by spaces and/or tabs, as follows.

Comments may appear at any point in the table and should begin with an exclamation mark. The remainder of the line will then be ignored.

References

"A User’s Guide for the Flexible Image Transport System (FITS)", NASA/Science Office of Science and Technology (1994).

Related Applications

KAPPA: FITSEDIT, FITSHEAD, FITSLIST, FITSMOD; CONVERT: NDF2FITS.

Implementation Status: