小编kiw*_*chi的帖子

ValueError: found the following matches with the input file in xarray's IO backends: ['netcdf4', 'h5netcdf']

So I'm trying to run this script in Spyder (Python 3.9)

dset = xr.open_dataset(filename, decode_times=True, use_cftime=True)
print(dset)
Run Code Online (Sandbox Code Playgroud)

But I keep on getting this error:

ValueError: found the following matches with the input file in xarray's IO backends: ['netcdf4', 'h5netcdf']. But their dependencies may not be installed, see:
https://docs.xarray.dev/en/stable/user-guide/io.html 
https://docs.xarray.dev/en/stable/getting-started-guide/installing.html
Run Code Online (Sandbox Code Playgroud)

I have already installed via conda the ['netcdf4', 'h5netcdf'].

Did anyone run on the same issue? I have tried this also:

conda install -c anaconda netcdf4 h5netcdf scipy pydap zarr fsspec …
Run Code Online (Sandbox Code Playgroud)

python dependencies netcdf4

10
推荐指数
1
解决办法
1万
查看次数

标签 统计

dependencies ×1

netcdf4 ×1

python ×1