Seeing this error downstream in `climpred` (https://github.com/pangeo-data/climpred/pull/870). https://github.com/xarray-contrib/xskillscore/blob/79214ba037629b39cee19a6b6032180ec1a8b8f0/xskillscore/core/np_deterministic.py#L420 The fix is to make use of `numpy.atleast_1d()`: ```python nan_locs = np.where(np.isnan(np.atleast_1d(r))) ```