diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-18 03:49:01 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-18 03:49:01 +0000 |
| commit | db179ce87dec583399926c39c990547fbac3e247 (patch) | |
| tree | e06f3ae5696c1251c60336400437c06b80ead964 /python-pysdm-examples.spec | |
| parent | e42ea39a4c536068c0a78565c18bb5e4e3e30f7a (diff) | |
automatic import of python-pysdm-examples
Diffstat (limited to 'python-pysdm-examples.spec')
| -rw-r--r-- | python-pysdm-examples.spec | 548 |
1 files changed, 548 insertions, 0 deletions
diff --git a/python-pysdm-examples.spec b/python-pysdm-examples.spec new file mode 100644 index 0000000..a71c1f7 --- /dev/null +++ b/python-pysdm-examples.spec @@ -0,0 +1,548 @@ +%global _empty_manifest_terminate_build 0 +Name: python-PySDM-examples +Version: 2.20 +Release: 1 +Summary: PySDM usage examples reproducing results from literature and depicting how to use PySDM from Python Jupyter notebooks +License: GPL-3.0 +URL: https://github.com/open-atmos/PySDM-examples +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6c/07/dcd71168b7dc1ee653102715328cb79a3cb7b066ff4aa6ca4268f90c139f/PySDM-examples-2.20.tar.gz +BuildArch: noarch + +Requires: python3-PySDM +Requires: python3-PyMPDATA +Requires: python3-open-atmos-jupyter-utils +Requires: python3-pystrict +Requires: python3-matplotlib +Requires: python3-joblib +Requires: python3-ipywidgets +Requires: python3-seaborn +Requires: python3-ghapi +Requires: python3-pyvinecopulib +Requires: python3-vtk + +%description +[](https://www.gnu.org/licenses/gpl-3.0.html) +[](https://zenodo.org/badge/latestdoi/351755603) + +[](https://github.com/atmos-cloud-sim-uj/PySDM-examples/actions) +[](https://pypi.org/project/PySDM-examples) +[](https://open-atmos.github.io/PySDM-examples/) + +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](https://github.com/open-atmos/PySDM/blob/master/README.md) file. + +Please use the [PySDM issue-tracking](https://github.com/open-atmos/PySDM/issues) and [discussion](https://github.com/open-atmos/PySDM/discussions) infrastructure for `PySDM-examples` as well. + +### 0D box-model coalescence and breakup examples: +- [Shima et al. 2009](http://doi.org/10.1002/qj.441) (Box model, coalescence only, test case employing Golovin analytical solution): + - Fig. 2: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Shima_et_al_2009/fig_2.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Shima_et_al_2009/fig_2.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Shima_et_al_2009/fig_2.ipynb) + +- [Berry 1967](https://doi.org/10.1175/1520-0469(1967)024<0688:CDGBC>2.0.CO;2) (Box model, coalescence only, test cases for realistic kernels): + - Figs. 5, 8 & 10: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Berry_1967/figs_5_8_10.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Berry_1967/figs_5_8_10.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Berry_1967/figs_5_8_10.ipynb) + +- [Bieli et al. 2022](https://www.essoar.org/doi/abs/10.1002/essoar.10510248.1) (Box model, coalescence and breakup with fixed coalescence efficiency): + - Fig. 3: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Bieli_et_al_2022/make_fig_3.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Bieli_et_al_2022/make_fig_3.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Bieli_et_al_2022/make_fig_3.ipynb) + +- [deJong et al. 2023](https://doi.org/10.5194/egusphere-2022-1243) (Box model, coalescence and breakup): + - Figs. 3-5 (Berry 1967 coalescence efficiency): + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/deJong_Mackay_2022/box_sensitivities.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/deJong_Mackay_2022/box_sensitivities.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/deJong_Mackay_2022/box_sensitivities.ipynb) + - Appendix figures (validation against Srivastava 1982 analytic solution): + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/deJong_Mackay_2022/appendix.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/deJong_Mackay_2022/appendix.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/deJong_Mackay_2022/appendix.ipynb) + +### 0D box-model immersion freezing-only example: +- [Alpert & Knopf 2016](https://doi.org/10.5194/acp-16-2083-2016) (stochastic immersion freezing with monodisperse vs. lognormal immersed surface areas): + - Fig. 1: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_1.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Alpert_and_Knopf_2016/fig_1.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_1.ipynb) + - Fig. 2: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_2.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Alpert_and_Knopf_2016/fig_2.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_2.ipynb) + - Fig. 3: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_3.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Alpert_and_Knopf_2016/fig_3.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_3.ipynb) + - Fig. 4: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_4.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Alpert_and_Knopf_2016/fig_4.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_4.ipynb) + - Fig. 5: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_5.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Alpert_and_Knopf_2016/fig_5.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_5.ipynb) + +### 0D parcel-model condensation only examples: +- [Arabas & Shima 2017](http://dx.doi.org/10.5194/npg-24-535-2017) (monodisperse size spectrum activation/deactivation test case): + - Fig. 5: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Arabas_and_Shima_2017/fig_5.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Arabas_and_Shima_2017/fig_5.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Arabas_and_Shima_2017/fig_5.ipynb) + +- [Yang et al. 2018](https://doi.org/10.5194/acp-18-7313-2018) (polydisperse size spectrum activation/deactivation test case): + - Fig. 2: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Yang_et_al_2018/fig_2.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Yang_et_al_2018/fig_2.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Yang_et_al_2018/fig_2.ipynb) + +- [Abdul-Razzak & Ghan 2000](http://doi.wiley.com/10.1029/1999JD901161) (aerosol activation parameterization for GCMs): + - Figs. 1 - 5: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Abdul_Razzak_Ghan_2000/figs1-5.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=PySDM_examples/Abdul_Razzak_Ghan_2000/figs1-5.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Abdul_Razzak_Ghan_2000/figs1-5.ipynb) + +- [Pyrcel documentation example](https://pyrcel.readthedocs.io/en/latest/examples/basic_run.html) (externally mixed polydisperse size spectrum activation test case): + - supersaturation, temperature, wet radii evolution and dry spectra plots: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Pyrcel/example_basic_run.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=PySDM_examples/Pyrcel/example_basic_run.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Pyrcel/example_basic_run.ipynb) + +- [Lowe et al. 2019](https://doi.org/10.1038/s41467-019-12982-0) (externally mixed polydisperse size spectrum with surface-active organics case): + - Fig. 1: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Lowe_et_al_2019/fig_1.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Lowe_et_al_2019/fig_1.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Lowe_et_al_2019/fig_1.ipynb) + - Fig. 2: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Lowe_et_al_2019/fig_2.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Lowe_et_al_2019/fig_2.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Lowe_et_al_2019/fig_2.ipynb) + - Fig. 3: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Lowe_et_al_2019/fig_3.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Lowe_et_al_2019/fig_3.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Lowe_et_al_2019/fig_3.ipynb) + +### 0D parcel-model condensation/aqueous-chemistry example: +- [Kreidenweis et al. 2003](https://doi.org/10.1029/2002JD002697) (Adiabatic parcel, polydisperse size spectrum, aqueous‐phase SO2 oxidation test case): + - Fig 1: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Kreidenweis_et_al_2003/fig_1.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Kreidenweis_et_al_2003/fig_1.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Kreidenweis_et_al_2003/fig_1.ipynb) +- [Jaruga and Pawlowska 2018](https://doi.org/10.5194/gmd-11-3623-2018) (same test case as above, different numerical settings): + - Fig 2: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Jaruga_and_Pawlowska_2018/fig_2.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Jaruga_and_Pawlowska_2018/fig_2.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Jaruga_and_Pawlowska_2018/fig_2.ipynb) + - Fig 3: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Jaruga_and_Pawlowska_2018/fig_3.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Jaruga_and_Pawlowska_2018/fig_3.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Jaruga_and_Pawlowska_2018/fig_3.ipynb) + +### 1D kinematic (prescribed-flow, single-column): +- [Shipway & Hill 2012](https://doi.org/10.1002/qj.1913): + - Fig 1 (thermodynamics/condensation only, no particle displacement yet): + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Shipway_and_Hill_2012/fig_1.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Shipway_and_Hill_2012/fig_1.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Shipway_and_Hill_2012/fig_1.ipynb) + +- [deJong et al. 2023](https://doi.org/10.5194/egusphere-2022-1243) (Kinematic setup as in Shipway and Hill, including breakup with Berry 1967 coalescence efficiency): + - Figs. 6-8: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/deJong_Mackay_2022/rainshaft_1D.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/deJong_Mackay_2022/rainshaft_1D.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/deJong_Mackay_2022/rainshaft_1D.ipynb) + +### 2D kinematic (prescribed-flow) Sc-mimicking aerosol collisional processing (warm-rain) examples: +- [Arabas et al. 2015](https://doi.org/10.5194/gmd-8-1677-2015) + - Figs. 8 & 9 (interactive web-GUI with product selection, parameter sliders and netCDF/plot export buttons): + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Arabas_et_al_2015/gui.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Arabas_et_al_2015/gui.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Arabas_et_al_2015/gui.ipynb) + +- 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): + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Bartman_et_al_2021/demo.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Bartman_et_al_2021/demo.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Bartman_et_al_2021/demo.ipynb) + - Fig 2: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Bartman_et_al_2021/demo_fig2.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Bartman_et_al_2021/demo_fig2.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Bartman_et_al_2021/demo_fig2.ipynb) + - Fig 3: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Bartman_et_al_2021/demo_fig3.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Bartman_et_al_2021/demo_fig3.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Bartman_et_al_2021/demo_fig3.ipynb) + + + + +%package -n python3-PySDM-examples +Summary: PySDM usage examples reproducing results from literature and depicting how to use PySDM from Python Jupyter notebooks +Provides: python-PySDM-examples +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-PySDM-examples +[](https://www.gnu.org/licenses/gpl-3.0.html) +[](https://zenodo.org/badge/latestdoi/351755603) + +[](https://github.com/atmos-cloud-sim-uj/PySDM-examples/actions) +[](https://pypi.org/project/PySDM-examples) +[](https://open-atmos.github.io/PySDM-examples/) + +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](https://github.com/open-atmos/PySDM/blob/master/README.md) file. + +Please use the [PySDM issue-tracking](https://github.com/open-atmos/PySDM/issues) and [discussion](https://github.com/open-atmos/PySDM/discussions) infrastructure for `PySDM-examples` as well. + +### 0D box-model coalescence and breakup examples: +- [Shima et al. 2009](http://doi.org/10.1002/qj.441) (Box model, coalescence only, test case employing Golovin analytical solution): + - Fig. 2: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Shima_et_al_2009/fig_2.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Shima_et_al_2009/fig_2.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Shima_et_al_2009/fig_2.ipynb) + +- [Berry 1967](https://doi.org/10.1175/1520-0469(1967)024<0688:CDGBC>2.0.CO;2) (Box model, coalescence only, test cases for realistic kernels): + - Figs. 5, 8 & 10: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Berry_1967/figs_5_8_10.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Berry_1967/figs_5_8_10.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Berry_1967/figs_5_8_10.ipynb) + +- [Bieli et al. 2022](https://www.essoar.org/doi/abs/10.1002/essoar.10510248.1) (Box model, coalescence and breakup with fixed coalescence efficiency): + - Fig. 3: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Bieli_et_al_2022/make_fig_3.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Bieli_et_al_2022/make_fig_3.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Bieli_et_al_2022/make_fig_3.ipynb) + +- [deJong et al. 2023](https://doi.org/10.5194/egusphere-2022-1243) (Box model, coalescence and breakup): + - Figs. 3-5 (Berry 1967 coalescence efficiency): + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/deJong_Mackay_2022/box_sensitivities.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/deJong_Mackay_2022/box_sensitivities.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/deJong_Mackay_2022/box_sensitivities.ipynb) + - Appendix figures (validation against Srivastava 1982 analytic solution): + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/deJong_Mackay_2022/appendix.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/deJong_Mackay_2022/appendix.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/deJong_Mackay_2022/appendix.ipynb) + +### 0D box-model immersion freezing-only example: +- [Alpert & Knopf 2016](https://doi.org/10.5194/acp-16-2083-2016) (stochastic immersion freezing with monodisperse vs. lognormal immersed surface areas): + - Fig. 1: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_1.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Alpert_and_Knopf_2016/fig_1.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_1.ipynb) + - Fig. 2: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_2.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Alpert_and_Knopf_2016/fig_2.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_2.ipynb) + - Fig. 3: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_3.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Alpert_and_Knopf_2016/fig_3.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_3.ipynb) + - Fig. 4: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_4.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Alpert_and_Knopf_2016/fig_4.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_4.ipynb) + - Fig. 5: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_5.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Alpert_and_Knopf_2016/fig_5.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_5.ipynb) + +### 0D parcel-model condensation only examples: +- [Arabas & Shima 2017](http://dx.doi.org/10.5194/npg-24-535-2017) (monodisperse size spectrum activation/deactivation test case): + - Fig. 5: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Arabas_and_Shima_2017/fig_5.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Arabas_and_Shima_2017/fig_5.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Arabas_and_Shima_2017/fig_5.ipynb) + +- [Yang et al. 2018](https://doi.org/10.5194/acp-18-7313-2018) (polydisperse size spectrum activation/deactivation test case): + - Fig. 2: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Yang_et_al_2018/fig_2.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Yang_et_al_2018/fig_2.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Yang_et_al_2018/fig_2.ipynb) + +- [Abdul-Razzak & Ghan 2000](http://doi.wiley.com/10.1029/1999JD901161) (aerosol activation parameterization for GCMs): + - Figs. 1 - 5: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Abdul_Razzak_Ghan_2000/figs1-5.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=PySDM_examples/Abdul_Razzak_Ghan_2000/figs1-5.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Abdul_Razzak_Ghan_2000/figs1-5.ipynb) + +- [Pyrcel documentation example](https://pyrcel.readthedocs.io/en/latest/examples/basic_run.html) (externally mixed polydisperse size spectrum activation test case): + - supersaturation, temperature, wet radii evolution and dry spectra plots: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Pyrcel/example_basic_run.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=PySDM_examples/Pyrcel/example_basic_run.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Pyrcel/example_basic_run.ipynb) + +- [Lowe et al. 2019](https://doi.org/10.1038/s41467-019-12982-0) (externally mixed polydisperse size spectrum with surface-active organics case): + - Fig. 1: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Lowe_et_al_2019/fig_1.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Lowe_et_al_2019/fig_1.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Lowe_et_al_2019/fig_1.ipynb) + - Fig. 2: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Lowe_et_al_2019/fig_2.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Lowe_et_al_2019/fig_2.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Lowe_et_al_2019/fig_2.ipynb) + - Fig. 3: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Lowe_et_al_2019/fig_3.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Lowe_et_al_2019/fig_3.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Lowe_et_al_2019/fig_3.ipynb) + +### 0D parcel-model condensation/aqueous-chemistry example: +- [Kreidenweis et al. 2003](https://doi.org/10.1029/2002JD002697) (Adiabatic parcel, polydisperse size spectrum, aqueous‐phase SO2 oxidation test case): + - Fig 1: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Kreidenweis_et_al_2003/fig_1.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Kreidenweis_et_al_2003/fig_1.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Kreidenweis_et_al_2003/fig_1.ipynb) +- [Jaruga and Pawlowska 2018](https://doi.org/10.5194/gmd-11-3623-2018) (same test case as above, different numerical settings): + - Fig 2: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Jaruga_and_Pawlowska_2018/fig_2.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Jaruga_and_Pawlowska_2018/fig_2.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Jaruga_and_Pawlowska_2018/fig_2.ipynb) + - Fig 3: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Jaruga_and_Pawlowska_2018/fig_3.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Jaruga_and_Pawlowska_2018/fig_3.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Jaruga_and_Pawlowska_2018/fig_3.ipynb) + +### 1D kinematic (prescribed-flow, single-column): +- [Shipway & Hill 2012](https://doi.org/10.1002/qj.1913): + - Fig 1 (thermodynamics/condensation only, no particle displacement yet): + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Shipway_and_Hill_2012/fig_1.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Shipway_and_Hill_2012/fig_1.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Shipway_and_Hill_2012/fig_1.ipynb) + +- [deJong et al. 2023](https://doi.org/10.5194/egusphere-2022-1243) (Kinematic setup as in Shipway and Hill, including breakup with Berry 1967 coalescence efficiency): + - Figs. 6-8: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/deJong_Mackay_2022/rainshaft_1D.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/deJong_Mackay_2022/rainshaft_1D.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/deJong_Mackay_2022/rainshaft_1D.ipynb) + +### 2D kinematic (prescribed-flow) Sc-mimicking aerosol collisional processing (warm-rain) examples: +- [Arabas et al. 2015](https://doi.org/10.5194/gmd-8-1677-2015) + - Figs. 8 & 9 (interactive web-GUI with product selection, parameter sliders and netCDF/plot export buttons): + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Arabas_et_al_2015/gui.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Arabas_et_al_2015/gui.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Arabas_et_al_2015/gui.ipynb) + +- 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): + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Bartman_et_al_2021/demo.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Bartman_et_al_2021/demo.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Bartman_et_al_2021/demo.ipynb) + - Fig 2: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Bartman_et_al_2021/demo_fig2.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Bartman_et_al_2021/demo_fig2.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Bartman_et_al_2021/demo_fig2.ipynb) + - Fig 3: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Bartman_et_al_2021/demo_fig3.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Bartman_et_al_2021/demo_fig3.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Bartman_et_al_2021/demo_fig3.ipynb) + + + + +%package help +Summary: Development documents and examples for PySDM-examples +Provides: python3-PySDM-examples-doc +%description help +[](https://www.gnu.org/licenses/gpl-3.0.html) +[](https://zenodo.org/badge/latestdoi/351755603) + +[](https://github.com/atmos-cloud-sim-uj/PySDM-examples/actions) +[](https://pypi.org/project/PySDM-examples) +[](https://open-atmos.github.io/PySDM-examples/) + +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](https://github.com/open-atmos/PySDM/blob/master/README.md) file. + +Please use the [PySDM issue-tracking](https://github.com/open-atmos/PySDM/issues) and [discussion](https://github.com/open-atmos/PySDM/discussions) infrastructure for `PySDM-examples` as well. + +### 0D box-model coalescence and breakup examples: +- [Shima et al. 2009](http://doi.org/10.1002/qj.441) (Box model, coalescence only, test case employing Golovin analytical solution): + - Fig. 2: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Shima_et_al_2009/fig_2.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Shima_et_al_2009/fig_2.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Shima_et_al_2009/fig_2.ipynb) + +- [Berry 1967](https://doi.org/10.1175/1520-0469(1967)024<0688:CDGBC>2.0.CO;2) (Box model, coalescence only, test cases for realistic kernels): + - Figs. 5, 8 & 10: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Berry_1967/figs_5_8_10.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Berry_1967/figs_5_8_10.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Berry_1967/figs_5_8_10.ipynb) + +- [Bieli et al. 2022](https://www.essoar.org/doi/abs/10.1002/essoar.10510248.1) (Box model, coalescence and breakup with fixed coalescence efficiency): + - Fig. 3: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Bieli_et_al_2022/make_fig_3.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Bieli_et_al_2022/make_fig_3.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Bieli_et_al_2022/make_fig_3.ipynb) + +- [deJong et al. 2023](https://doi.org/10.5194/egusphere-2022-1243) (Box model, coalescence and breakup): + - Figs. 3-5 (Berry 1967 coalescence efficiency): + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/deJong_Mackay_2022/box_sensitivities.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/deJong_Mackay_2022/box_sensitivities.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/deJong_Mackay_2022/box_sensitivities.ipynb) + - Appendix figures (validation against Srivastava 1982 analytic solution): + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/deJong_Mackay_2022/appendix.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/deJong_Mackay_2022/appendix.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/deJong_Mackay_2022/appendix.ipynb) + +### 0D box-model immersion freezing-only example: +- [Alpert & Knopf 2016](https://doi.org/10.5194/acp-16-2083-2016) (stochastic immersion freezing with monodisperse vs. lognormal immersed surface areas): + - Fig. 1: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_1.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Alpert_and_Knopf_2016/fig_1.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_1.ipynb) + - Fig. 2: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_2.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Alpert_and_Knopf_2016/fig_2.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_2.ipynb) + - Fig. 3: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_3.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Alpert_and_Knopf_2016/fig_3.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_3.ipynb) + - Fig. 4: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_4.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Alpert_and_Knopf_2016/fig_4.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_4.ipynb) + - Fig. 5: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_5.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Alpert_and_Knopf_2016/fig_5.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Alpert_and_Knopf_2016/fig_5.ipynb) + +### 0D parcel-model condensation only examples: +- [Arabas & Shima 2017](http://dx.doi.org/10.5194/npg-24-535-2017) (monodisperse size spectrum activation/deactivation test case): + - Fig. 5: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Arabas_and_Shima_2017/fig_5.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Arabas_and_Shima_2017/fig_5.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Arabas_and_Shima_2017/fig_5.ipynb) + +- [Yang et al. 2018](https://doi.org/10.5194/acp-18-7313-2018) (polydisperse size spectrum activation/deactivation test case): + - Fig. 2: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Yang_et_al_2018/fig_2.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Yang_et_al_2018/fig_2.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Yang_et_al_2018/fig_2.ipynb) + +- [Abdul-Razzak & Ghan 2000](http://doi.wiley.com/10.1029/1999JD901161) (aerosol activation parameterization for GCMs): + - Figs. 1 - 5: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Abdul_Razzak_Ghan_2000/figs1-5.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=PySDM_examples/Abdul_Razzak_Ghan_2000/figs1-5.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Abdul_Razzak_Ghan_2000/figs1-5.ipynb) + +- [Pyrcel documentation example](https://pyrcel.readthedocs.io/en/latest/examples/basic_run.html) (externally mixed polydisperse size spectrum activation test case): + - supersaturation, temperature, wet radii evolution and dry spectra plots: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Pyrcel/example_basic_run.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=PySDM_examples/Pyrcel/example_basic_run.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Pyrcel/example_basic_run.ipynb) + +- [Lowe et al. 2019](https://doi.org/10.1038/s41467-019-12982-0) (externally mixed polydisperse size spectrum with surface-active organics case): + - Fig. 1: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Lowe_et_al_2019/fig_1.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Lowe_et_al_2019/fig_1.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Lowe_et_al_2019/fig_1.ipynb) + - Fig. 2: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Lowe_et_al_2019/fig_2.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Lowe_et_al_2019/fig_2.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Lowe_et_al_2019/fig_2.ipynb) + - Fig. 3: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Lowe_et_al_2019/fig_3.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Lowe_et_al_2019/fig_3.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Lowe_et_al_2019/fig_3.ipynb) + +### 0D parcel-model condensation/aqueous-chemistry example: +- [Kreidenweis et al. 2003](https://doi.org/10.1029/2002JD002697) (Adiabatic parcel, polydisperse size spectrum, aqueous‐phase SO2 oxidation test case): + - Fig 1: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Kreidenweis_et_al_2003/fig_1.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Kreidenweis_et_al_2003/fig_1.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Kreidenweis_et_al_2003/fig_1.ipynb) +- [Jaruga and Pawlowska 2018](https://doi.org/10.5194/gmd-11-3623-2018) (same test case as above, different numerical settings): + - Fig 2: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Jaruga_and_Pawlowska_2018/fig_2.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Jaruga_and_Pawlowska_2018/fig_2.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Jaruga_and_Pawlowska_2018/fig_2.ipynb) + - Fig 3: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Jaruga_and_Pawlowska_2018/fig_3.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Jaruga_and_Pawlowska_2018/fig_3.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Jaruga_and_Pawlowska_2018/fig_3.ipynb) + +### 1D kinematic (prescribed-flow, single-column): +- [Shipway & Hill 2012](https://doi.org/10.1002/qj.1913): + - Fig 1 (thermodynamics/condensation only, no particle displacement yet): + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Shipway_and_Hill_2012/fig_1.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Shipway_and_Hill_2012/fig_1.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Shipway_and_Hill_2012/fig_1.ipynb) + +- [deJong et al. 2023](https://doi.org/10.5194/egusphere-2022-1243) (Kinematic setup as in Shipway and Hill, including breakup with Berry 1967 coalescence efficiency): + - Figs. 6-8: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/deJong_Mackay_2022/rainshaft_1D.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/deJong_Mackay_2022/rainshaft_1D.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/deJong_Mackay_2022/rainshaft_1D.ipynb) + +### 2D kinematic (prescribed-flow) Sc-mimicking aerosol collisional processing (warm-rain) examples: +- [Arabas et al. 2015](https://doi.org/10.5194/gmd-8-1677-2015) + - Figs. 8 & 9 (interactive web-GUI with product selection, parameter sliders and netCDF/plot export buttons): + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Arabas_et_al_2015/gui.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Arabas_et_al_2015/gui.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Arabas_et_al_2015/gui.ipynb) + +- 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): + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Bartman_et_al_2021/demo.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Bartman_et_al_2021/demo.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Bartman_et_al_2021/demo.ipynb) + - Fig 2: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Bartman_et_al_2021/demo_fig2.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Bartman_et_al_2021/demo_fig2.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Bartman_et_al_2021/demo_fig2.ipynb) + - Fig 3: + [](https://nbviewer.jupyter.org/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Bartman_et_al_2021/demo_fig3.ipynb) + [](https://mybinder.org/v2/gh/open-atmos/PySDM-examples.git/main?urlpath=lab/tree/PySDM_examples/Bartman_et_al_2021/demo_fig3.ipynb) + [](https://colab.research.google.com/github/open-atmos/PySDM-examples/blob/main/PySDM_examples/Bartman_et_al_2021/demo_fig3.ipynb) + + + + +%prep +%autosetup -n PySDM-examples-2.20 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-PySDM-examples -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 2.20-1 +- Package Spec generated |
