cfitsio

C library for reading and writing FITS data files

brewmacoslinux
Try with needOr install directly
Source

About

C access to FITS data files with optional Fortran wrappers

Commands

fitscopyfitsheadfitsverify

Examples

Display header information from a FITS file$ fitshead image.fits
Verify the integrity of a FITS file$ fitsverify data.fits
Copy and transform a FITS file$ fitscopy input.fits output.fits