Help with this error, please :(

I have downloaded the CAMS global reanalysis (EAC4) data in NetCDF format, when I try to open it as an array in google colab I get this error:

ValueError Traceback (most recent call last).

in <cell line: 1>()
----> 1 dataset = xr.open_dataset(‘/content/download.nc’, decode_times=True)

1 frames

/usr/local/lib/python3.10/dist-packages/xarray/backends/plugins.py in guess_engine(store_spec)
195 )
196
→ 197 raise ValueError(error_msg)
198
199

ValueError: did not find a match in any of xarray’s currently installed IO backends [‘h5netcdf’, ‘scipy’]. Consider explicitly selecting one of the installed engines via the engine parameter, or installing additional IO dependencies, see:

I tried to fix it with these commands but it didn’t work, what can I do?

  1. dataset = xr.open_dataset(‘/content/download.nc’, engine=‘netcdf4’)
  2. !pip install netcdf4

Hi Juan,

I think it’s likely that the data you selected spanned more than one level type, so what you got back was a zip file containing multiple netCDF files. See the comment above the format widget on the dataset download page.

Luke.