earth-system-radiation / pyRTE-RRTMGP

pyRTE-RRTMGP provides a Python interface to the RTE+RRTMGP Fortran software package
https://pyrte-rrtmgp.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

Add low level functions for clouds and aerosols via pybind #53

Open tcmetzger opened 1 week ago

tcmetzger commented 1 week ago

Additional low-level functions related to clouds and aerosols as defined in the C++ header files in the RTE+RRTMGP repository ( https://github.com/earth-system-radiation/rte-rrtmgp/blob/develop/rrtmgp-kernels/api/rrtmgp_kernels.h and https://github.com/earth-system-radiation/rte-rrtmgp/blob/develop/rte-kernels/api/rte_kernels.h) are available in Python, using pybind and the workflow established in Phase 1.

RobertPincus commented 6 days ago

@tcmetzger I made a start on this with https://github.com/earth-system-radiation/rte-rrtmgp/pull/293 where I separated the cloud kernels. (The aerosol kernels being maybe too much of a mess.) When I made the change, though, one of my CI tests started to fail (GPUs using double precision, with the same code in single precision working fine.) I haven't resolved this but can come back to it.