earth-system-radiation / rte-rrtmgp

RTE+RRTMGP is a set of codes for computing radiative fluxes in planetary atmospheres.
BSD 3-Clause "New" or "Revised" License
74 stars 67 forks source link

Use direct surface albedo in GPU kernels #225

Closed RobertPincus closed 1 year ago

RobertPincus commented 1 year ago

A one-character fix, thanks to @Brian-eaton and @sjsprecious: GPU kernels computing the surface source for RTE SW were using the diffuse surface albedo instead of the direct surface albedo (as the CPU kernels do, correctly).

Not currently covered by a test but should be.