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

P3 parameters for sink terms #192

Merged
merged 1 commit into from
May 16, 2024
Merged

P3 parameters for sink terms #192

merged 1 commit into from
May 16, 2024

Conversation

anastasia-popova
Copy link
Contributor

Purpose

This PR aims to add the missing parameters for the p3 sink term calculations

To-do

Content


  • I have read and checked the items on the review checklist.

Copy link

codecov bot commented May 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.50%. Comparing base (49fc081) to head (0b7edb9).

❗ Current head 0b7edb9 differs from pull request most recent head 1f401e1. Consider uploading reports for the commit 1f401e1 to get more accurate results

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.
📢 Have feedback on the report? Share it here.

type = "float"
description = "Density of water in kg/m3"

[freeze_temp]
Copy link
Member

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:

[temperature_water_freeze]

@@ -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]
Copy link
Member

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:

[density_liquid_water]

[p3_ventillation_a]
value = 0.78
type = "float"
description = "a coefficient for ventillation factor calculations in p3 tendencies"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description = "a coefficient for ventillation factor calculations in p3 tendencies"
description = "a coefficient for ventillation factor calculations in p3 tendencies, unitless. "

Copy link
Member

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

[p3_ventiallation_b]
value = 0.308
type = "float"
description = "b coefficient for ventillation factor calculations in p3 tendencies"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description = "b coefficient for ventillation factor calculations in p3 tendencies"
description = "b coefficient for ventillation factor calculations in p3 tendencies, unitless"

@trontrytel trontrytel self-requested a review May 16, 2024 18:37
Copy link
Member

@trontrytel trontrytel left a 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 and freeze_temp and use the values that are already defined in ClimaParams.
  • bump the version here:
    version = "0.10.6"
    to 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

@anastasia-popova anastasia-popova merged commit ec828db into main May 16, 2024
7 checks passed
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.

2 participants