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

Fix/improve logic for convective transportable tracers, add GFS_checktracer debugging routine, correct spelling "janic" --> "janjic", fix inconsistent types related with noahmp and log functions #752

Merged

Conversation

climbfuji
Copy link
Collaborator

@climbfuji climbfuji commented Oct 5, 2021

Description

Fixes #751 (see there).

This is achieved by moving the logic to reset the second entry of the clw array (in cases when only one tracer is used) from GFS_SCNV_generic_post_run to GFS_suite_interstitial_4_run.

Also adds a new debugging scheme GFS_checktracers to GFS_debug.{F90,meta} that can be used to detect negative tracers almost anywhere in the suite definition file (except the fast_physics group).

Further: correct spelling "janic" --> "janjic" in a few CCPP standard names.

Also: contains the changes in PR #755 (fix inconsistent types related with noahmp and log functions) from @uturuncoglu. Fixes #750.

Associated PRs

#752
NOAA-EMC/fv3atm#413
ufs-community/ufs-weather-model#875

For regression testing, see ufs-community/ufs-weather-model#875

…eneric_post_run to GFS_suite_interstitial_4_run (to be consistent with the corresponding logic in GFS_suite_interstitial_3_run
@climbfuji climbfuji changed the title Fix/improve logic for convective transportable tracers Fix/improve logic for convective transportable tracers, add GFS_checktracer debugging routine Oct 5, 2021
! (which does have cloud ice, but for some reason it was decided to code it up
! in the same way as for Zhao-Carr, nowadays unnecessary and confusing) needs
! to be cleaned up. The convection schemes doing something different internally
! based on clw(i,k,2) being -999.0 or not is not a good idea.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why?

Copy link
Collaborator

Choose a reason for hiding this comment

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

The original Zhao-Carr (it should really be called Zhao-Carr-Sundqvist-Moorthi was coded by me.
For one thing, it is not a pure Zhao-Carr - I combined Zhao-Carr and Sundqvist - obviously no one want to give me any credit for implementing this in GFS/CFS around the year 2000 and it had worked fine for about 16 years in GFS and still going on fine in CFSv2

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I am more than happy to add "Sundqvist-Moorthi" to any occurrence of "Zhao-Carr" in CCPP physics! In fact this is the first time that I heard about this. We'd need an acronym though, because "Zhao-Carr-Sundqvist-Moorthi" is rather long.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Well, it it the first time because I refrained from commenting. Only the "ice" part of this is from Zhao -Carr. I went back to the original Sundqvist formulation for rain (part of Zhao-Carr is also based on Sundqvist). The original Zhao-Carr scheme was in our meso-scale model in the late 1990's - I imported it to global, but also modified it.

@climbfuji climbfuji changed the title Fix/improve logic for convective transportable tracers, add GFS_checktracer debugging routine Fix/improve logic for convective transportable tracers, add GFS_checktracer debugging routine, correct spelling "janic" --> "janjic" Oct 19, 2021
@climbfuji climbfuji changed the title Fix/improve logic for convective transportable tracers, add GFS_checktracer debugging routine, correct spelling "janic" --> "janjic" Fix/improve logic for convective transportable tracers, add GFS_checktracer debugging routine, correct spelling "janic" --> "janjic", fix inconsistent types related with noahmp and log functions Oct 28, 2021
@climbfuji climbfuji requested a review from panll October 29, 2021 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants