I have a Jupyter notebook that was reading the netcdf file from the old version of the CDS (ERA5 hourly data on single levels from 1940 to present - I extracted the boundary layer height).
import xarray as xr
filename = ‘data_stream-oper.nc’
ds = xr.open_dataset(filename)
With the new nc file I got the error:
→ 177 raise ValueError(error_msg)
ValueError: found the following matches with the input file in xarray’s IO backends: [‘netcdf4’, ‘h5netcdf’]. But their dependencies may not be installed, see:
If I specify the engine (netcdf4 should be the default) I get:
ValueError: unrecognized engine netcdf4 must be one of: [‘scipy’, ‘store’]