From 688150309c78eaf09e4ae8662ec615cac7ca843b Mon Sep 17 00:00:00 2001 From: lumbric Date: Tue, 11 Dec 2018 20:29:03 +0100 Subject: [PATCH] Fix wrong error message in interp() (#2598) --- xarray/core/dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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])