Skip to content
#diffusion models Open access

CARMApy: An Open-Source Python Framework for Simulating Microphysical Clouds in Planetary Atmospheres

Sep 2026 · Zenodo (CERN European Organization for Nuclear Research)

Abstract

CARMApy is a Python wrapper of the Community Aerosol and Radiation Model for Atmospheres (CARMA), originally developed by Turco et al. (1979), Toon et al. (1988), and Bardeen et al. (2008). CARMApy specifically wraps ExoCARMA, a version of CARMA developed by Gao et al. (2018) and Powell et al. (2018) to model clouds on exoplanets. This code is still under development: while we believe there are no significant errors in the code, the CARMApy wrapper is still young. If you encounter any issues or bugs, please open an issue or email Wolf Cukier (wcukier@uchicago.edu). The documentation, including detailed tutorials and installation instructions, are available here: https://carmapy.readthedocs.io Features Detailed microphysical modeling including Homogeneous and heterogeneous nucleation Particle growth and evaporation Vertical transport including eddy diffusion, falling, and bulk winds Coagulation The ability to use user-defined condensates by specifying their physical properties A beginner-friendly, opinionated API that makes the code easy to learn Easy reading of output data and plotting of results Helper functions with reasonable physical assumptions to supplement input data Installation CARMApy is available on PyPI: pip install carmapy CARMApy requires Python 3.10 or newer. Pre-built wheels bundle a standalone Fortran binary, so no compiler is needed for a standard install. See the documentation for source builds and details. Quick Start import carmapy # Create a simulation (the name becomes the output directory) carma = carmapy.Carma("my_first_run") # Set the timestep [s], output cadence, and number of steps carma.set_stepping(dt=100, output_gap=100, n_tstep=24000) # Load the example atmosphere (a 2000 K Sonora Diamondback profile). # All inputs are cgs: P in barye, T in K, kzz in cm^2/s. P_levs, T_levs, kzz_levs, mu_levs = carmapy.example.example_levels() carma.add_P(P_levs) carma.add_T(T_levs) carma.add_kzz(kzz_levs) # Surface gravity [cm/s^2] and mean molecular weight carma.set_physical_params(surface_grav=31600, wt_mol=mu_levs[0]) carma.set_atmospheric_parameters_from_defaults("Pure H2") # H2-dominated carma.calculate_z(mu_levs) # derive altitudes from P/T/mu # Add cloud species: TiO2 nucleates homogeneously, Mg2SiO4 grows on it. # The second argument is the minimum particle radius [cm]. carma.add_hom_group("TiO2", 1e-8) carma.add_het_group("Mg2SiO4", "TiO2", 1e-8 * 2**(1/3)) # Initialize gas abundances (via FastChem) and run carmapy.chemistry.populate_abundances_at_cloud_base(carma) carma.run() results = carma.read_results() See the tutorials for complete, runnable examples.

View source

Similar papers

#computer vision Open access Jun 2016

Software Development in Startup Companies: The Greenfield Startup Model

The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.

Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al. · 178 citations · ⚡14
#computer vision Open access Oct 2016

Software Startups - A Research Agenda

Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.

M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al. · 157 citations · ⚡17
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#computer vision Review Open access May 2015

A survey study on major technical barriers affecting the decision to adopt cloud services

The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.

Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al. · 111 citations · ⚡8
#computer vision Open access Feb 2018

Lean Internal Startups for Software Product Innovation in Large Companies: Enablers and Inhibitors

This study investigates how Lean internal startup facilitates software product innovation in large companies and identifies its enablers and inhibitors, and shows the potential of the method-in-action framework to investigate the Lean startup approach in non-startup context.

Henry Edison, Nina M. Smørsgård, Xiaofeng Wang et al. · 78 citations · ⚡6
#computer vision Conference Sep 2010

Exploring the Sources of Waste in Kanban Software Development Projects

The application of agile software methods and more recently the integration of Lean practices contribute to the trend of continuous improvement in the software industry. One such area warranting proper empirical evidence is a project’s operational efficiency when using the Kanban method. This short paper takes a new angle and explores waste in the Kanban-driven software development project context. A preliminary research model is presented for helping the consequent replication of the study. The results from the empirical analysis suggest Kanban can be an effective method in visualizing and organizing the current work, but does not prevent waste from creeping in, although the overall project outcome may be successful.

Marko Ikonen, Petri Kettunen, Nilay V. Oza et al. · 67 citations · ⚡9

Related blog posts

MIT News · Artificial Intelligence Sep 14, 2026

New method enables AI for safety-critical situations

The “HardFlow” algorithm could help generative AI models produce high-quality outputs that obey strict requirements when “pretty close” doesn’t cut it.

GPT-Lab Sep 10, 2026

Responsible AI Must Consider Its Afterlife

AI may appear weightless, but every model depends on physical infrastructure. To understand responsible AI, we need to look beyond algorithms and consider the entire lifecycle of the hardware behind them. The post Responsible AI Must Consider Its Afterlife appeared first on GPT-Lab.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.