Open joshdorrington opened 2 years ago
Hi @joshdorrington,
I've just installed cfgrib into a mamba environment and it worked ok for me. I think it's worth double-checking that everything is installed where you think it is, e.g. that cfgrib is installed into the same environment that xarray is installed into.
Best regards, Iain
This has been fixed 1 year ago in xarray: https://github.com/pydata/xarray/pull/5959 Consider updating xarray.
Versions and dependencies
I have installed cfgrib using mamba. I have checked that cfgrib is installed correctly:
and I have retrieved the test grib file using wget.
Nature of Error When I run:
xr.open_dataset('era5-levels-members.grib',engine='cfgrib')
I receive an error (posted in full at the bottom) which seems to derive from this object:
EntryPoint(name='cfgrib', value='cfgrib.xarray_plugin:CfGribBackend', group='xarray.backends')
having no attribute 'module_name', which occurs at the bottom of the following stacktrace:xr.open_dataset->plugins.get_backend(engine)->list_engines()->build_engines(entrypoints)->remove_duplicates(entrypoints)
I would appreciate any assistance in getting this working!
Full error message: