CloudMicrophysics.jl
Provides a library of cloud microphysics and aerosol parameterizations for the CliMA Earth System Model.
https://github.com/clima/cloudmicrophysics.jl
Category: Atmosphere
Sub Category: Atmospheric Chemistry and Aerosol
Keywords from Contributors
climate data-assimilation land-surface-model land climate-change atmospheric-sciences smoluchowski particle-simulation particle-in-cell condensation
Last synced: about 22 hours ago
JSON representation
Repository metadata
A library of cloud microphysics parameterizations
- Host: GitHub
- URL: https://github.com/clima/cloudmicrophysics.jl
- Owner: CliMA
- License: apache-2.0
- Created: 2021-07-26T14:25:47.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2026-03-26T23:09:10.000Z (14 days ago)
- Last Synced: 2026-04-01T07:50:00.989Z (9 days ago)
- Language: Julia
- Homepage: https://clima.github.io/CloudMicrophysics.jl/dev/
- Size: 94.4 MB
- Stars: 46
- Watchers: 5
- Forks: 10
- Open Issues: 36
- Releases: 91
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Notice: NOTICE
README.md
CloudMicrophysics.jl
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.
| Documentation click here ➡️ | |
| Docs Build | |
| GHA CI | |
| Code Coverage | |
| Downloads |
Quick Start
Installation
using Pkg
Pkg.add("CloudMicrophysics")
Pkg.add("ClimaParams")
Basic Usage
import CloudMicrophysics as CM
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)
Running tests locally
# Load additional packages needed for tests
julia --project=test
# Enter Package Manager and develop locally
julia>]
pkg> dev .
pkg> instantiate
# Run the tests
julia> include("test/runtests.jl")
Key Features
🌧️ Bulk Microphysics Schemes
- 0-moment scheme: Simple precipitation removal
- 1-moment scheme: Marshall-Palmer distributions for rain and snow
- 2-moment scheme: Seifert & Beheng (2006) with mass and number concentration
- P3 scheme: Predicted particle properties for ice
🧊 Ice Nucleation
- Heterogeneous nucleation: Deposition, immersion freezing (ABIFM)
- Homogeneous nucleation: Koop et al. (2000) parameterization
- INP distributions: Frostenberg et al. (2023)
💨 Aerosol Processes
- Aerosol activation: Abdul-Razzak & Ghan (2000) parameterization
- Aerosol nucleation: H₂SO₄ and organic nucleation pathways
- Aerosol model: Modal distributions with κ-Köhler theory
⚡ High Performance
- Type-stable and GPU-compatible (CUDA.jl, AMDGPU.jl)
- AD-compatible (ForwardDiff.jl) for differentiable physics
- Optimized for minimal allocations
Documentation
- Getting Started - Installation and first steps
- API Reference - Detailed function documentation
- Microphysics Schemes - Scheme descriptions
Integration with Climate Models
CloudMicrophysics.jl is used throughout the CliMA ecosystem:
- ClimaAtmos - Atmospheric model
- KinematicDriver - 1D/2D kinematic framework
- Thermodynamics - Moist thermodynamics
Getting Help
For questions, check the documentation or open an issue on GitHub.
Owner metadata
- Name: Climate Modeling Alliance
- Login: CliMA
- Email: clima@caltech.edu
- Kind: organization
- Description: An alliance of scientists, engineers and applied mathematicians, dedicated to pioneering a new, data-informed approach to climate modeling
- Website: https://clima.caltech.edu
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/43161188?v=4
- Repositories: 67
- Last ynced at: 2023-03-03T21:04:27.588Z
- Profile URL: https://github.com/CliMA
GitHub Events
Total
- Create event: 174
- Commit comment event: 58
- Release event: 28
- Delete event: 164
- Pull request event: 277
- Fork event: 3
- Issues event: 36
- Watch event: 8
- Issue comment event: 237
- Push event: 1498
- Pull request review comment event: 233
- Pull request review event: 271
Last Year
- Create event: 114
- Commit comment event: 47
- Release event: 22
- Delete event: 117
- Pull request event: 176
- Fork event: 1
- Issues event: 21
- Watch event: 7
- Issue comment event: 158
- Push event: 988
- Pull request review comment event: 138
- Pull request review event: 161
Committers metadata
Last synced: 3 days ago
Total Commits: 467
Total Committers: 38
Avg Commits per committer: 12.289
Development Distribution Score (DDS): 0.582
Commits in past year: 136
Committers in past year: 16
Avg Commits per committer in past year: 8.5
Development Distribution Score (DDS) in past year: 0.654
| Name | Commits | |
|---|---|---|
| Anna Jaruga | a****a@c****u | 195 |
| amylu00 | a****3@c****u | 59 |
| Haakon Ludvig Langeland Ervik | 4****e | 49 |
| Charles Kawczynski | k****s@g****m | 27 |
| nefrathenrici | n****i@g****m | 23 |
| Tapio Schneider | t****o@c****u | 14 |
| Sajjad Azimi | a****i@c****u | 13 |
| Anastasia Popova | a****a@c****u | 11 |
| Caterina Croci | c****c@g****m | 9 |
| Gabriele Bozzola | g****a@c****u | 7 |
| sriharshakandala | s****s@g****m | 6 |
| Olivia Alcabes | o****s@r****m | 4 |
| Gregory L. Wagner | g****r@g****m | 4 |
| Mikhail Mints | m****s@L****n | 3 |
| CompatHelper Julia | c****y@j****g | 3 |
| Olivia Alcabes | 5****s | 3 |
| Emily de Jong | 6****h | 3 |
| Julia Sloan | j****n@c****u | 3 |
| Kaitlyn Alphonse | k****e@e****m | 3 |
| Rowan Orlijan-Rhyne | r****1@s****u | 3 |
| Sylwester Arabas | s****s@a****l | 2 |
| apoorva-thanvantri | a****i@g****m | 2 |
| dependabot[bot] | 4****] | 2 |
| Jake Bolewski | j****i@g****m | 2 |
| Agnieszka Makulska | a****a@s****l | 2 |
| Valeria Barra | 3****a | 2 |
| Rowan Orlijan-Rhyne | r****n@R****e | 2 |
| ray-chew | c****w@c****u | 1 |
| Caterina Croci | c****i@C****l | 1 |
| Kaitlyn Alphonse | k****e@e****l | 1 |
| and 8 more... | ||
Committer domains:
- caltech.edu: 11
- google.com: 1
- wolfson.oxon.org: 1
- rowans-mbp-2.home: 1
- student.uw.edu.pl: 1
- agh.edu.pl: 1
- swarthmore.edu: 1
- ec-intl.com: 1
- julialang.org: 1
- laptop-am7o87m0.localdomain: 1
- runningtide.com: 1
Issue and Pull Request metadata
Last synced: 5 days ago
Total issues: 151
Total pull requests: 709
Average time to close issues: 3 months
Average time to close pull requests: 12 days
Total issue authors: 17
Total pull request authors: 31
Average comments per issue: 1.19
Average comments per pull request: 2.02
Merged pull request: 477
Bot issues: 1
Bot pull requests: 68
Past year issues: 16
Past year pull requests: 147
Past year average time to close issues: 11 days
Past year average time to close pull requests: 4 days
Past year issue authors: 4
Past year pull request authors: 13
Past year average comments per issue: 0.31
Past year average comments per pull request: 1.35
Past year merged pull request: 96
Past year bot issues: 1
Past year bot pull requests: 16
Top Issue Authors
- trontrytel (93)
- haakon-e (19)
- amylu00 (12)
- nefrathenrici (7)
- sriharshakandala (3)
- rorlija1 (3)
- charleskawczynski (3)
- claresinger (2)
- oalcabes (1)
- AllThingsDynamical (1)
- valeriabarra (1)
- github-actions[bot] (1)
- simonbyrne (1)
- edejong-caltech (1)
- JuliaTagBot (1)
Top Pull Request Authors
- trontrytel (245)
- amylu00 (118)
- haakon-e (71)
- github-actions[bot] (36)
- dependabot[bot] (32)
- nefrathenrici (31)
- rorlija1 (28)
- anastasia-popova (25)
- crocicc (19)
- oalcabes (19)
- sajjadazimi (16)
- Sbozzolo (13)
- charleskawczynski (11)
- edejong-caltech (8)
- sriharshakandala (6)
Top Issue Labels
- P3 (23)
- enhancement (20)
- Ice :snowman: (20)
- Parcel (13)
- Aerosol :circus_tent: (12)
- SDI (12)
- GPU (11)
- documentation (10)
- tests (8)
- parameters :bricks: (7)
- Aerosol Activation :bulb: (6)
- :heavy_multiplication_x: on_hold (5)
- Terminal velocity (4)
- refactor :star2: (4)
- packages 🍱 (4)
- good first issue (2)
- bug (2)
- tagbot-manual (1)
- ci (1)
- bikeshedding :bike: :house: (1)
- question (1)
- Approved :four_leaf_clover: (1)
- Radiation :sun_with_face: (1)
Top Pull Request Labels
- Approved :four_leaf_clover: (110)
- P3 (74)
- Ice :snowman: (50)
- needs review (41)
- packages 🍱 (40)
- dependencies (35)
- Parcel (32)
- documentation (31)
- ci (28)
- parameters :bricks: (26)
- enhancement (25)
- tests (19)
- GPU (14)
- Aerosol Activation :bulb: (13)
- bikeshedding :bike: :house: (12)
- Terminal velocity (11)
- github_actions (10)
- refactor :star2: (8)
- bugfix (6)
- Aerosol :circus_tent: (6)
- work-in-progress (6)
- NonEq 💧🧊 (5)
- :heavy_multiplication_x: on_hold (3)
- Radiation :sun_with_face: (2)
- CI tests & docs (2)
- Dependencies 🍱 (1)
- Launch Buildkite (1)
- :heavy_multiplication_x: On_hold (1)
Dependencies
- actions/checkout v2.2.0 composite
- codecov/codecov-action v1.0.7 composite
- julia-actions/setup-julia latest composite
- actions/checkout v2 composite
- actions/checkout v2.2.0 composite
- dorny/paths-filter v2.9.1 composite
- julia-actions/setup-julia latest composite
- styfle/cancel-workflow-action 0.4.0 composite
- JuliaRegistries/TagBot v1 composite
- actions/cache v1 composite
- actions/checkout v2 composite
- codecov/codecov-action v1 composite
- julia-actions/julia-buildpkg v1 composite
- julia-actions/julia-processcoverage v1 composite
- julia-actions/julia-runtest v1 composite
- julia-actions/setup-julia v1 composite
- actions/checkout v2 composite
- julia-actions/setup-julia latest composite
Score: 8.044305406990638