home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 1667556281

This data as json

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
1667556281 I_kwDOAMm_X85jZOO5 7754 ValueError: did not find a match in any of xarray's currently installed IO backends ['netcdf4', 'h5netcdf', 'scipy']. 128567423 closed 0     5 2023-04-14T05:57:18Z 2023-04-16T23:47:40Z 2023-04-16T23:47:40Z NONE      

What is your issue?

Hi,

I am using python 3.1 1.3, I am encountering this error when running a package

Traceback (most recent call last): File "/Users/24715447/anaconda3/envs/climate/lib/python3.11/site-packages/climate_indices/main.py", line 1671, in main input_type = _validate_args(arguments) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/24715447/anaconda3/envs/climate/lib/python3.11/site-packages/climate_indices/main.py", line 108, in _validate_args with xr.open_dataset(args.netcdf_precip) as dataset_precip: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/24715447/anaconda3/envs/climate/lib/python3.11/site-packages/xarray/backends/api.py", line 510, in open_dataset engine = plugins.guess_engine(filename_or_obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/24715447/anaconda3/envs/climate/lib/python3.11/site-packages/xarray/backends/plugins.py", line 177, in guess_engine raise ValueError(error_msg) ValueError: did not find a match in any of xarray's currently installed IO backends ['netcdf4', 'h5netcdf', 'scipy']. Consider explicitly selecting one of the installed engines via the engine parameter, or installing additional IO dependencies, see: https://docs.xarray.dev/en/stable/getting-started-guide/installing.html https://docs.xarray.dev/en/stable/user-guide/io.html Traceback (most recent call last): File "/Users/24715447/anaconda3/envs/climate/bin/process_climate_indices", line 8, in sys.exit(main()) ^^^^^^ File "/Users/24715447/anaconda3/envs/climate/lib/python3.11/site-packages/climate_indices/main.py", line 1671, in main input_type = _validate_args(arguments) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/24715447/anaconda3/envs/climate/lib/python3.11/site-packages/climate_indices/main.py", line 108, in _validate_args with xr.open_dataset(args.netcdf_precip) as dataset_precip: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/24715447/anaconda3/envs/climate/lib/python3.11/site-packages/xarray/backends/api.py", line 510, in open_dataset engine = plugins.guess_engine(filename_or_obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/24715447/anaconda3/envs/climate/lib/python3.11/site-packages/xarray/backends/plugins.py", line 177, in guess_engine raise ValueError(error_msg) ValueError: did not find a match in any of xarray's currently installed IO backends ['netcdf4', 'h5netcdf', 'scipy']. Consider explicitly selecting one of the installed engines via the engine parameter, or installing additional IO dependencies, see: https://docs.xarray.dev/en/stable/getting-started-guide/installing.html https://docs.xarray.dev/en/stable/user-guide/io.html

I have tried installing xarray dependencies as given in the links. pip install xarray[io] conda install conda-forge netcdf4 h5netcdf scipy I can confirm that all dependencies were installed but the same error pops out after trying again.
Any advice on how to solve the issue?

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/7754/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 1 row from issues_id in issues_labels
  • 5 rows from issue in issue_comments
Powered by Datasette · Queries took 0.565ms · About: xarray-datasette