The full code is below
Provide a concise Python code snippet that demonstrates the issue. To display the code clearly, use GitHub Flavored Markdown for formatting:
import xarray as xr # for example data only
import xeofs as xe
xe.__version__
'0.7.2'
t2m = xr.tutorial.open_dataset("air_temperature")
t2m_west = t2m.isel(lon=slice(None, 20))
t2m_east = t2m.isel(lon=slice(21, None))
eof = xe.models.EOF(n_modes=10)
When trying to run the example given in the README, I encounter the error:
The full code is below Provide a concise Python code snippet that demonstrates the issue. To display the code clearly, use GitHub Flavored Markdown for formatting:
returns:
For info, I am on Ubuntu 20.04:
xeofs
version 0.7.2