Skip to content

MPAS dycore coupling to CCPP Physics - #397

Open
dustinswales wants to merge 44 commits into
ufs-community:ufs/devfrom
dustinswales:feature/phys2dyn
Open

dustinswales wants to merge 44 commits into
ufs-community:ufs/devfrom
dustinswales:feature/phys2dyn

Conversation

@dustinswales

@dustinswales dustinswales commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

Description of Changes:

This PR contains changes to use the MPAS_RRFSv2_alpha (complete) and MPAS_GFSv17 (WIP) SDFs with the MPAS dycore in the UFS. The GFSv17 SDF is not complete (RRTMG/TEMPO/UGWPv1 only) and still under active development.

For RRFSv2_alpha:

  • Update TEMPO MP hash to v3.2.5 tag.
  • Initialize/reset instantaneous GWD diagnostic tendencies. This is a bug fix. The surface momentum-flux diagnostics dusfc_ms/bl/ss/fd and dvsfc_ms/bl/ss/fd were being accumulated across time steps. drag_suite_psl and the unified_ugwp path already reset them; this change does the same in drag_suite_run when ldiag_ugwp is true. @mdtoyNOAA
  • Cleanup of the post interstitial GWD scheme.
  • Partition surface-to-radiaiton coupling module, GFS_radiation_surface.F90, into MPAS/FV3/Agnostic parts.
  • Update RRTMG cloud-to-radiaiton module, GFS_rrtmg_pre.F90, to accommodate different coupling strategies needed for MPAS and FV3. This addresses Issue Allow microphysics schemes to pass effective radius values to radiation #361.

For GFSv17:

  • Provide reference profile to UGWPv1. This pulls out the FV3 based approach where where the vertical grid parameters (e..g., ak and bk) are provided to the GWD scheme and a reference profile is computed internally.

Tests Conducted:

UWM RTs on Ursa. All existing non-MPAS tests pass.

Dependencies:

Documentation:

N//A

Issue (optional):

Addresses #361

Contributors:

@scrasmussen @grantfirl

grantfirl and others added 25 commits June 10, 2026 15:53
Output effective radii from Thompson/TEMPO if requested by host model
Partition radiation to surface coupling into FV3/MPAS sections.
@gspetro-NOAA

Copy link
Copy Markdown

@rhaesung @dustinswales Is this PR ready, or are you expecting more reviews?

@dustinswales

Copy link
Copy Markdown
Collaborator Author

@gspetro-NOAA It is "ready", but I'd like to get a review from @climbfuji.
I ran the RTs again over the weekend and everything is as expected.

@rhaesung

Copy link
Copy Markdown
Collaborator

@HelinWei-NOAA @BoYang-NOAA Could you review this PR? Thanks!

@climbfuji climbfuji 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.

I reviewed it last weekend but forgot to submit my review, apologies.

k1 = k + kd
do i=1,im
! DJS2026: This is is a temporary fix until the framework can do this transform for us.
effrl(i,k1) = effrl_inout(i,k)*1.e6

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Based on mp_tempo.meta, these three radius are already in the unit of micrometer, why we need to do conversion here again?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

There is a bug in the framework and the unit-conversions aren't working correctly.
Once we update the framework hash, we can remove this conversion.

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.

8 participants