Deltares / Deltares/imod-python
imod idf write: gives nonsense when DataArray.data is not a Numpy Array
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 41
- Forks
- 12
- Avg merge
- 21h 8m
- Merged PRs (30d)
- 1
Description
In GitLab by @Huite on Oct 19, 2021, 15:46
Calling save works as expected, probably because it forces a .compute somewhere.
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.
Research direction
Start at the imod IDF write path and reproduce the behavior with a DataArray whose data is not a NumPy array. Compare it with the save path, which reportedly forces a .compute call. Done means IDF writing produces sensible output for this DataArray case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- numpy, python
- Domain
- data
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100