binmod1d 1.0.0__tar.gz
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.
- binmod1d-1.0.0/PKG-INFO +64 -0
- binmod1d-1.0.0/README.md +38 -0
- binmod1d-1.0.0/pyproject.toml +45 -0
- binmod1d-1.0.0/setup.cfg +4 -0
- binmod1d-1.0.0/src/binmod1d/__init__.py +0 -0
- binmod1d-1.0.0/src/binmod1d/analytical_solutions.py +619 -0
- binmod1d-1.0.0/src/binmod1d/bin_integrals.py +2869 -0
- binmod1d-1.0.0/src/binmod1d/collection_kernels.py +510 -0
- binmod1d-1.0.0/src/binmod1d/distribution.py +1241 -0
- binmod1d-1.0.0/src/binmod1d/habits.py +461 -0
- binmod1d-1.0.0/src/binmod1d/interaction.py +6029 -0
- binmod1d-1.0.0/src/binmod1d/plotting_functions.py +130 -0
- binmod1d-1.0.0/src/binmod1d/radar.py +151 -0
- binmod1d-1.0.0/src/binmod1d/spectral_model.py +4662 -0
- binmod1d-1.0.0/src/binmod1d.egg-info/PKG-INFO +64 -0
- binmod1d-1.0.0/src/binmod1d.egg-info/SOURCES.txt +17 -0
- binmod1d-1.0.0/src/binmod1d.egg-info/dependency_links.txt +1 -0
- binmod1d-1.0.0/src/binmod1d.egg-info/requires.txt +17 -0
- binmod1d-1.0.0/src/binmod1d.egg-info/top_level.txt +1 -0
binmod1d-1.0.0/PKG-INFO
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: binmod1d
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: A 1D Column bin microphysics model that performs collision-coalescence and breakup.
|
|
5
|
+
Author-email: "Edwin Lee Dunnavan, RSII Cooperative Institute for Severe and High-Impact Research and Weather Operations (CIWRO)" <edwin.dunnavan@noaa.gov>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/NOAA-National-Severe-Storms-Laboratory/BinMod1D-PARS
|
|
8
|
+
Requires-Python: >=3.8
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
Requires-Dist: numpy>=2.2.6
|
|
11
|
+
Requires-Dist: mpmath>=1.3.0
|
|
12
|
+
Requires-Dist: scipy>=1.15.3
|
|
13
|
+
Requires-Dist: numba>=0.61.2
|
|
14
|
+
Requires-Dist: matplotlib>=3.10.3
|
|
15
|
+
Requires-Dist: netcdf4>=1.7.2
|
|
16
|
+
Requires-Dist: cmweather>=0.3.2
|
|
17
|
+
Requires-Dist: tqdm>=4.67.1
|
|
18
|
+
Requires-Dist: cloudpickle>=3.1.1
|
|
19
|
+
Provides-Extra: docs
|
|
20
|
+
Requires-Dist: myst-parser; extra == "docs"
|
|
21
|
+
Requires-Dist: sphinx-design; extra == "docs"
|
|
22
|
+
Requires-Dist: sphinx-copybutton; extra == "docs"
|
|
23
|
+
Requires-Dist: sphinx-rtd-theme; extra == "docs"
|
|
24
|
+
Requires-Dist: nbsphinx; extra == "docs"
|
|
25
|
+
Requires-Dist: ipython; extra == "docs"
|
|
26
|
+
|
|
27
|
+

|
|
28
|
+
=======
|
|
29
|
+
# BinMod1D-PARS
|
|
30
|
+
|
|
31
|
+
[](https://binmod1d-pars.readthedocs.io/en/latest/?badge=latest)
|
|
32
|
+
|
|
33
|
+
## 📖 Documentation
|
|
34
|
+
|
|
35
|
+
The full documentation for **BinMod1D-PARS** is available at [Read the Docs](https://binmod1d-pars.readthedocs.io/).
|
|
36
|
+
|
|
37
|
+
### Key Resources
|
|
38
|
+
* [**Introduction**](https://binmod1d-pars.readthedocs.io/en/latest/introduction.html) – Overview of the python package.
|
|
39
|
+
* [**Installation**](https://binmod1d-pars.readthedocs.io/en/latest/installation.html) – Quick start guide for local setup.
|
|
40
|
+
* [**Tutorial**](https://binmod1d-pars.readthedocs.io/en/latest/tutorials.html) – Quick start guide for using the **BinMod1D**
|
|
41
|
+
* [**Example Gallery**](https://binmod1d-pars.readthedocs.io/en/latest/examples.html) – Pre-configured notebooks that highlight the capabilities of **BinMod1D**.
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
This repository contains the BinMod1D python code. This is a python-based 1D bin (spectral) microphysical model designed to explicitly simulate collision-coalescence and collisional breakup. In order to use the code:
|
|
46
|
+
|
|
47
|
+
1.) Initialize the spectral model using the spectral_1d class:
|
|
48
|
+
|
|
49
|
+
```python
|
|
50
|
+
from binmod1d.spectral_model import spectral_1d
|
|
51
|
+
|
|
52
|
+
s1 = spectral_1D()
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
The inputs to this class will specify the initial gamma particle size distribution (PSD), the bin resolution (sbin) and number of bins used (bins), as well as other parameters that determine how the model will be run.
|
|
56
|
+
|
|
57
|
+
2.) Use the spectral_1D.run() method to run the model with the inputs specified in spectral_1D()
|
|
58
|
+
|
|
59
|
+
```python
|
|
60
|
+
s1.run()
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Various methods are included in the spectral_1d.py class that allow for easy plotting of bin model results.
|
|
64
|
+
|
binmod1d-1.0.0/README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+

|
|
2
|
+
=======
|
|
3
|
+
# BinMod1D-PARS
|
|
4
|
+
|
|
5
|
+
[](https://binmod1d-pars.readthedocs.io/en/latest/?badge=latest)
|
|
6
|
+
|
|
7
|
+
## 📖 Documentation
|
|
8
|
+
|
|
9
|
+
The full documentation for **BinMod1D-PARS** is available at [Read the Docs](https://binmod1d-pars.readthedocs.io/).
|
|
10
|
+
|
|
11
|
+
### Key Resources
|
|
12
|
+
* [**Introduction**](https://binmod1d-pars.readthedocs.io/en/latest/introduction.html) – Overview of the python package.
|
|
13
|
+
* [**Installation**](https://binmod1d-pars.readthedocs.io/en/latest/installation.html) – Quick start guide for local setup.
|
|
14
|
+
* [**Tutorial**](https://binmod1d-pars.readthedocs.io/en/latest/tutorials.html) – Quick start guide for using the **BinMod1D**
|
|
15
|
+
* [**Example Gallery**](https://binmod1d-pars.readthedocs.io/en/latest/examples.html) – Pre-configured notebooks that highlight the capabilities of **BinMod1D**.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
This repository contains the BinMod1D python code. This is a python-based 1D bin (spectral) microphysical model designed to explicitly simulate collision-coalescence and collisional breakup. In order to use the code:
|
|
20
|
+
|
|
21
|
+
1.) Initialize the spectral model using the spectral_1d class:
|
|
22
|
+
|
|
23
|
+
```python
|
|
24
|
+
from binmod1d.spectral_model import spectral_1d
|
|
25
|
+
|
|
26
|
+
s1 = spectral_1D()
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
The inputs to this class will specify the initial gamma particle size distribution (PSD), the bin resolution (sbin) and number of bins used (bins), as well as other parameters that determine how the model will be run.
|
|
30
|
+
|
|
31
|
+
2.) Use the spectral_1D.run() method to run the model with the inputs specified in spectral_1D()
|
|
32
|
+
|
|
33
|
+
```python
|
|
34
|
+
s1.run()
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Various methods are included in the spectral_1d.py class that allow for easy plotting of bin model results.
|
|
38
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61", "wheel", "build"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "binmod1d" # must be unique on PyPI
|
|
7
|
+
version = "1.0.0"
|
|
8
|
+
description = "A 1D Column bin microphysics model that performs collision-coalescence and breakup."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.8"
|
|
11
|
+
authors = [{name="Edwin Lee Dunnavan, RSII Cooperative Institute for Severe and High-Impact Research and Weather Operations (CIWRO)", email="edwin.dunnavan@noaa.gov"}]
|
|
12
|
+
license = {text = "MIT"} # or point to license file
|
|
13
|
+
dependencies = [
|
|
14
|
+
"numpy>=2.2.6",
|
|
15
|
+
"mpmath>=1.3.0",
|
|
16
|
+
"scipy>=1.15.3",
|
|
17
|
+
#"joblib>=1.5.1",
|
|
18
|
+
"numba>=0.61.2",
|
|
19
|
+
"matplotlib>=3.10.3",
|
|
20
|
+
"netcdf4>=1.7.2",
|
|
21
|
+
"cmweather>=0.3.2",
|
|
22
|
+
"tqdm>=4.67.1",
|
|
23
|
+
"cloudpickle>=3.1.1",
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
# optional:
|
|
27
|
+
[project.urls]
|
|
28
|
+
"Homepage" = "https://github.com/NOAA-National-Severe-Storms-Laboratory/BinMod1D-PARS"
|
|
29
|
+
|
|
30
|
+
[tool.setuptools.packages.find]
|
|
31
|
+
where = ["src"]
|
|
32
|
+
|
|
33
|
+
[project.optional-dependencies]
|
|
34
|
+
docs = [
|
|
35
|
+
"myst-parser",
|
|
36
|
+
"sphinx-design",
|
|
37
|
+
"sphinx-copybutton",
|
|
38
|
+
"sphinx-rtd-theme",
|
|
39
|
+
"nbsphinx",
|
|
40
|
+
"ipython" # often needed for nbsphinx
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
#[tool.setuptools]
|
|
44
|
+
# This explicitly sets the content type, although 'readme = "README.md"' often implies it for markdown
|
|
45
|
+
#long-description-content-type = "text/markdown" # <--- Crucial for rendering Markdown correctly
|
binmod1d-1.0.0/setup.cfg
ADDED
|
File without changes
|