Skip to content

Feature/rad fix djs#7

Closed
dustinswales wants to merge 304 commits into
grantfirl:feature/rad-fix_gjffrom
dustinswales:feature/rad-fix_djs
Closed

Feature/rad fix djs#7
dustinswales wants to merge 304 commits into
grantfirl:feature/rad-fix_gjffrom
dustinswales:feature/rad-fix_djs

Conversation

@dustinswales
Copy link
Copy Markdown

@grantfirl This PR unwinds some of Larissa's changes, putting the radiation diagnostics back into the Radiation Group, from dcyc2t3.F90 -> GFS_radiation_post.F90. I was able to reproduce results for the control_c384 test (one the failing tests).

Also, this bring this branch up-to-date with ufs-community:develop

Deatils:
Common radiation diagnostics are isolated to a subroutine, which is called for both G/GP. The wrinkle is that G and GP interface at different levels, by this I mean G provides HRs whereas in GP you need to compute HRs from the fluxes. So there's more work to get the GP outputs to where they need to be before calling the (common) diagnostic routine. I tried to explain this in the module description.

For GP, we could move the computation of HRs into rrtmg_lw(sw)_main.F90. This would put GP on equal footing with G in the sense that it makes GP consistent with the tendency approach you've been spearheading.
(Sidenote: I would still prefer to keep the mapping from the flat 2D flux fields to the UFS native DDTs outside of rrtmgp_lw(sw)_main.F90, with the hope that someday we could replace this DDT with flat fields in RRTMG. Then GFS_radiation_post would really be GFS_radiation_diagnostics and rrtmg_lw and rrtmg_sw wouldn't rely on a host-specific DDT)

iri01 and others added 30 commits March 1, 2024 18:19
Fix to canopy arrays definitions: add intent
…ers.F90; update CODEOWNERS physics/docs/ccpp_doxyfile
drnimbusrain and others added 20 commits July 7, 2025 16:50
Combo PR (merge from NCAR/main, ECMWF GWD, maxmf bugfix, NEPTUNE reproducibility, mersenne bugfix)
Adding Integrated Canopy Effects to CCPP/PBL Scheme
rhaesung and others added 2 commits July 21, 2025 09:28
Combination of 264,265,291 (MERRA2 3-hr, photochem diag, prog closure SFS)
@dustinswales
Copy link
Copy Markdown
Author

@grantfirl

@grantfirl
Copy link
Copy Markdown
Owner

@dustinswales I pulled the two new commits from this PR into ufs-community#262. I then tested with the SCM (it successfully ran and smoothed out the offending radiation diagnostics) and just finished UFS RTs. I need to double-check the results of the UFS RTs, but this has effectively been merged. I don't know why this PR has like 250 commits when the one into ufs/dev has much fewer?

@grantfirl grantfirl closed this Aug 13, 2025
@dustinswales
Copy link
Copy Markdown
Author

@grantfirl Not sure what's going on with the commit history in here? But you grabbed the needed pieces for the PR, and I'm not curious enough to chase it down :)

@dustinswales dustinswales deleted the feature/rad-fix_djs branch May 20, 2026 15:15
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.