diff --git a/xarray/core/dataset.py b/xarray/core/dataset.py index c289703875d..888d2566f21 100644 --- a/xarray/core/dataset.py +++ b/xarray/core/dataset.py @@ -1946,7 +1946,7 @@ def interp(self, coords=None, method='linear', assume_sorted=False, """ from . import missing - coords = either_dict_or_kwargs(coords, coords_kwargs, 'rename') + coords = either_dict_or_kwargs(coords, coords_kwargs, 'interp') indexers = OrderedDict(self._validate_indexers(coords)) obj = self if assume_sorted else self.sortby([k for k in coords])