def METHOD_NAME():
    ds = mikeio.read("tests/testdata/waterlevel_north.dfs1")
    da: mikeio.DataArray = ds.North_WL
    assert da.geometry.x[-1] == 8800
    dai = da.interp(x=0)
    assert dai[0].values == pytest.approx(-0.33)
    dai = da.interp(x=4000)
    assert dai[0].values == pytest.approx(-0.3022272830659693)
    dai = da.interp(x=8800)
    assert dai[-1].values == pytest.approx(-0.0814)
    dai = da.interp(x=8900)  # outside the domain
    assert np.isnan(dai[-1].values)
    dai = da.interp(x=-10)  # outside the domain
    assert np.isnan(dai[-1].values)