Skip to content
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

Minor reformatting and changes to the HBVEC emulator #410

Merged
merged 4 commits into from
Oct 28, 2024

Conversation

lou-a
Copy link
Collaborator

@lou-a lou-a commented Oct 22, 2024

Pull Request Checklist:

  • This PR addresses an already opened issue (for bug fixes / features)
    • This PR fixes #xyz
  • (If applicable) Documentation has been added / updated (for bug fixes / features).
  • (If applicable) Tests have been added.
  • CHANGELOG.rst has been updated (with summary of main changes).
    • Link to issue (:issue:number) and pull request (:pull:number) has been added.

What kind of change does this PR introduce?

  • Reformatted the parameters class, hydro-meteorological processes, and soil parameters list. Slight adjustments were made to the parameter default, min and max values for indicative purposes, taking into account several sources of the Raven documentation.
  • Added the spatial interpolation to the HBVEC emulator configuration explicitly, as well as the functionality necessary to the rvs.py configuration script. The default "INTERP_NEAREST_NEIGHBOR" interpolation was already executed implicitly by the model, but adding it in the model now gives users the flexibility to change the interpolation algorithm used if we wanted to.
  • Reordered the soil classes to follow the progression of soil layers from shallow to deep (only cosmetic; no content change).
  • Added the soil parameters for the TOPSOIL class explicitly. This will give more flexibility to change parameter values for this layer independently.

Does this PR introduce a breaking change?

None foreseen. Existing tests should ensure that is the case.

Other information:

Changes include :
- Reformatting the parameters class, hydro-meteorological processes, and soil parameters list (only cosmetic; no content change).
- Adding explicitly the spatial interpolation to the HBVEC emulator configuration and the functionality necessary to the rvs.py configuration script. The default "INTERP_NEAREST_NEIGHBOR" interpolation was already executed implicitly by the model, but adding it in the model now gives users the flexibility to change the interpolation algorithm used if we wanted to.
- Reordering the soil classes to follow the progression of soil layers from shallow to deep (only cosmetic; no content change).
- Adding explicitly the soil parameters for the TOPSOIL class. This will give more flexibility to change parameter values for this layer independently.
@lou-a lou-a requested a review from huard October 22, 2024 18:16
@coveralls
Copy link

Coverage Status

coverage: 81.352% (+0.009%) from 81.343%
when pulling f336203 on hbvec-improvements
into 6d8e00a on master.

@lou-a lou-a merged commit 2c2a87a into master Oct 28, 2024
16 checks passed
@lou-a lou-a deleted the hbvec-improvements branch October 28, 2024 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants