Skip to content

Correct cloud conversion code#735

Open
12shughes wants to merge 4 commits into
mainfrom
correct_cloud_conversion
Open

Correct cloud conversion code#735
12shughes wants to merge 4 commits into
mainfrom
correct_cloud_conversion

Conversation

@12shughes

Copy link
Copy Markdown
Collaborator

Correct SWSaturationAdjustment() to give correct conversion of cloud into water vapour. Compare gamma_v*(q_v-q_sat) to q_c rather than comparison without gamma_v and multiplication with gamma_v occurring later.

@tommbendall tommbendall added the fixes Involves changes to fix something that is broken label May 18, 2026

@tommbendall tommbendall left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for tackling this @12shughes ! I have left a couple of suggestions but happy for you to disagree

Comment thread gusto/physics/shallow_water_microphysics.py Outdated
Comment thread gusto/physics/shallow_water_microphysics.py Outdated
12shughes and others added 3 commits June 17, 2026 10:51
Co-authored-by: Thomas Bendall <14180399+tommbendall@users.noreply.github.com>
Co-authored-by: Thomas Bendall <14180399+tommbendall@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fixes Involves changes to fix something that is broken

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants