Skip to content

[Bug] - Well.clip_box doesn't work with dask arrays #1737

@JoerivanEngelen

Description

@JoerivanEngelen

Bug description
Got a report from @jdelsman :

He ran into this issue when opening a previously dumped model (which opens data as Dask arrays), then consequently trying to call clip_box it.

Steps to reproduce

  1. What error message do you get?
NotImplementedError: The out parameter is not fully supported. Received type ndarray, expected Dask Array
sim = imod.mf6.Modflow6Simulation.from_file(fn_orgmodel_toml)
sim_clipped = sim.clip_box(xmin = xmin, xmax = xmax, ymin = ymin, ymax = ymax)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingclippingDeals with clipping methods

    Type

    Projects

    Status

    📯 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions