Skip to content

Commit

Permalink
Fix wrong error message in interp() (#2598)
Browse files Browse the repository at this point in the history
  • Loading branch information
lumbric authored and shoyer committed Dec 11, 2018
1 parent 5d8ef5f commit 6881503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/core/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 6881503

Please sign in to comment.