Skip to content
This repository was archived by the owner on Nov 18, 2026. It is now read-only.

Release stable iaufix - #31

Merged
jjguerrette merged 4 commits into
JCSDA-internal:release-stablefrom
syha:release-stable-iaufix
Jun 23, 2022
Merged

jjguerrette merged 4 commits into
JCSDA-internal:release-stablefrom
syha:release-stable-iaufix

Conversation

@syha

@syha syha commented Jun 16, 2022 •

Copy link
Copy Markdown

Bug fixes in IAU merged into the latest version of release-stable

The major bug fix is to include the increment in dry density in updating the tendency for the coupled edge winds (ru). In the equation of d(r * u) = r * du + dr * u, the second term (dr*u) in RHS was missing in the original code. To add it back in, I also modified the code defining several new variables such as u, cellsOnEdge and rho_amb_edge.

mpas_atm_iau.F: A bug fixed in tend_ru (tendencies for coupled edge winds)
mpas_atm_core.F: A log message added for the IAU input stream

Tests passed.

@liujake

liujake commented Jun 17, 2022

Copy link
Copy Markdown

@syha Can you add a bit more info/comments about what has been fixed?

@syha

syha commented Jun 17, 2022 •

Copy link
Copy Markdown
Author

@liujake Sure. The major bug fix is to include the increment in dry density in updating the tendency for the coupled edge winds (ru). In the equation of d(r * u) = r * du + dr * u, the second term (dr*u) in RHS was missing in the original code. To add it back in, I also modified the code defining several new variables such as u, cellsOnEdge and rho_amb_edge.

@jjguerrette jjguerrette left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Maybe putting some of the information in the PR message in the code would help clarify your intentions in case this needs to be revisited later. Your scientific intent makes sense in the PR message.

…and remove several commented lines for clarity.

@jjguerrette jjguerrette left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thank you @syha! Looks good to me, including comments.

@jjguerrette
jjguerrette merged commit 02b9712 into JCSDA-internal:release-stable Jun 23, 2022
climbfuji pushed a commit that referenced this pull request Aug 26, 2022
Bug fixes in IAU merged into the latest version of release-stable

The major bug fix is to include the increment in dry density in updating the tendency for the coupled edge winds (ru). In the equation of d(r * u) = r * du + dr * u, the second term (dr*u) in RHS was missing in the original code. To add it back in, I also modified the code defining several new variables such as u, cellsOnEdge and rho_amb_edge.

mpas_atm_iau.F: A bug fixed in tend_ru (tendencies for coupled edge winds)
mpas_atm_core.F: A log message added for the IAU input stream 

Tests passed.
@syha
syha deleted the release-stable-iaufix branch September 10, 2022 03:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants