You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed cfgrib using mamba. I have checked that cfgrib is installed correctly:
>>python -m cfgrib selfcheck
Found: ecCodes v2.26.0.
Your system is ready.
and I have retrieved the test grib file using wget.
>>import xarray as xr
>>import sys
>>print(sys.version)
3.9.10 | packaged by conda-forge | (main, Feb 1 2022, 21:24:11)
[GCC 9.4.0]
>>print(xr.__version__)
0.20.1
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:
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.
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:
The text was updated successfully, but these errors were encountered: