Package PySDM_examples

PySDM_examples package includes common Python modules used in PySDM smoke tests and in example notebooks (but the package wheels do not include the notebooks)

Expand source code
"""
PySDM_examples package includes common Python modules used in PySDM smoke tests
and in example notebooks (but the package wheels do not include the notebooks)
"""

from importlib.metadata import PackageNotFoundError, version

try:
    __version__ = version(__name__)
except PackageNotFoundError:
    # package is not installed
    pass

Sub-modules

PySDM_examples.Abdul_Razzak_Ghan_2000

condensation example using parcel environment based on Abdul-Razzak & Ghan 2000 (JGR)

PySDM_examples.Alpert_and_Knopf_2016

box-environment example based on Alpert & Knopf 2016 (Atmos. Chem. Phys. 16)

PySDM_examples.Arabas_and_Shima_2017

condensation-evaportaion parcel example based on Arabas and Shima 2017 (Nonlin. Processes Geophys. 24)

PySDM_examples.Arabas_et_al_2015

2D prescribed-flow case extended with Paraview visualisation with spin-up logic from Arabas et al. 2015

PySDM_examples.Arabas_et_al_2023

box-model and 2D prescribed-flow immersion-freezing examples based on Arabas et al. 2023

PySDM_examples.Bartman_2020_MasterThesis

Box and parcel examples from Bartman 2020 MSc thesis

PySDM_examples.Bartman_et_al_2021

condensation and coalescence adaptivity examples

PySDM_examples.Berry_1967

box-model coalescence-only example based on Berry 1967 (J. Atmos. Sci. 24)

PySDM_examples.Bieli_et_al_2022

collision-only box-model example from Bieli et al. 2022

PySDM_examples.Bolot_et_al_2013

figures from Bolot et al. 2013 (Atmos. Chem. Phys. 13) https://doi.org/10.5194/acp-13-7903-2013

PySDM_examples.Bulenok_2023_MasterThesis

Box-model coalescence-breakup performance benchmark from Bulenok 2023 MSc thesis

PySDM_examples.Ervens_and_Feingold_2012
PySDM_examples.Gedzelman_and_Arnold_1994

Formulae-only example depicting changes in drop and ambient vapour isotopic composition upon evaporation of rain in subsaturated environment based on …

PySDM_examples.Grabowski_and_Pawlowska_2023

ripening-focused parcel-model example based on Grabowski & Pawlowska 2023 (GRL)

PySDM_examples.Graf_et_al_2019

Parcel-model Condensation,Isotope example Graf.et.al 2019

PySDM_examples.Jaruga_and_Pawlowska_2018

aqueous-chemistry parcel-model example based on Jaruga & Pawlowska 2018 (GMD)

PySDM_examples.Jensen_and_Nugent_2017
PySDM_examples.Kreidenweis_et_al_2003

aqueous-phase chemistry parcel-model example from Kreidenweis et al. 2003 (JGR)

PySDM_examples.Lamb_et_al_2017

Formulae-only example depicting equilibrium isotopic fractionation over ice based on Lamb et al. 2017

PySDM_examples.Lowe_et_al_2019

parcel-model example focused on surfactants based on Lowe et al. 2019 (Nature Comm.)

PySDM_examples.Merlivat_and_Nief_1967

figure from Merlivat and Nief 1967 (Tellus) https://doi.org/10.3402/tellusa.v19i1.9756

PySDM_examples.Miyake_et_al_1968

isotopic adjustment time plot following Friedman et al. 1962 (JGR)

PySDM_examples.Morrison_and_Grabowski_2007

prescribed-flow simulation settings data from Morrison & Grabowski 2007 (JAS)

PySDM_examples.Niedermeier_et_al_2014
PySDM_examples.Pierchala_et_al_2022

based on Pierchala et al. 2022 (Geochim. Cosmochim. Acta) https://doi.org/10.1016/j.gca.2022.01.020

PySDM_examples.Pyrcel

parcel-model example based on the test case from Pyrcel package docs

PySDM_examples.Shima_et_al_2009

box-model coalescence-only example featuring Golovin analytic solution following setup from Shima et al. 2009

PySDM_examples.Shipway_and_Hill_2012

single-column prescribed-flow constant-temperature example from Shipway & Hill 2012

PySDM_examples.Singer_Ward
PySDM_examples.Srivastava_1982

box-model examples feat. analytic solution for breakup from Srivastava 1982 (JAS)

PySDM_examples.Szumowski_et_al_1998

2D GUI-equipped prescribed-flow warm-rain case based on Szumowski et al. 1998 (Atmos. Res.)

PySDM_examples.Van_Hook_1968

figure from Van Hook 1968 (J. Phys. Chem.) https://doi.org/10.1021/j100850a028

PySDM_examples.Yang_et_al_2018

parcel-model condensation-evaporation example based on Yang et al. 2018 (ACP)

PySDM_examples.deJong_Azimi

box- and single-column coalescence-focused examples used to test new moment-based microphysics in (Cloudy.jl)[https://github.com/CliMA/Cloudy.jl]

PySDM_examples.deJong_Mackay_et_al_2023

box- and single-column breakup-focused examples from de Jong et al. 2023

PySDM_examples.utils

reusable commons for examples