Skip to content

Commit 5f90f4e

Browse files
committed
Start interp_nd stub and failing test
1 parent a0e2314 commit 5f90f4e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

xarray/tests/test_interp.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,16 @@ def interp_1d(data, dim, vals):
680680
return ans
681681

682682

683+
def interp_nd(data, coords):
684+
for dim in coords:
685+
data = interp_1d(data, dim, coords[dim])
686+
return data
687+
688+
689+
def test_interp_nd():
690+
assert False
691+
692+
683693
@pytest.mark.parametrize('dim',[
684694
'x', 'y'
685695
])

0 commit comments

Comments
 (0)