There are two options for installation given below. Try to install the Full installation of pyrrtm first. If you run into difficulties, try installing the pyrrtm with NetCDF only instead (has exactly the same functionality but with some performance overhead). See Native Interface to the RRTM Code for details on the differences between the two installations.
Requires:
To download and compile:
$ git clone https://github.com/tomflannaghan/pyrrtm.git
$ cd pyrrtm
$ make pymodule_native
To test:
$ make test
To install:
$ make pymodule_install
This may require sudo or root privileges.
Warning
I have had some issues with old compilers. Best results come from recent versions of gfortran. Always test this build with make test. If the tests fail, install pyrrtm with NetCDF only instead.
Requires:
To download and compile:
$ git clone https://github.com/tomflannaghan/pyrrtm.git
$ cd pyrrtm
$ make pymodule_netcdf
To test:
$ make test
To install:
$ make pymodule_install
This may require sudo or root privileges.