DHI / mikeio

Read, write and manipulate dfs0, dfs1, dfs2, dfs3, dfsu and mesh files.
https://dhi.github.io/mikeio
BSD 3-Clause "New" or "Revised" License
136 stars 53 forks source link

Replace legacy interp1d with np.interp #670

Open ecomodeller opened 3 months ago

ecomodeller commented 3 months ago

https://github.com/DHI/mikeio/blob/6127a045164f3656ee82809b8815cd37d9626edf/mikeio/dataset/_dataarray.py#L1102

https://docs.scipy.org/doc/scipy/tutorial/interpolate/1D.html#legacy-interface-for-1-d-interpolation-interp1d