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.
@@ -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
+ ![BinMod1D Banner](https://github.com/NOAA-National-Severe-Storms-Laboratory/BinMod1D-PARS/blob/0583d64da2ae535d34499767106cd501fa964eee/assets/PyPi_Banner.png)
28
+ =======
29
+ # BinMod1D-PARS
30
+
31
+ [![Documentation Status](https://readthedocs.org/projects/binmod1d-pars/badge/?version=latest)](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
+
@@ -0,0 +1,38 @@
1
+ ![BinMod1D Banner](https://github.com/NOAA-National-Severe-Storms-Laboratory/BinMod1D-PARS/blob/0583d64da2ae535d34499767106cd501fa964eee/assets/PyPi_Banner.png)
2
+ =======
3
+ # BinMod1D-PARS
4
+
5
+ [![Documentation Status](https://readthedocs.org/projects/binmod1d-pars/badge/?version=latest)](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
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
File without changes