id,node_id,number,title,user,state,locked,assignee,milestone,comments,created_at,updated_at,closed_at,author_association,active_lock_reason,draft,pull_request,body,reactions,performed_via_github_app,state_reason,repo,type 1984115907,I_kwDOAMm_X852QzTD,8430,Trying to read GRIB data,43337673,closed,0,,,2,2023-11-08T17:46:21Z,2023-11-08T17:50:42Z,2023-11-08T17:50:41Z,NONE,,,,"### What happened? I want to read data stored in a GRIB file with xarray. To do so, I tried the following line, as suggested [here](https://docs.xarray.dev/en/stable/examples/ERA5-GRIB-example.html): ```python ds = xr.load_dataset(myinfile, engine=""cfgrib"") ``` But the following error was returned ``` ValueError: unrecognized engine cfgrib must be one of: ['netcdf4', 'h5netcdf', 'scipy', 'store', 'zarr'] ``` Nevertheless, `cfgrib` seems to be well installed, I do not meet any error when I try to import this library alone. How can I set `cfgrib` to be a recognized engine? Thanks in advance for your help ### What did you expect to happen? _No response_ ### Minimal Complete Verifiable Example _No response_ ### MVCE confirmation - [X] Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray. - [ ] Complete example — the example is self-contained, including all data and the text of any traceback. - [ ] Verifiable example — the example copy & pastes into an IPython prompt or [Binder notebook](https://mybinder.org/v2/gh/pydata/xarray/main?urlpath=lab/tree/doc/examples/blank_template.ipynb), returning the result. - [X] New issue — a search of GitHub Issues suggests this is not a duplicate. - [ ] Recent environment — the issue occurs with the latest version of xarray and its dependencies. ### Relevant log output _No response_ ### Anything else we need to know? _No response_ ### Environment
xr.show_versions() INSTALLED VERSIONS ------------------ commit: None python: 3.9.16 (main, Jan 11 2023, 16:05:54) [GCC 11.2.0] python-bits: 64 OS: Linux OS-release: 5.15.0-87-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: ('en_US', 'UTF-8') libhdf5: 1.14.0 libnetcdf: 4.9.2 xarray: 2023.5.0 pandas: 2.0.2 numpy: 1.24.3 scipy: 1.10.1 netCDF4: 1.6.3 pydap: None h5netcdf: 1.2.0 h5py: 3.9.0 Nio: None zarr: 2.16.0 cftime: 1.6.2 nc_time_axis: None PseudoNetCDF: None iris: None bottleneck: 1.3.7 dask: 2023.4.1 distributed: 2023.4.1 matplotlib: 3.7.1 cartopy: 0.21.1 seaborn: None numbagg: None fsspec: 2023.6.0 cupy: None pint: 0.22 sparse: 0.14.0 flox: None numpy_groupies: None setuptools: 67.7.2 pip: 23.1.2 conda: None pytest: None mypy: None IPython: 8.13.2 sphinx: None
","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/8430/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,completed,13221727,issue