Snow parameterizations helping permafrost#1766
Merged
Merged
Conversation
AlexisRenchon
added a commit
that referenced
this pull request
Jun 16, 2026
…ttom-temp Follow-up to #1766. Addresses review findings on the snow thermal-conductivity and snow-bottom-temperature work: - Fix LandModel possible-diagnostics name mismatch "snow_tbot" -> "snowtbot" (the snow-bottom-temp diagnostic was unreachable and output_vars=:long errored). - Make the ghf and snow-conductivity diagnostics reachable; rename the non-ASCII short name snowκ -> snowk (and compute_snow_κ! -> compute_snow_k!). - Add units/comments to the new snow diagnostics (K, W m^-1 K^-1, W m^-2). - Fix the duplicated "F_g = F_g =" in update_soil_snow_ground_heat_flux! and restore the Δz_snow 10 cm cap rationale. - Remove the vestigial, unused κ_ice kwarg from SnowParameters(toml_dict, Δt). - Expand the snow_T_bottom docstring and add it to the API docs. - Add tests: Sturm conductivity branches, snow_T_bottom limits/cap, and a diagnostics reachability regression test. - Add NEWS.md entries (feature, breaking κ_ice->κ_snow, behavioral GHF change). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
AlexisRenchon
approved these changes
Jun 16, 2026
AlexisRenchon
left a comment
Member
There was a problem hiding this comment.
See suggestions in #1769 which is mostly some cleanup suggestions - feel free to add or not! (edit it as needed!)
kmdeck
pushed a commit
that referenced
this pull request
Jun 16, 2026
…ttom-temp Follow-up to #1766. Addresses review findings on the snow thermal-conductivity and snow-bottom-temperature work: - Fix LandModel possible-diagnostics name mismatch "snow_tbot" -> "snowtbot" (the snow-bottom-temp diagnostic was unreachable and output_vars=:long errored). - Make the ghf and snow-conductivity diagnostics reachable; rename the non-ASCII short name snowκ -> snowk (and compute_snow_κ! -> compute_snow_k!). - Add units/comments to the new snow diagnostics (K, W m^-1 K^-1, W m^-2). - Fix the duplicated "F_g = F_g =" in update_soil_snow_ground_heat_flux! and restore the Δz_snow 10 cm cap rationale. - Remove the vestigial, unused κ_ice kwarg from SnowParameters(toml_dict, Δt). - Expand the snow_T_bottom docstring and add it to the API docs. - Add tests: Sturm conductivity branches, snow_T_bottom limits/cap, and a diagnostics reachability regression test. - Add NEWS.md entries (feature, breaking κ_ice->κ_snow, behavioral GHF change). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Purpose
Adds a simple parameterization for the bottom temperature of the snow (not optional), modularizes the thermal conductivity model of the snow, and adds a second parameterization option for this (Sturm).
This typically makes the bottom temperature warmer than the bulk temperature, which improves snow insulation over the soil, and has a big effect on permafrost locations. The Sturm conductivity model is also lower than the Jordan parameterization in general, and this helps with permafrost.
To-do
Impact
Main:

Bottom alone:

Sturm + Tbottom:

Content
Adds bottom snow temp as a cache variable to integrated models with soil and snow, and computes it during the ground heat flux computation
Adds another parameterization for thermal conductivity