PySDM-examples 2.53__py3-none-any.whl → 2.58__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- PySDM_examples/Gedzelman_and_Arnold_1994/__init__.py +6 -0
- PySDM_examples/Miyake_et_al_1968/__init__.py +5 -0
- PySDM_examples/Shipway_and_Hill_2012/simulation.py +8 -2
- {PySDM_examples-2.53.dist-info → PySDM_examples-2.58.dist-info}/METADATA +11 -2
- {PySDM_examples-2.53.dist-info → PySDM_examples-2.58.dist-info}/RECORD +7 -5
- {PySDM_examples-2.53.dist-info → PySDM_examples-2.58.dist-info}/WHEEL +0 -0
- {PySDM_examples-2.53.dist-info → PySDM_examples-2.58.dist-info}/top_level.txt +0 -0
|
@@ -168,6 +168,7 @@ class Simulation:
|
|
|
168
168
|
PySDM_products.CoalescenceRatePerGridbox(
|
|
169
169
|
name="coalescence_rate",
|
|
170
170
|
),
|
|
171
|
+
PySDM_products.SurfacePrecipitation(),
|
|
171
172
|
]
|
|
172
173
|
)
|
|
173
174
|
self.particulator = self.builder.build(
|
|
@@ -182,7 +183,9 @@ class Simulation:
|
|
|
182
183
|
}
|
|
183
184
|
self.output_products = {}
|
|
184
185
|
for k, v in self.particulator.products.items():
|
|
185
|
-
if len(v.shape) ==
|
|
186
|
+
if len(v.shape) == 0:
|
|
187
|
+
self.output_products[k] = np.zeros(self.nt + 1)
|
|
188
|
+
elif len(v.shape) == 1:
|
|
186
189
|
self.output_products[k] = np.zeros((self.mesh.grid[-1], self.nt + 1))
|
|
187
190
|
elif len(v.shape) == 2:
|
|
188
191
|
number_of_time_sections = len(self.save_spec_and_attr_times)
|
|
@@ -203,7 +206,10 @@ class Simulation:
|
|
|
203
206
|
for k, v in self.particulator.products.items():
|
|
204
207
|
if len(v.shape) > 1:
|
|
205
208
|
continue
|
|
206
|
-
|
|
209
|
+
if len(v.shape) == 1:
|
|
210
|
+
self.output_products[k][:, step] = v.get()
|
|
211
|
+
else:
|
|
212
|
+
self.output_products[k][step] = v.get()
|
|
207
213
|
|
|
208
214
|
def save_spectrum(self, index):
|
|
209
215
|
for k, v in self.particulator.products.items():
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PySDM-examples
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.58
|
|
4
4
|
Summary: PySDM usage examples reproducing results from literature and depicting how to use PySDM from Python Jupyter notebooks
|
|
5
5
|
Home-page: https://github.com/open-atmos/PySDM
|
|
6
6
|
Author: https://github.com/open-atmos/PySDM/graphs/contributors
|
|
@@ -20,7 +20,6 @@ Requires-Dist: joblib
|
|
|
20
20
|
Requires-Dist: ipywidgets
|
|
21
21
|
Requires-Dist: seaborn
|
|
22
22
|
Requires-Dist: numdifftools
|
|
23
|
-
Requires-Dist: pyvinecopulib
|
|
24
23
|
Requires-Dist: vtk
|
|
25
24
|
Provides-Extra: tests
|
|
26
25
|
Requires-Dist: pytest ; extra == 'tests'
|
|
@@ -35,11 +34,21 @@ Requires-Dist: nbconvert ; extra == 'tests'
|
|
|
35
34
|
[](https://github.com/open-atmos/PySDM/blob/main/examples/PySDM_examples/Merlivat_and_Nief_1967/fig_2.ipynb)
|
|
36
35
|
[](https://mybinder.org/v2/gh/open-atmos/PySDM.git/main?urlpath=lab/tree/examples/PySDM_examples/Merlivat_and_Nief_1967/fig_2.ipynb)
|
|
37
36
|
[](https://colab.research.google.com/github/open-atmos/PySDM/blob/main/examples/PySDM_examples/Merlivat_and_Nief_1967/fig_2.ipynb)
|
|
37
|
+
- [Miyake et al. 1968](https://doi.org/10.2467/mripapers1950.19.2_243):
|
|
38
|
+
- Fig. 19:
|
|
39
|
+
[](https://github.com/open-atmos/PySDM/blob/main/examples/PySDM_examples/Miyake_et_al_1968/fig_19.ipynb)
|
|
40
|
+
[](https://mybinder.org/v2/gh/open-atmos/PySDM.git/main?urlpath=lab/tree/examples/PySDM_examples/Miyake_et_al_1968/fig_19.ipynb)
|
|
41
|
+
[](https://colab.research.google.com/github/open-atmos/PySDM/blob/main/examples/PySDM_examples/Miyake_et_al_1968/fig_19.ipynb)
|
|
38
42
|
- [Van Hook 1968](https://doi.org/10.1021/j100850a028):
|
|
39
43
|
- Fig. 1:
|
|
40
44
|
[](https://github.com/open-atmos/PySDM/blob/main/examples/PySDM_examples/Van_Hook_1968/fig_1.ipynb)
|
|
41
45
|
[](https://mybinder.org/v2/gh/open-atmos/PySDM.git/main?urlpath=lab/tree/examples/PySDM_examples/Van_Hook_1968/fig_1.ipynb)
|
|
42
46
|
[](https://colab.research.google.com/github/open-atmos/PySDM/blob/main/examples/PySDM_examples/Van_Hook_1968/fig_1.ipynb)
|
|
47
|
+
- [Gedzelman & Arnold 1994](https://doi.org/10.1029/93JD03518):
|
|
48
|
+
- Fig. 2:
|
|
49
|
+
[](https://github.com/open-atmos/PySDM/blob/main/examples/PySDM_examples/Gedzelman_and_Arnold_1994/fig_2.ipynb)
|
|
50
|
+
[](https://mybinder.org/v2/gh/open-atmos/PySDM.git/main?urlpath=lab/tree/examples/PySDM_examples/Gedzelman_and_Arnold_1994/fig_2.ipynb)
|
|
51
|
+
[](https://colab.research.google.com/github/open-atmos/PySDM/blob/main/examples/PySDM_examples/Gedzelman_and_Arnold_1994/fig_2.ipynb)
|
|
43
52
|
- [Bolot et al. 2013](http://doi.org/10.5194/acp-13-7903-2013):
|
|
44
53
|
- Fig. 1:
|
|
45
54
|
[](https://github.com/open-atmos/PySDM/blob/main/examples/PySDM_examples/Bolot_et_al_2013/fig_1.ipynb)
|
|
@@ -44,6 +44,7 @@ PySDM_examples/Bulenok_2023_MasterThesis/setups.py,sha256=UVTp0oBMblcR46J29aylfZ
|
|
|
44
44
|
PySDM_examples/Bulenok_2023_MasterThesis/utils.py,sha256=Y0OXKd8D2vJ0vAstl_f68St39MRY89sMqaK1ASo-h1w,8019
|
|
45
45
|
PySDM_examples/Ervens_and_Feingold_2012/__init__.py,sha256=F9Q-77npT6TyIK1vdNS4RPeBb8g4mFBUYz5qg4pj2wo,159
|
|
46
46
|
PySDM_examples/Ervens_and_Feingold_2012/settings.py,sha256=DtkcDqkcO2WAkH63P1RQ19cejn0oAamdsZefN3y0Gy8,442
|
|
47
|
+
PySDM_examples/Gedzelman_and_Arnold_1994/__init__.py,sha256=XOWJbRQ4U0YxJ6AEL0-kGSXDi4OktihaQDL0QZEB294,252
|
|
47
48
|
PySDM_examples/Grabowski_and_Pawlowska_2023/__init__.py,sha256=_UWULcA_8_vA7zYlW_QuyS4SYe5827jyZBum-ZrGwGk,225
|
|
48
49
|
PySDM_examples/Grabowski_and_Pawlowska_2023/settings.py,sha256=nErcGLTGJTai32jpRhrhpxoJ4Acwh1ccrwGBpQQjGcY,3273
|
|
49
50
|
PySDM_examples/Grabowski_and_Pawlowska_2023/simulation.py,sha256=uXH0zfr4M4XZ81u5GNVFLlbQTSHoA15ScxdwR43X6w8,4515
|
|
@@ -66,6 +67,7 @@ PySDM_examples/Lowe_et_al_2019/plot_helper.py,sha256=LBHXzYzUqyIB1qv69SmZo5k7RVU
|
|
|
66
67
|
PySDM_examples/Lowe_et_al_2019/settings.py,sha256=qIhBIedOnm_AFRYDPH_Fzv3xvEIOUhJWPxkYDjaTaks,2620
|
|
67
68
|
PySDM_examples/Lowe_et_al_2019/simulation.py,sha256=O9PEvDc1vbrH5lcNO4LZ0nGjm-mYaP7YRCqSojxaUqY,5728
|
|
68
69
|
PySDM_examples/Merlivat_and_Nief_1967/__init__.py,sha256=bbjcqXvQxmMwZIRTAOGWwFGkKGnQeGsi7x9kI-VdQpQ,127
|
|
70
|
+
PySDM_examples/Miyake_et_al_1968/__init__.py,sha256=Hdl2Ngex_AVg-wkvBaKwujLbfpH1jXM1-JJ1GceNui4,149
|
|
69
71
|
PySDM_examples/Morrison_and_Grabowski_2007/__init__.py,sha256=sae2OEASd-sh-f0U_8ObIGitWGiXAPXrr7aTn950xoM,181
|
|
70
72
|
PySDM_examples/Morrison_and_Grabowski_2007/common.py,sha256=aOSCsXSCRPLEgV2LThpmAdF_gGANPAypUDxwGe5C2Do,5221
|
|
71
73
|
PySDM_examples/Morrison_and_Grabowski_2007/cumulus.py,sha256=kyypwfFdYqY_QyoPr88ScvNb53rMTPvseRL7KVad9Fo,4490
|
|
@@ -94,7 +96,7 @@ PySDM_examples/Shipway_and_Hill_2012/__init__.py,sha256=fVgTFoG-sHDYawCJhZdUrqqz
|
|
|
94
96
|
PySDM_examples/Shipway_and_Hill_2012/mpdata_1d.py,sha256=GfbGXQFAVJ2rYnkhwKKESRLPDfJJeL0Qs1h1pZUjlWo,1907
|
|
95
97
|
PySDM_examples/Shipway_and_Hill_2012/plot.py,sha256=Q6lnGWE3oSDKV_F1qKUIihhbYABQ3S1A1qg7Q2rXwn4,3606
|
|
96
98
|
PySDM_examples/Shipway_and_Hill_2012/settings.py,sha256=t6qypOnYniOJtkvlyeET8mY4zmF32qz0zs7ssdfoTOY,6458
|
|
97
|
-
PySDM_examples/Shipway_and_Hill_2012/simulation.py,sha256=
|
|
99
|
+
PySDM_examples/Shipway_and_Hill_2012/simulation.py,sha256=ixOWbDLpmOKrwGw4Pmpqo2ghB8gK41oSMi-d0QA_gNY,10275
|
|
98
100
|
PySDM_examples/Singer_Ward/__init__.py,sha256=wLus4IEzXkeOKCR3Dn2tM9PqNW9X7tjBiMymLvBow-c,31
|
|
99
101
|
PySDM_examples/Singer_Ward/aerosol.py,sha256=H7TcvI94Wc-IvhTMFshFaJRJY3eUjihAlSdNxVKZzL0,5805
|
|
100
102
|
PySDM_examples/Srivastava_1982/__init__.py,sha256=u7RxFGW08DIfwKU2yHpEQiiNlfz7F3GyYR4TV9LA7Ww,509
|
|
@@ -139,7 +141,7 @@ PySDM_examples/utils/read_vtk_1d.py,sha256=7_3sagEbX_FxqFuGkFWdwQapd1-9echFghU8T
|
|
|
139
141
|
PySDM_examples/utils/widgets/__init__.py,sha256=U67WZ2YDcXSocMraI7pzcMxCfcxzXNqehDzoG6ogsh4,519
|
|
140
142
|
PySDM_examples/utils/widgets/freezer.py,sha256=tFlZWShXUzA2X0cxgeE44N1g9kD33q3KQWZBqkgBP0A,407
|
|
141
143
|
PySDM_examples/utils/widgets/progbar_updater.py,sha256=3uhG32QkAiSM3dTV7DoROJl7fAUNA6ZsJEIKSg3tdmk,267
|
|
142
|
-
PySDM_examples-2.
|
|
143
|
-
PySDM_examples-2.
|
|
144
|
-
PySDM_examples-2.
|
|
145
|
-
PySDM_examples-2.
|
|
144
|
+
PySDM_examples-2.58.dist-info/METADATA,sha256=MCuM4fxcgeXMjzMRbRaueSz9MWVo0kx3j6n9A4FHh7w,38371
|
|
145
|
+
PySDM_examples-2.58.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
146
|
+
PySDM_examples-2.58.dist-info/top_level.txt,sha256=axw2inuuYKPWkQhzBYtkZJTPDlo5LrpGLOA0iSAf9v0,15
|
|
147
|
+
PySDM_examples-2.58.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|