Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions doc/io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -994,22 +994,20 @@ be done directly from zarr, as described in the
GRIB format via cfgrib
----------------------

xarray supports reading GRIB files via ECMWF cfgrib_ python driver and ecCodes_
C-library, if they are installed. To open a GRIB file supply ``engine='cfgrib'``
xarray supports reading GRIB files via ECMWF cfgrib_ python driver,
if it is installed. To open a GRIB file supply ``engine='cfgrib'``
to :py:func:`open_dataset`:

.. ipython::
:verbatim:

In [1]: ds_grib = xr.open_dataset("example.grib", engine="cfgrib")

We recommend installing ecCodes via conda::
We recommend installing cfgrib via conda::

conda install -c conda-forge eccodes
pip install cfgrib
conda install -c conda-forge cfgrib

.. _cfgrib: https://github.com/ecmwf/cfgrib
.. _ecCodes: https://confluence.ecmwf.int/display/ECC/ecCodes+Home

.. _io.pynio:

Expand Down