Note about getting FITS output working:
make sure your shell variable CFITSIO is set to the path where it is installed, on my Ubuntu 13.04 this is CFITSIO=/usr/include:/usr/lib/x86_64-linux-gnu/:/usr/lib (several paths to make sure its correct) and also the LD_LIBRARY_PATH path (e.g. LD_LIBRARY_PATH=$LD_LIBRARY_PATH/usr/include)
So for the RESTFREQ to be printed we need to add it to the routine 'openfits', so edit 'Ratran_install_dir/sky/openfits.f'
first add restfreq to the definition of the routine
SUBROUTINE openfits(lout,outname,naxis,naxes,status) to
SUBROUTINE openfits(lout,outname,naxis,naxes,status,restfreq) then define the type
DOUBLE PRECISION restfreq this should be added after the d…