Skip to main content

PySDM usage examples reproducing results from literature and depicting how to use PySDM from Python Jupyter notebooks

Project description

License: GPL v3 Copyright

Github Actions Build Status
GitHub issues GitHub issues
PyPI version API docs

s repository stores example files for PySDM depicting usage of PySDM from Python via Jupyter. For information on the PySDM package itself and examples of usage from Julia and Matlab, see PySDM README.md file.

Please use the PySDM issue-tracking and dicsussion infrastructure for PySDM-examples as well.

0D box-model coalescence-only examples:

  • Shima et al. 2009 (Box model, coalescence only, test case employing Golovin analytical solution):

    • Fig. 2: Binder Open In Colab
  • Berry 1967 (Box model, coalescence only, test cases for realistic kernels):

    • Figs. 5, 8 & 10: Binder Open In Colab

0D box-model immersion freezing-only example:

  • Alpert & Knopf 2016 (stochastic immersion freezing with monodisperse vs. lognormal immersed surface areas):
    • Fig. 1: Binder Open In Colab
    • Fig. 2: Binder Open In Colab
    • Fig. 3: Binder Open In Colab
    • Fig. 4: Binder Open In Colab
    • Fig. 5: Binder Open In Colab

0D parcel-model condensation only examples:

  • Arabas & Shima 2017 (monodisperse size spectrum activation/deactivation test case):

    • Fig. 5: Binder Open In Colab
  • Yang et al. 2018 (polydisperse size spectrum activation/deactivation test case):

    • Fig. 2: Binder Open In Colab
  • Lowe et al. 2019 (externally mixed polydisperse size spectrum with surface-active organics case):

    • Fig. 1: Binder Open In Colab
    • Fig. 2: Binder Open In Colab

0D parcel-model condensation/aqueous-chemistry example:

1D kinematic (prescribed-flow, single-column):

2D kinematic (prescribed-flow) Sc-mimicking aerosol collisional processing (warm-rain) examples:

  • Arabas et al. 2015

    • Figs. 8 & 9 (interactive web-GUI with product selection, parameter sliders and netCDF/plot export buttons):
      Binder Open In Colab
  • Bartman et al. 2021 (in preparation):

    • Fig 1 (default-settings based script generating a netCDF file and loading it subsequently to create the animation below):
      Binder Open In Colab
    • Fig 2: Binder Open In Colab
    • Fig 3: Binder Open In Colab

animation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PySDM-examples-1.20.tar.gz (805.2 kB view hashes)

Uploaded Source

Built Distribution

PySDM_examples-1.20-py3-none-any.whl (80.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page