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
{{ message }}
Repository navigation
index refactor: more _coord_names than _variables on Dataset #7036
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).
Activity
mathause commentedon Sep 14, 2022
Similarly, the following results in a wrong repr:
foo is missing.
@benbovy
benbovy commentedon Sep 14, 2022
@mathause for
set_indexandreset_indexit should be fixed in #6992. Do you know other examples or methods where_coord_namesare out-of-sync?mathause commentedon Sep 14, 2022
Thanks - I missed #6992 & it indeed fixes the problems I had. I added this to the list of fixed issues in #6992.