Use SI units for internal computations#735
Conversation
… function update_directional_flow!
|
A note on the integration tests that are still failing:
Wflow.jl/Wflow/src/routing/surface_kinwave.jl Line 538 in 402be35
Wflow.jl/Wflow/src/routing/routing_process.jl Line 170 in 402be35 The first one I couldn't really do anything about, for the second one I changed the sensitivity a bit so that it behaves at before, but we might just accept the change in behavior to keep the code simple. |
|
In the latest commit I refactored the |
Issue addressed
Fixes #326
Fixes #769
Fixes #810
Checklist
masterComments
Please when reviewing the code keep in the back of your mind the question whether everything would still work with a non-default timestep.
Changes in the order in which I think the review makes the most sense:
units.jlio.jland thencreadfunction where the unit conversions for IO are donePlease see this comment for some the causes I identified for changes in outcome (other than the change in units)
Also note that for some outputs which are denoted in the TOML by the path in the model object the unit is not available, which will result in warnings like this: