Installation¶
Instructions¶
The easiest way to get everything installed is to use conda command line tool:
$ conda install -c conda-forge pygrib
If you don’t use conda, be sure you have the required dependencies installed first. Then, install cftime with pip:
$ ECCODES_DIR=path/to/eccodes pip install pygrib
where $ECCODES_DIR
is the path to the directory containing include/grib_api.h
and lib/libeccodes.so
. If ECCODES_DIR
is not specified, a few common locations
such as $CONDA_PREFIX,/usr,/usr/local,/opt/local
will be searched..