You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xr.core.dataset.DataVariables assumes that everything that is in ds._dataset._variables and not in self._dataset._coord_names is a "data variable". However, since the index refactor we can end up with more _coord_names than _variables which breaks a number of stuff (e.g. the repr).
What happened?
xr.core.dataset.DataVariables
assumes that everything that is inds._dataset._variables
and not inself._dataset._coord_names
is a "data variable". However, since the index refactor we can end up with more_coord_names
than_variables
which breaks a number of stuff (e.g. the repr).What did you expect to happen?
Well it seems this assumption is now wrong.
Minimal Complete Verifiable Example
MVCE confirmation
Relevant log output
Anything else we need to know?
The error comes from here
xarray/xarray/core/dataset.py
Line 368 in 63ba862
Bisected to #5692 - which probably does not help too much.
Environment
The text was updated successfully, but these errors were encountered: