Skip to content

Commit 6881503

Browse files
lumbricshoyer
authored andcommitted
Fix wrong error message in interp() (#2598)
1 parent 5d8ef5f commit 6881503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xarray/core/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1946,7 +1946,7 @@ def interp(self, coords=None, method='linear', assume_sorted=False,
19461946
"""
19471947
from . import missing
19481948

1949-
coords = either_dict_or_kwargs(coords, coords_kwargs, 'rename')
1949+
coords = either_dict_or_kwargs(coords, coords_kwargs, 'interp')
19501950
indexers = OrderedDict(self._validate_indexers(coords))
19511951

19521952
obj = self if assume_sorted else self.sortby([k for k in coords])

0 commit comments

Comments
 (0)