next up previous contents FITSIO Home
Next: 2.1 WRITEIMAGE - write Up: CFITSIO Previous: 1.4.6 Error Status Values   Contents

2. Example FITSIO Programs

The following sections give listings and descriptions of various working programs that manipulate FITS files. The source code for all these routines is available from the FITSIO anonymous ftp site at heasarc.gsfc.nasa.gov in the file /software/fitsio/cookbook.f. Programmers may freely use or modify any of these programs as they wish for their own purposes on the understanding that they are provided without warranty. Any bugs, problems, or suggestions regarding these programs should be sent to the author at internet address pence@tetra.gsfc.nasa.gov.

For each program the source listing is given on the right-hand page, with annotated comments on the facing page. The number of each comment corresponds to the statement number in the program listing.



Subsections