Skip to content

Fix NoahMP precip rates#365

Merged
climbfuji merged 1 commit into
NCAR:dtc/developfrom
grantfirl:fix_noahmp_precip_rates
Dec 9, 2019
Merged

Fix NoahMP precip rates#365
climbfuji merged 1 commit into
NCAR:dtc/developfrom
grantfirl:fix_noahmp_precip_rates

Conversation

@grantfirl
Copy link
Copy Markdown
Collaborator

@grantfirl grantfirl commented Dec 5, 2019

This and associated PRs address issue #319

This moves the calculation of precipitation rates needed by NoahMP LSM to GFS_MP_generic_post_run from sfc_noahmp_pre. Since this was the only thing done in sfc_noahmp_pre, it is no longer needed.

Note: As commented in the code and as noted by @climbfuji, there may be an issue with the calculation of these precipitation rates since they rely on liquid water equivalent thickness variables. From looking at GFS_physics_driver, it looks like Diag%rain,rainc are on the dynamics timestep whereas Diag%snow,ice,graupel are on the physics time step. This may not be consistent across all microphysics schemes. Of course, this issue is hidden as long as dtp=dtf (frain=1). This could definitely benefit from some cleanup if dtp is ever expected to be different than dtf.

…P_generic_post_run from sfc_noahmp_pre; sfc_noahmp_pre no longer needed
@climbfuji
Copy link
Copy Markdown
Collaborator

I would like to pull this into #366 and merge it into dtc/develop (provided that all tests except the noahmp test pass). Please let me know if that's ok.

@grantfirl
Copy link
Copy Markdown
Collaborator Author

I have only compiled and run with the SCM with this code. The associated changes in the SCM and FV3 are done, except for the associated change in GFS_physics_driver for the non-CCPP physics. This has also not been OKed by Helin Wei yet. But, if you want to test it, go ahead. I'll go ahead and make the changes to GFS_physics_driver and commit to fv3atm tonight real quick.

@climbfuji
Copy link
Copy Markdown
Collaborator

I have only compiled and run with the SCM with this code. The associated changes in the SCM and FV3 are done, except for the associated change in GFS_physics_driver for the non-CCPP physics. This has also not been OKed by Helin Wei yet. But, if you want to test it, go ahead. I'll go ahead and make the changes to GFS_physics_driver and commit to fv3atm tonight real quick.

This can wait until tomorrow, no problem! Thanks for making those changes. If we can show that it makes a noticeable difference (and especially makes noahmp less dry), then that's great.

@climbfuji
Copy link
Copy Markdown
Collaborator

This PR has been pulled into #366

@grantfirl
Copy link
Copy Markdown
Collaborator Author

Associated PRs:
NCAR/ccpp-scm#150
NCAR/fv3atm#14

Being tested as part of #366 by @climbfuji

Copy link
Copy Markdown
Collaborator

@climbfuji climbfuji left a comment

Choose a reason for hiding this comment

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

Please do not merge this PR as it will be merged automatically with #366.

@climbfuji climbfuji merged commit 3fad556 into NCAR:dtc/develop Dec 9, 2019
hannahcbarnes pushed a commit to hannahcbarnes/ccpp-physics that referenced this pull request Aug 3, 2022
grantfirl pushed a commit to grantfirl/ccpp-physics that referenced this pull request Apr 29, 2026
Small bug when not using photochemistry
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