Repository navigation
Release stable iaufix - #31
Conversation
…h analysis increments (amb) in IAU.
…osphere/mpas_atm_core.F
…le-iaufix for bug fixes in IAU
|
@syha Can you add a bit more info/comments about what has been fixed? |
|
@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
left a comment
There was a problem hiding this comment.
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
left a comment
There was a problem hiding this comment.
Thank you @syha! Looks good to me, including comments.
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.
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.