ngiab-data-preprocess 4.1.0__py3-none-any.whl → 4.1.1__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.
- {ngiab_data_preprocess-4.1.0.dist-info → ngiab_data_preprocess-4.1.1.dist-info}/METADATA +48 -14
- {ngiab_data_preprocess-4.1.0.dist-info → ngiab_data_preprocess-4.1.1.dist-info}/RECORD +6 -6
- {ngiab_data_preprocess-4.1.0.dist-info → ngiab_data_preprocess-4.1.1.dist-info}/WHEEL +0 -0
- {ngiab_data_preprocess-4.1.0.dist-info → ngiab_data_preprocess-4.1.1.dist-info}/entry_points.txt +0 -0
- {ngiab_data_preprocess-4.1.0.dist-info → ngiab_data_preprocess-4.1.1.dist-info}/licenses/LICENSE +0 -0
- {ngiab_data_preprocess-4.1.0.dist-info → ngiab_data_preprocess-4.1.1.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ngiab_data_preprocess
|
|
3
|
-
Version: 4.1.
|
|
3
|
+
Version: 4.1.1
|
|
4
4
|
Summary: Graphical Tools for creating Next Gen Water model input data.
|
|
5
5
|
Author-email: Josh Cunningham <jcunningham8@ua.edu>
|
|
6
6
|
Project-URL: Homepage, https://github.com/CIROH-UA/NGIAB_data_preprocess
|
|
@@ -8,11 +8,11 @@ Project-URL: Issues, https://github.com/CIROH-UA/NGIAB_data_preprocess/issues
|
|
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
|
9
9
|
Classifier: License :: OSI Approved :: MIT License
|
|
10
10
|
Classifier: Operating System :: OS Independent
|
|
11
|
-
Requires-Python:
|
|
11
|
+
Requires-Python: >=3.10
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
License-File: LICENSE
|
|
14
|
-
Requires-Dist: pyogrio
|
|
15
|
-
Requires-Dist: pyproj
|
|
14
|
+
Requires-Dist: pyogrio>=0.7.2
|
|
15
|
+
Requires-Dist: pyproj>=3.6.1
|
|
16
16
|
Requires-Dist: Flask==3.0.2
|
|
17
17
|
Requires-Dist: geopandas>=1.0.0
|
|
18
18
|
Requires-Dist: requests==2.32.2
|
|
@@ -20,19 +20,20 @@ Requires-Dist: igraph==0.11.4
|
|
|
20
20
|
Requires-Dist: s3fs==2024.3.1
|
|
21
21
|
Requires-Dist: xarray==2024.2.0
|
|
22
22
|
Requires-Dist: zarr==2.17.1
|
|
23
|
-
Requires-Dist: netCDF4
|
|
23
|
+
Requires-Dist: netCDF4>=1.6.5
|
|
24
24
|
Requires-Dist: dask==2024.4.1
|
|
25
25
|
Requires-Dist: dask[distributed]==2024.4.1
|
|
26
26
|
Requires-Dist: black==24.3.0
|
|
27
27
|
Requires-Dist: isort==5.13.2
|
|
28
28
|
Requires-Dist: h5netcdf==1.3.0
|
|
29
29
|
Requires-Dist: exactextract==0.2.0
|
|
30
|
-
Requires-Dist: numpy
|
|
30
|
+
Requires-Dist: numpy>=1.26.4
|
|
31
31
|
Requires-Dist: tqdm==4.66.4
|
|
32
32
|
Requires-Dist: rich==13.7.1
|
|
33
33
|
Requires-Dist: colorama==0.4.6
|
|
34
34
|
Requires-Dist: bokeh==3.5.1
|
|
35
35
|
Requires-Dist: boto3
|
|
36
|
+
Requires-Dist: numcodecs<0.16.0
|
|
36
37
|
Provides-Extra: eval
|
|
37
38
|
Requires-Dist: ngiab_eval; extra == "eval"
|
|
38
39
|
Provides-Extra: plot
|
|
@@ -85,6 +86,41 @@ For automatic interactive visualisation, please run [NGIAB](https://github.com/C
|
|
|
85
86
|
* This tool is officially supported on macOS or Ubuntu (tested on 22.04 & 24.04). To use it on Windows, please install [WSL](https://learn.microsoft.com/en-us/windows/wsl/install).
|
|
86
87
|
|
|
87
88
|
## Installation and Running
|
|
89
|
+
It is highly recommended to use [Astral UV](https://docs.astral.sh/uv/) to install and run this tool. It works similarly to pip and conda, and I would also recommend you use it for other python projects as it is so useful.
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
# Install UV
|
|
93
|
+
curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
94
|
+
# It can be installed via pip if that fails
|
|
95
|
+
# pip install uv
|
|
96
|
+
|
|
97
|
+
# Create a virtual environment in the current directory
|
|
98
|
+
uv venv
|
|
99
|
+
|
|
100
|
+
# Install the tool in the virtual environment
|
|
101
|
+
uv pip install ngiab_data_preprocess
|
|
102
|
+
|
|
103
|
+
# To run the cli
|
|
104
|
+
uv run cli --help
|
|
105
|
+
|
|
106
|
+
# To run the map
|
|
107
|
+
uv run map_app
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
UV automatically detects any virtual environments in the current directory and will use them when you use `uv run`.
|
|
111
|
+
|
|
112
|
+
### Running without install
|
|
113
|
+
This package supports pipx and uvx which means you can run the tool without installing it. No virtual environment needed, just UV.
|
|
114
|
+
```bash
|
|
115
|
+
# run this from anywhere
|
|
116
|
+
uvx --from ngiab_data_preprocess cli --help
|
|
117
|
+
# for the map
|
|
118
|
+
uvx --from ngiab_data_preprocess map_app
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
## For legacy pip installation
|
|
122
|
+
<details>
|
|
123
|
+
<summary>Click here to expand</summary>
|
|
88
124
|
|
|
89
125
|
```bash
|
|
90
126
|
# If you're installing this on jupyterhub / 2i2c you HAVE TO DEACTIVATE THE CONDA ENV
|
|
@@ -102,8 +138,7 @@ pip install 'ngiab_data_preprocess'
|
|
|
102
138
|
python -m map_app
|
|
103
139
|
# CLI instructions at the bottom of the README
|
|
104
140
|
```
|
|
105
|
-
|
|
106
|
-
The first time you run this command, it will download the hydrofabric from Lynker Spatial. If you already have it, place `conus_nextgen.gpkg` into `~/.ngiab/hydrofabric/v2.2/`.
|
|
141
|
+
</details>
|
|
107
142
|
|
|
108
143
|
## Development Installation
|
|
109
144
|
|
|
@@ -117,24 +152,23 @@ To install and run the tool, follow these steps:
|
|
|
117
152
|
git clone https://github.com/CIROH-UA/NGIAB_data_preprocess
|
|
118
153
|
cd NGIAB_data_preprocess
|
|
119
154
|
```
|
|
120
|
-
2. Create a virtual environment
|
|
155
|
+
2. Create a virtual environment:
|
|
121
156
|
```bash
|
|
122
|
-
|
|
123
|
-
source env/bin/activate
|
|
157
|
+
uv venv
|
|
124
158
|
```
|
|
125
159
|
3. Install the tool:
|
|
126
160
|
```bash
|
|
127
|
-
pip install -e .
|
|
161
|
+
uv pip install -e .
|
|
128
162
|
```
|
|
129
163
|
4. Run the map app:
|
|
130
164
|
```bash
|
|
131
|
-
|
|
165
|
+
uv run map_app
|
|
132
166
|
```
|
|
133
167
|
</details>
|
|
134
168
|
|
|
135
169
|
## Usage
|
|
136
170
|
|
|
137
|
-
Running the command `
|
|
171
|
+
Running the command `uv run map_app` will open the app in a new browser tab.
|
|
138
172
|
|
|
139
173
|
To use the tool:
|
|
140
174
|
1. Select the catchment you're interested in on the map.
|
|
@@ -36,9 +36,9 @@ ngiab_data_cli/__main__.py,sha256=X_imHhWo2RBTJzJ9bUwEcAnAtZSyjKJXB60dBxea6ck,10
|
|
|
36
36
|
ngiab_data_cli/arguments.py,sha256=7ptImy8tLM1XvjfDr13tZszkjGVtenXo0KqllJeE3Mw,4372
|
|
37
37
|
ngiab_data_cli/custom_logging.py,sha256=iS2XozaxudcxQj17qAsrCgbVK9LJAYAPmarJuVWJo1k,1280
|
|
38
38
|
ngiab_data_cli/forcing_cli.py,sha256=lkcqWDk5H8IPyGv0DwLIZMQldqTUXpfwSX0C_RIuIJ8,3890
|
|
39
|
-
ngiab_data_preprocess-4.1.
|
|
40
|
-
ngiab_data_preprocess-4.1.
|
|
41
|
-
ngiab_data_preprocess-4.1.
|
|
42
|
-
ngiab_data_preprocess-4.1.
|
|
43
|
-
ngiab_data_preprocess-4.1.
|
|
44
|
-
ngiab_data_preprocess-4.1.
|
|
39
|
+
ngiab_data_preprocess-4.1.1.dist-info/licenses/LICENSE,sha256=6dMSprwwnsRzEm02mEDbKHD9dUbL8bPIt9Vhrhb0Ulk,1081
|
|
40
|
+
ngiab_data_preprocess-4.1.1.dist-info/METADATA,sha256=-LH19uwmvO9AB0NBtN4JECrQrwSLVZUXKtoSVqaNoWA,10310
|
|
41
|
+
ngiab_data_preprocess-4.1.1.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
42
|
+
ngiab_data_preprocess-4.1.1.dist-info/entry_points.txt,sha256=spwlhKEJ3ZnNETQsJGeTjD7Vwy8O_zGHb9GdX8ACCtw,128
|
|
43
|
+
ngiab_data_preprocess-4.1.1.dist-info/top_level.txt,sha256=CjhYAUZrdveR2fOK6rxffU09VIN2IuPD7hk4V3l3pV0,52
|
|
44
|
+
ngiab_data_preprocess-4.1.1.dist-info/RECORD,,
|
|
File without changes
|
{ngiab_data_preprocess-4.1.0.dist-info → ngiab_data_preprocess-4.1.1.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{ngiab_data_preprocess-4.1.0.dist-info → ngiab_data_preprocess-4.1.1.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{ngiab_data_preprocess-4.1.0.dist-info → ngiab_data_preprocess-4.1.1.dist-info}/top_level.txt
RENAMED
|
File without changes
|