Read FITS binary tables
Program is written in C and should build in any environment using standard build methods. Just be sure to -l the cfitsio library and to -I its directory
fname > output
fname: Filename to FITS file to read PA values
Results are printed to stdout, so redirect is necessary (to 'output').
0 - Normal termination
-1 - FITS table not a binary table
-2 - Could not find specified key
-3 - Column is not a floating point table
Other - CFITSIO exit codes