CAM icon indicating copy to clipboard operation
CAM copied to clipboard

CAM updates to bring in CCPP-ized RRTMGP longwave modules

Open peverwhee opened this issue 8 months ago • 0 comments

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 avatar Apr 04 '25 16:04 peverwhee