Deltares / imod-python

🐍🧰 Make massive MODFLOW models
https://deltares.github.io/imod-python/
MIT License
16 stars 0 forks source link

Times not converted when opening output of a previously ran simulation (outside script) #1036

Open JoerivanEngelen opened 1 month ago

JoerivanEngelen commented 1 month ago

I got a message from @tessodk that this didn't work fully. This is a common workflow for large models:

  1. First script: Create simulation, write it and dump it
  2. Run model in commandline
  3. 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:

image

While these timesteps are included in the loaded simulation:

image