[Bug] - Well.clip_box doesn't work with dask arrays
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
Research direction
Start by reproducing the issue with Modflow6Simulation.from_file and then calling clip_box on the loaded simulation, as shown in the report. Trace the clip_box path and verify that clipping a simulation backed by Dask arrays completes without the reported NotImplementedError.
Written by the indexing model from the issue text.
Description
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
- 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)
- Dominant language
- Python
- Stars
- 41
- Forks
- 12
- Avg merge
- 20h 23m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Deltares/imod-python
-
ci
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Deltares/imod-python#1891 ·
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Deltares/imod-python#1843 ·
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 68/100
Deltares/imod-python#1684 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
Deltares/imod-python#1911 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
Deltares/imod-python#1910 ·
All issues in Deltares/imod-python
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100