-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor initialization Model
#562
Conversation
* Give (non-type) global constants upper case names and fixes issue #535 * Remove parametric type `T` from structs This is always set at Float64. Supporting parametric precision could be part of a separate PR (if we want to support this), including which structs would need type parameters. --------- Co-authored-by: Willem van Verseveld <[email protected]>
test/run_sbm.jl passes Co-authored-by: Bart de Koning <[email protected]>
test/run_sbm_gwf.jl passes
Containing shared land and river parameters, and `Network` data structure. Tests run_sbm and run_sbm_gwf pass.
Make use of shared river and land parameters.
In some cases the same data from netCDF is read more than once, in the function `ncread` logging is now optional when reading a netCDF variable.
Rename `fraction_to_river` to `flow_fraction_to_river` and `river` to `river_location`.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, thanks for this! I have a couple of (small) comments/notes, but looks good to me otherwise! It would be good to get some more insight on the changed tests in the sediment model (question asked through Teams) before full approval/merge.
Co-authored-by: JoostBuitink <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the final changes, looks good to me!
Issue addressed
Fixes #523