[ ESO ] [ ST-ECF ]

Science Archive
Stand-alone FITS Tools in ANSI C

Archive Facility HOME ESO HOME

You will find here stand-alone FITS tools, i.e. short ANSI C programs which perform some of the usual stuff people need on FITS files, without need to launch any data processing environment.

All the following programs are stand-alone: they do not need any external library to compile. It is recommended however, to use the same machine for program compilation and execution, since some of the machine characteristics are hardcoded into the binary at compilation time (size of standard types, endian-ness and so on).

To compile these tools, you need an ANSI C compiler on your machine. You should be able to find one on any Unix flavour. These programs make heavy use of Unix-specific functions, they are not supported on any Operating System that is not Unix-like.

Example: to compile hierarch28 you need to type:

- On Linux, Solaris, IRIX, Dec, Ultrix, AIX, HPUX 11:
  cc -o hierarch28 hierarch28.c

- On HPUX 8, 9, and 10:
  cc -o hierarch28 hierarch28.c -Ae

  You can replace 'cc' by 'gcc' or 'acc' or any compliler,
  provided it can compile ANSI C.

You will find here:

hierarch28 a tool to convert HIERARCH ESO keywords.
dfits a tool to display FITS headers.
fitsort a tool to sort information from dfits output.
fitsmd5 a tool give a unique ID to a FITS frame, based on the contents of all data sections in the file.
iofits a tool to convert FITS files between BITPIX values.
replacekey a tool to replace keys in a FITS files.
qfits a stand-alone general purpose FITS library.

 [ESO Web Site]  [Search]  [Help]  [News]