Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unrecognized engine cfgrib in xarray.open_dataset #299

Open
ibkvictor opened this issue May 1, 2022 · 2 comments
Open

Unrecognized engine cfgrib in xarray.open_dataset #299

ibkvictor opened this issue May 1, 2022 · 2 comments

Comments

@ibkvictor
Copy link

I keep getting the unrecognized engine error with:
import xarray as xr
ds = xr.open_dataset('data.grib', engine='cfgrib')

I have the following installed on python 3.7.13, Linux GCC 7.5.0:

pygrib
libgeos-dev
ecmwflibs
eccodes
cfgrib
@petergarnaes
Copy link

Have you read the 'System dependencies' section under the eccodes page? https://pypi.org/project/eccodes/

If you haven't installed the system dependencies it will not work.

@wdwzytc
Copy link

wdwzytc commented Jun 11, 2024

I had similar problem on Windows using pip:
ValueError: unrecognized engine cfgrib must be one of: ['scipy', 'store']

This worked for me, simply use conda:
conda install -c conda-forge cfgrib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants