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 DOI

Github Actions Build Status PyPI version API docs

This 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 discussion infrastructure for PySDM-examples as well.

0D box-model coalescence and breakup 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
  • Bieli et al. 2022 (Box model, coalescence and breakup with fixed coalescence efficiency):

    • Fig. 3: nbviewer Binder Open In Colab
  • deJong et al. 2023 (Box model, coalescence and breakup):

    • Figs. 3-5 (Berry 1967 coalescence efficiency): nbviewer Binder Open In Colab
    • Appendix figures (validation against Srivastava 1982 analytic solution): 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
  • Abdul-Razzak & Ghan 2000 (aerosol activation parameterization for GCMs):

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

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

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

  • Shipway & Hill 2012:

    • Fig 1 (thermodynamics/condensation only, no particle displacement yet):
      nbviewer Binder Open In Colab
  • deJong et al. 2023 (Kinematic setup as in Shipway and Hill, including breakup with Berry 1967 coalescence efficiency):

    • Figs. 6-8: nbviewer Binder Open In Colab

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.19

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.19.tar.gz (3.8 MB 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.19-py3-none-any.whl (125.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PySDM-examples-2.19.tar.gz
  • Upload date:
  • Size: 3.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for PySDM-examples-2.19.tar.gz
Algorithm Hash digest
SHA256 99d4dc5648eceec86320eba0b01780d40f6fba2fa4d0f8231e3b536df8f838aa
MD5 aa23c64de54daca222fd94fe7c062620
BLAKE2b-256 10194d04dbaf7841d5d24d24430dc0995fc6bf8e0dc4c6ff0f1ba0be10ac75b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PySDM_examples-2.19-py3-none-any.whl
  • Upload date:
  • Size: 125.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for PySDM_examples-2.19-py3-none-any.whl
Algorithm Hash digest
SHA256 1f7f25ffd7625310ee260f21629d7fc703880c6c00d7de40339efbabd1ef12e6
MD5 fe374b8ae9bf81a037d0aca1950d1005
BLAKE2b-256 41b9643d9ece69b8059c28cb7cb7fc72abfaae9a84d7edeb370cf9d4399f69c6

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