Skip to content

Replace legacy scipy interp1d in interp_time #916

@ecomodeller

Description

@ecomodeller

`scipy.interpolate.interp1d` is considered legacy since SciPy 1.12.

Remaining usage is in `DataArray.interp_time()` (`src/mikeio/dataset/_dataarray.py`). Replace with `make_interp_spline(k=1)` or equivalent.

The layered geometry usage was already replaced in #915.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions