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

CAM updates to bring in CCPP-ized RRTMGP longwave modules #1290

Open
wants to merge 17 commits into
base: cam_development
Choose a base branch
from

Conversation

peverwhee
Copy link
Collaborator

@peverwhee peverwhee commented Apr 4, 2025

Summary

Brings in (via atmospheric_physics) new CCPP-ized longwave routines. Modifies CAM side to use new CCPP interfaces, while maintaining RRTMG functionality.

Addresses #1192

Main modules updated:

  • src/physics/rrtmgp/radiation.F90
    • Use new ccpp interfaces
  • src/physics/rrtmgp/rrtmgp_inputs.F90 (now rrtmgp_inputs_cam.F90)
    • Remove longwave gas and cloud optics (now ccppized)
    • Will get smaller when SW is CCPPized
  • src/physics/rrtmgp/radconstants.F90
    • Move set_wavenumber_bounds to CCPP/utils
  • src/physics/cam/cloud_rad_props.F90
    • pass out data read in from ice and liquid optics files to be used by CCPPized interfaces

Updates configure as well to include new rrtmgp paths (always build utils because RRTMG requires access to radiation_utils.F90)

Testing

Tests are b4b.

@peverwhee peverwhee requested a review from nusbaume April 4, 2025 16:21
@peverwhee peverwhee self-assigned this Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant