Issue to read my netcdf data with xr.open #55045
-
Select Topic AreaQuestion BodyAttributeError Traceback (most recent call last) ~/anaconda3/lib/python3.9/site-packages/xarray/backends/api.py in open_dataset(filename_or_obj, engine, chunks, cache, decode_cf, mask_and_scale, decode_times, decode_timedelta, use_cftime, concat_characters, decode_coords, drop_variables, backend_kwargs, *args, **kwargs) ~/anaconda3/lib/python3.9/site-packages/xarray/backends/plugins.py in guess_engine(store_spec) ~/anaconda3/lib/python3.9/site-packages/xarray/backends/plugins.py in list_engines() ~/anaconda3/lib/python3.9/site-packages/xarray/backends/plugins.py in build_engines(entrypoints) ~/anaconda3/lib/python3.9/site-packages/xarray/backends/plugins.py in remove_duplicates(entrypoints) AttributeError: 'EntryPoint' object has no attribute 'module_name' |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Greetings @yamoula77 You need to update your xarray version, according to ecmwf/cfgrib#314
Another solution is to install cfgrib in your environment:
Kind regards @yamoula77 |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
Greetings @yamoula77
You need to update your xarray version, according to ecmwf/cfgrib#314
conda update xarray
Another solution is to install cfgrib in your environment:
conda install -c conda-forge cfgrib
Kind regards @yamoula77