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

gmtb/develop: follow-up PR for GSD drag suite #327

Merged
merged 5 commits into from
Oct 3, 2019

Conversation

climbfuji
Copy link
Collaborator

@climbfuji climbfuji commented Sep 27, 2019

Follow-up PR for #324.

Both PRs combined add the GSD drag suite to CCPP, including a new regression test in the GSD regression test config.

Associated PRs:

#327
https://github.com/NCAR/FV3/pull/211
https://github.com/NCAR/NEMSfv3gfs/pull/258

For regression testing, see https://github.com/NCAR/NEMSfv3gfs/pull/258.

@climbfuji climbfuji marked this pull request as ready for review September 30, 2019 17:10
!! \brief This subroutine includes orographic gravity wave drag, mountain
!! blocking, and form drag.
!!
!> The time tendencies of zonal and meridional wind are altered to
Copy link
Collaborator

Choose a reason for hiding this comment

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

@mdtoy Fantastic write-up. Thanks!

!! \section general General Algorithm
!! \section detailed Detailed Algorithm
!! @{
subroutine drag_suite_pre_run( &
Copy link
Collaborator

Choose a reason for hiding this comment

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

It looks to me like the entire functionality of drag_suite_pre_run subroutine already exists in a "generic" interstitial: GFS_GWD_generic_pre_run, so this can likely be removed, unless I'm missing something. Instead of calling drag_suite_pre in the SDF, one could just use GFS_GWD_generic_pre, which would then be common amongst the operational, unified GWD, and this scheme.

!> \section arg_table_drag_suite_post_run Argument Table
!! \htmlinclude drag_suite_post_run.html
!!
subroutine drag_suite_post_run( &
Copy link
Collaborator

Choose a reason for hiding this comment

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

This code is also common to gwdps_post_run. I think the reason why this code wasn't put into a GFS_GWD_generic_post (like the code executed prior to calling GWD) was because the unified GWD scheme calculates tendencies differently. Now, it looks like the unified GWD scheme is the "odd man out" and this can be rolled into a GFS_GWD_generic_post subroutine within GFS_GWD_generic.F90. As for the "pre" code above, the drag_suite_post scheme in the SDF would need to be replaced by GFS_GWD_generic_post. It would also be nice to at least investigate putting the unified GWD tendency calculations in there too, although doing so would probably involve ugly conditionals.

Copy link
Collaborator

@grantfirl grantfirl left a comment

Choose a reason for hiding this comment

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

approved, but added issue #329

@grantfirl grantfirl merged commit ecb641e into NCAR:gmtb/develop Oct 3, 2019
@climbfuji climbfuji deleted the drag_suite_dom branch June 27, 2022 03:11
hannahcbarnes pushed a commit to hannahcbarnes/ccpp-physics that referenced this pull request Aug 3, 2022
Add the hourly maximum precipitation rate in mm/hr for all microphysics schemes and will be used only by regional configurations.
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.

3 participants