unifhy-org / unifhy

A Unified Framework for Hydrology
https://unifhy-org.github.io/unifhy
BSD 3-Clause "New" or "Revised" License
11 stars 5 forks source link

Keep record/dump files open during execution? #53

Open ThibHlln opened 2 years ago

ThibHlln commented 2 years ago

At the moment, record/dump files are opened using a context manager, so they are effectively opened and closed each time the framework writes to file. It may be worth investigating whether there is much gain in keeping files open for the duration of the simulation.