GPU-capable cloud microphysics and aerosol parameterizations for the CliMA Earth System Model
55
stars
929
commits
Julia
primary language
Sep 11, 2026
updated
CloudMicrophysics.jl provides a library of cloud microphysics and aerosol parameterizations for the CliMA Earth System Model. It implements bulk microphysics schemes for cloud formation, precipitation, and aerosol processes, designed for high-performance climate simulations.
using Pkg
Pkg.add("CloudMicrophysics")
Pkg.add("ClimaParams")
import CloudMicrophysics.Microphysics1M as CM1
import CloudMicrophysics.Parameters as CMP
# Create microphysics parameters
rain = CMP.Rain(Float64)
vel = CMP.Blk1MVelType(Float64).rain
# Compute rain terminal velocity
ρ = 1.2 # air density [kg/m³]
q_rai = 1e-3 # rain specific content [kg/kg]
v_term = CM1.terminal_velocity(rain, vel, ρ, q_rai)
CloudMicrophysics.jl is used throughout the CliMA ecosystem:
Contributions are welcome. See the Developer's Guide and AGENTS.md, which points to the shared CliMA developer guides in docs/dev-guides/.
To run the test suite locally:
julia --project=test
julia>]
pkg> dev .
pkg> instantiate
julia> include("test/runtests.jl")
For questions, check the documentation or open an issue on GitHub.
(top 30 of 36)
Julia
100.0%
GPU-capable cloud microphysics and aerosol parameterizations for the CliMA Earth System Model
55
stars
929
commits
Julia
primary language
Sep 11, 2026
updated
CloudMicrophysics.jl provides a library of cloud microphysics and aerosol parameterizations for the CliMA Earth System Model. It implements bulk microphysics schemes for cloud formation, precipitation, and aerosol processes, designed for high-performance climate simulations.
using Pkg
Pkg.add("CloudMicrophysics")
Pkg.add("ClimaParams")
import CloudMicrophysics.Microphysics1M as CM1
import CloudMicrophysics.Parameters as CMP
# Create microphysics parameters
rain = CMP.Rain(Float64)
vel = CMP.Blk1MVelType(Float64).rain
# Compute rain terminal velocity
ρ = 1.2 # air density [kg/m³]
q_rai = 1e-3 # rain specific content [kg/kg]
v_term = CM1.terminal_velocity(rain, vel, ρ, q_rai)
CloudMicrophysics.jl is used throughout the CliMA ecosystem:
Contributions are welcome. See the Developer's Guide and AGENTS.md, which points to the shared CliMA developer guides in docs/dev-guides/.
To run the test suite locally:
julia --project=test
julia>]
pkg> dev .
pkg> instantiate
julia> include("test/runtests.jl")
For questions, check the documentation or open an issue on GitHub.
(top 30 of 36)
Julia
100.0%