-
Notifications
You must be signed in to change notification settings - Fork 6
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
P3 parameters for sink terms #192
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #192 +/- ##
=======================================
Coverage 98.50% 98.50%
=======================================
Files 2 2
Lines 134 134
=======================================
Hits 132 132
Misses 2 2 ☔ View full report in Codecov by Sentry. |
src/parameters.toml
Outdated
type = "float" | ||
description = "Density of water in kg/m3" | ||
|
||
[freeze_temp] |
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.
We already have that one defined here:
ClimaParams.jl/src/parameters.toml
Line 1939 in 0b7edb9
[temperature_water_freeze] |
src/parameters.toml
Outdated
@@ -1599,6 +1604,26 @@ value = 6 | |||
type = "float" | |||
description = "Limiter for shape parameter mu for ice in P3 scheme. See eq 3 in Morrison and Milbrandt 2015. Units: [-]" | |||
|
|||
[water_density] |
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.
We already have that one defined:
ClimaParams.jl/src/parameters.toml
Line 1915 in 0b7edb9
[density_liquid_water] |
src/parameters.toml
Outdated
[p3_ventillation_a] | ||
value = 0.78 | ||
type = "float" | ||
description = "a coefficient for ventillation factor calculations in p3 tendencies" |
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.
description = "a coefficient for ventillation factor calculations in p3 tendencies" | |
description = "a coefficient for ventillation factor calculations in p3 tendencies, unitless. " |
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.
Do we have a reference for ventilation coeff values? If not we can put From Seifert and Beheng, 2006. DOI: 10.1007/s00703-005-0112-4
src/parameters.toml
Outdated
[p3_ventiallation_b] | ||
value = 0.308 | ||
type = "float" | ||
description = "b coefficient for ventillation factor calculations in p3 tendencies" |
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.
description = "b coefficient for ventillation factor calculations in p3 tendencies" | |
description = "b coefficient for ventillation factor calculations in p3 tendencies, unitless" |
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.
We should:
- delete
water_density
andfreeze_temp
and use the values that are already defined in ClimaParams. - bump the version here:
Line 4 in 49fc081
version = "0.10.6" 10.7
so that we can make a release when this is merged.
Aside from that it's good to go, after squashing and rebasing
Purpose
This PR aims to add the missing parameters for the p3 sink term calculations
To-do
Content