Fix stability issues in the coupling of LandModel (soil + snow + canopy) - #170
Merged
Conversation
1 task
- VPD is now clipped from below at 0.1 kPa to avoid dvision by zero - Fixed dimensional inconsistencies in stomatal conductance formula - Added diffusivity ratio of water to CO2 as struct field rather than magic constant
Adds integration tests with LandModel that stress test the implicit skin temperature solver over a coarse grid of meteorological conditions.
bgroenks96
force-pushed
the
bg/speedy-coupling-veg
branch
from
August 20, 2026 16:36
6eff394 to
2b5dbc1
Compare
LandModel (soil + snow + canopy)
bgroenks96
marked this pull request as ready for review
August 21, 2026 16:37
Co-authored-by: Maximilian Gelbrecht <maximilian.gelbrecht@posteo.de>
maximilian-gelbrecht
approved these changes
Aug 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is a collection of fixes that were necessary to get the coupling of the full
LandModelwithPrescribedVegetationandSingleLayerSnowsemi-working with both SpeedyWeather and ERA5-Land forcing.Summary of changes
MedlynStomatalConductanceto (a) be more physically consistent, and (b) handle corner cases like where the VPD is zero andAn < 0(@mahabadri)CanopyWaterInterceptionaccumulating negative water storage; clamping of the water storage term in each timestep should be added in a later PRPALADYNCanopyEvapotranspirationallowing for negative transpiration; the transpirative humidity flux is now clamped at zero, but deposition may still occur via the canopy termcompute_transpiration_conductancethat allowed for nonzero transpiration over unvegetated grid cellsR_vandR_din Thermodynamics constants to increase accuracy of derived universal gas constant