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 legacy.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 firstname.lastname@example.org.
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.