-
Notifications
You must be signed in to change notification settings - Fork 4
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
updating LASAM to take field capacity as a parameter in the config file #22
Conversation
…le, in the same style as wilting point. I also updated the calibratable params list in bmi_lgar.hxx to include field capacaity, as well as max ponded head. I also edited that list to not include vg_m and instead use vg_n, because the parameters file provides n rather than m.
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.
@peterlafollette have you tested if the newly added calibratable parameters are working properly? It looks to me that they are not, they are also not included in the calibratable params struct (here)
Updated so that unit tests pass with n rather than m, will add max ponded depth and field capacity to unit test for calibration today / tomorrow |
…and maximum ponded head
…ta issues in the unit test. Unit test values should now be correct. Added precision to unit test benchmark values. Also fixed a bug where GetValuePtr should now work for field capacity and max ponded head.
Updated so that unit test checks calibration for all calibratable variables, including n, max ponded depth, and field capacity. |
…mi_params for max ponded depth and field capacity. Apparently it gives the same results, but this update makes all calibratable parameters get pointers from GetValuePtr.
… apply to the whole model domain, and some parameters apply to individual soil layers. In the last commit, all calibratable parameters were updated correctly, but all parameters were printed for each soil layer, implying that some of the parameters that applied to the whole model domain actually only applied to individual layers. Now, printing updated calibrated parameters has two sections, one for layer dependent parameters, and one for layer independent.
…everting these, and keeping calibratable parameters in realization files
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.
It looks good to me. Thanks @peterlafollette
[Short description explaining the high-level reason for the pull request]
Additions
In this PR, LASAM has been mildly refactored in order to have the field capacity be a user-specified parameter in the config file, in the same style as wilting point. I also updated the calibratable params list in bmi_lgar.hxx to include field capacity, as well as max ponded head. I also edited that list to not include vg_m and instead use vg_n, because the parameters file provides n rather than m.
Removals
Changes
Testing
Screenshots
Notes
Todos
Checklist
Testing checklist
Target Environment support
Accessibility
Other