The project is separated into three parts:
…is written for Python 3 (though is compatible with Python 2) and needs Cython:
$ virtualenv venv
$ source venv/bin/activate
$ pip install cython
$ python setup.py build_ext --inplace
The last line (re-)builds the Cython extensions, and needs to be run again after modifying any .pyx files.
The downloader uses gevent, so we are (disappointingly) restricted to running it under Python 2 for now.
At the time of writing, pygrib head did not work (in contrast to an earlier version), and both have a broken setup.py. Therefore, we need to install numpy first, and pyproj separately:
$ sudo aptitude install libevent-dev libgrib-api-dev
$ virtualenv -p python2 venv
$ source venv/bin/activate
$ pip install numpy
$ pip install pygrib==1.9.6 pyproj 'gevent<1.0'