Python bindings for libcloudph++
Dorota Jarecka, Sylwester Arabas, Davide Del Vento

TL;DR
This paper presents Python bindings for libcloudph++, a C++ library for atmospheric cloud microphysics, enabling easier integration and use in Python-based modeling and analysis.
Contribution
It introduces complete Python bindings for libcloudph++, implemented with Boost.Python and NumPy, including cross-language access from Fortran.
Findings
Bindings expose full library functionality
Python scripts demonstrate usage examples
Cross-language access from Fortran is possible
Abstract
This technical note introduces the Python bindings for libcloudph++. The libcloudph++ is a C++ library of algorithms for representing atmospheric cloud microphysics in numerical models. The bindings expose the complete functionality of the library to the Python users. The bindings are implemented using the Boost.Python C++ library and use NumPy arrays. This note includes listings with Python scripts exemplifying the use of selected library components. An example solution for using the Python bindings to access libcloudph++ from Fortran is presented.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAtmospheric aerosols and clouds · Meteorological Phenomena and Simulations · Atmospheric chemistry and aerosols
