#710: Add longwave radiation diagnostics - #720
Conversation
Add two Group A (XIOS expression) diagnostics to the lfric_atm registry: radiation__lw_up_clear_toa (TOA outgoing clear-sky longwave radiation) radiation__lw_up_clear_surf (surface upwelling clear-sky longwave radiation) Both are pointwise combinations of already-registered, already-written fields and require no Fortran: lw_up_clear_toa = lw_up_clear_toa_rts + lw_up_toa - lw_up_toa_rts lw_up_clear_surf = lw_up_clear_surf_rts + lw_up_toa - lw_up_toa_rts These reproduce the UM STASH recipes m01s02i206 + m01s03i332 - m01s02i205 and m01s02i219 + m01s03i332 - m01s02i205 respectively, where the term (m01s03i332 - m01s02i205) is the every-timestep surface-temperature correction increment, expressed here as (lw_up_toa - lw_up_toa_rts). The remaining diagnostics requested in issue MetOffice#710 are already implemented (radiation__lw_up_surf, radiation__lw_net_surf, radiation__sw_up_surf, radiation__lw_up_clear_toa_rts). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Hello Zubair Maalick (@zmaalick)! 👋 Thank you for your contribution. Since this is your first time contributing to this repository, we ask that you sign our Contributor Licence Agreement (CLA). To agree to the CLA, please add your details (GitHub username, Real Name, Affiliation, and Date) to the CONTRIBUTORS.md file (create one, if required) in the development branch for this PR. After signing the CLA, you won't need to do this again for future PRs. |
Title710: Implement longwave radiation diagnostics (clear-sky LW) Closes #710 Diagnostics implemented
Both are TOA / surface upwelling clear-sky longwave fluxes, added as XIOS Of the eight diagnostics requested in the issue, six were already fully ImplementationBoth diagnostics are Group A (XML Expression) — a single new radiation__lw_up_clear_toa = radiation__lw_up_clear_toa_rts radiation__lw_up_clear_surf = radiation__lw_up_clear_surf_rts These reproduce the UM STASH recipes m01s02i206 + m01s03i332 - m01s02i205 The flag-gated clear_rts operands are auto-activated by XIOS when the Already implemented (no work required)
In LFRic the mean/instantaneous distinction is a request-side XIOS Files changed:
Similar existing diagnosticsorographic_drag__taux_orographic_drag (Group A) — an XML-expression sum of A second close analogue: microphysics__ls_prec (Group A) — a pointwise sum Code ReviewReviewed by Fable 5 against the LFRic Fortran coding standards. Testing
RelatedIssue: #710 |
|
Please can you pass this to James Manners (@mo-jmanners) for science review. Ticket still needs a few admin things doing, i.e. adding the trac.log output from running rose-stem, answering the questions and signing the CLA file. Thanks! |
Add two Group A (XIOS expression) diagnostics to the lfric_atm registry:
radiation__lw_up_clear_toa (TOA outgoing clear-sky longwave radiation)
radiation__lw_up_clear_surf (surface upwelling clear-sky longwave radiation)
Both are pointwise combinations of already-registered, already-written fields and require no Fortran:
lw_up_clear_toa = lw_up_clear_toa_rts + lw_up_toa - lw_up_toa_rts
lw_up_clear_surf = lw_up_clear_surf_rts + lw_up_toa - lw_up_toa_rts
These reproduce the UM STASH recipes m01s02i206 + m01s03i332 - m01s02i205 and m01s02i219 + m01s03i332 - m01s02i205 respectively, where the term (m01s03i332 - m01s02i205) is the every-timestep surface-temperature correction increment, expressed here as (lw_up_toa - lw_up_toa_rts).
The remaining diagnostics requested in issue #710 are already implemented (radiation__lw_up_surf, radiation__lw_net_surf, radiation__sw_up_surf, radiation__lw_up_clear_toa_rts).
PR Summary
Sci/Tech Reviewer:
Code Reviewer: Pierre Siddall (@Pierre-siddall)
Code Quality Checklist
Testing
trac.log
Security Considerations
Performance Impact
AI Assistance and Attribution
Documentation
PSyclone Approval
Sci/Tech Review
(Please alert the code reviewer via a tag when you have approved the SR)
Code Review