Deltares / Deltares/imod-python
Times not converted when opening output of a previously ran simulation (outside script)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 41
- Forks
- 12
- Avg merge
- 21h 8m
- Merged PRs (30d)
- 1
Description
I got a message from @tessodk that this didn't work fully. This is a common workflow for large models:
- First script: Create simulation, write it and dump it
- Run model in commandline
- Second script: Load simulation and call
open_heads
Result: Data is loaded, but without any conversion to datetimes of the "time" coordinate. I think for some reason the reference time is not forwarded properly in this method.
See screenshots:
While these timesteps are included in the loaded simulation:
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 open_heads loading path and reproduce the two-script workflow: dump a simulation, run it from the command line, then load it and call open_heads. Trace how the reference time reaches the loaded time coordinate; done means the resulting time values are converted to datetimes consistently with the simulation timesteps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100