html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue
https://github.com/pydata/xarray/pull/7392#issuecomment-1383218813,https://api.github.com/repos/pydata/xarray/issues/7392,1383218813,IC_kwDOAMm_X85Scj59,2448579,2023-01-15T18:24:54Z,2023-01-15T18:24:54Z,MEMBER,"IT supports `.conj` so we now have a different error:
```
/home/runner/work/xarray/xarray/xarray/tests/test_computation.py:1597:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/home/runner/work/xarray/xarray/xarray/core/computation.py:1300: in cov
return _cov_corr(da_a, da_b, dim=dim, ddof=ddof, method=""cov"")
/home/runner/work/xarray/xarray/xarray/core/computation.py:1402: in _cov_corr
valid_count = valid_values.sum(dim) - ddof
/home/runner/work/xarray/xarray/xarray/core/_aggregations.py:1855: in sum
return self.reduce(
/home/runner/work/xarray/xarray/xarray/core/dataarray.py:3667: in reduce
var = self.variable.reduce(func, dim, axis, keep_attrs, keepdims, **kwargs)
/home/runner/work/xarray/xarray/xarray/core/variable.py:1944: in reduce
axis = self.get_axis_num(dim)
/home/runner/work/xarray/xarray/xarray/core/common.py:215: in get_axis_num
return tuple(self._get_axis_num(d) for d in dim)
/home/runner/work/xarray/xarray/xarray/core/common.py:215: in
return tuple(self._get_axis_num(d) for d in dim)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self =
array([[ True, True],
[ True, True]])
dim = ['time', 'x']
def _get_axis_num(self: Any, dim: Hashable) -> int:
try:
return self.dims.index(dim)
except ValueError:
> raise ValueError(f""{dim!r} not found in array dimensions {self.dims!r}"")
E ValueError: ['time', 'x'] not found in array dimensions ('x', 'time')
```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1503621596