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 DOI

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: nbviewer Binder Open In Colab
  • Berry 1967 (Box model, coalescence only, test cases for realistic kernels):

    • Figs. 5, 8 & 10: nbviewer 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: nbviewer Binder Open In Colab
    • Fig. 2: nbviewer Binder Open In Colab
    • Fig. 3: nbviewer Binder Open In Colab
    • Fig. 4: nbviewer Binder Open In Colab
    • Fig. 5: nbviewer Binder Open In Colab

0D parcel-model condensation only examples:

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

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

    • Fig. 2: nbviewer Binder Open In Colab
  • Pyrcel documentation example (externally mixed polydisperse size spectrum activation test case)

    • supersaturation, temperature, wet radii evolution and dry spectra plots: nbviewer Binder Open In Colab
  • Lowe et al. 2019 (externally mixed polydisperse size spectrum with surface-active organics case):

    • Fig. 1: nbviewer Binder Open In Colab
    • Fig. 2: nbviewer 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):
      nbviewer 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):
      nbviewer Binder Open In Colab
    • Fig 2: nbviewer Binder Open In Colab
    • Fig 3: nbviewer Binder Open In Colab

animation

Project details


Release history Release notifications | RSS feed

This version

2.3

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-2.3.tar.gz (991.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PySDM_examples-2.3-py3-none-any.whl (88.1 kB view details)

Uploaded Python 3

File details

Details for the file PySDM-examples-2.3.tar.gz.

File metadata

  • Download URL: PySDM-examples-2.3.tar.gz
  • Upload date:
  • Size: 991.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.7

File hashes

Hashes for PySDM-examples-2.3.tar.gz
Algorithm Hash digest
SHA256 744fa7e22b1f6df0e7018dece86f6b1afb8ad99d6ceafa365a1452791a1238b3
MD5 3e3b91828f5734c72c2458c2b0e9abad
BLAKE2b-256 316c4b54174dd6e7f2c16ad504bafc3b0fd2f26fda2e18a91d0d3917e11d4478

See more details on using hashes here.

File details

Details for the file PySDM_examples-2.3-py3-none-any.whl.

File metadata

  • Download URL: PySDM_examples-2.3-py3-none-any.whl
  • Upload date:
  • Size: 88.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.7

File hashes

Hashes for PySDM_examples-2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7fd5f23e265baee9257414b388e29beab4696af506dad029e081a2fdbda85b35
MD5 dcc936b846e0c1811be86e5f131d57d9
BLAKE2b-256 5f7f910689922ccaff1d58f9d89a0719f81125deb907aa62ce9b96381c44fb69

See more details on using hashes here.

Supported by

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