openforis-whisp 3.0.0a5__tar.gz → 3.0.0a7__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.
- {openforis_whisp-3.0.0a5 → openforis_whisp-3.0.0a7}/PKG-INFO +7 -4
- {openforis_whisp-3.0.0a5 → openforis_whisp-3.0.0a7}/README.md +3 -2
- {openforis_whisp-3.0.0a5 → openforis_whisp-3.0.0a7}/pyproject.toml +1 -1
- {openforis_whisp-3.0.0a5 → openforis_whisp-3.0.0a7}/src/openforis_whisp/__init__.py +3 -1
- {openforis_whisp-3.0.0a5 → openforis_whisp-3.0.0a7}/src/openforis_whisp/advanced_stats.py +155 -287
- {openforis_whisp-3.0.0a5 → openforis_whisp-3.0.0a7}/src/openforis_whisp/data_checks.py +191 -144
- {openforis_whisp-3.0.0a5 → openforis_whisp-3.0.0a7}/src/openforis_whisp/datasets.py +3 -2
- {openforis_whisp-3.0.0a5 → openforis_whisp-3.0.0a7}/src/openforis_whisp/parameters/lookup_context_and_metadata.csv +1 -1
- {openforis_whisp-3.0.0a5 → openforis_whisp-3.0.0a7}/src/openforis_whisp/stats.py +0 -9
- {openforis_whisp-3.0.0a5 → openforis_whisp-3.0.0a7}/LICENSE +0 -0
- {openforis_whisp-3.0.0a5 → openforis_whisp-3.0.0a7}/src/openforis_whisp/data_conversion.py +0 -0
- {openforis_whisp-3.0.0a5 → openforis_whisp-3.0.0a7}/src/openforis_whisp/logger.py +0 -0
- {openforis_whisp-3.0.0a5 → openforis_whisp-3.0.0a7}/src/openforis_whisp/parameters/__init__.py +0 -0
- {openforis_whisp-3.0.0a5 → openforis_whisp-3.0.0a7}/src/openforis_whisp/parameters/config_runtime.py +0 -0
- {openforis_whisp-3.0.0a5 → openforis_whisp-3.0.0a7}/src/openforis_whisp/parameters/lookup_gaul1_admin.py +0 -0
- {openforis_whisp-3.0.0a5 → openforis_whisp-3.0.0a7}/src/openforis_whisp/parameters/lookup_gee_datasets.csv +0 -0
- {openforis_whisp-3.0.0a5 → openforis_whisp-3.0.0a7}/src/openforis_whisp/pd_schemas.py +0 -0
- {openforis_whisp-3.0.0a5 → openforis_whisp-3.0.0a7}/src/openforis_whisp/reformat.py +0 -0
- {openforis_whisp-3.0.0a5 → openforis_whisp-3.0.0a7}/src/openforis_whisp/risk.py +0 -0
- {openforis_whisp-3.0.0a5 → openforis_whisp-3.0.0a7}/src/openforis_whisp/utils.py +0 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: openforis-whisp
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.0a7
|
|
4
4
|
Summary: Whisp (What is in that plot) is an open-source solution which helps to produce relevant forest monitoring information and support compliance with deforestation-related regulations.
|
|
5
5
|
License: MIT
|
|
6
|
+
License-File: LICENSE
|
|
6
7
|
Keywords: whisp,geospatial,data-processing
|
|
7
8
|
Author: Andy Arnell
|
|
8
9
|
Author-email: andrew.arnell@fao.org
|
|
@@ -16,6 +17,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
16
17
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
18
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
19
|
Classifier: Programming Language :: Python :: 3.13
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
19
21
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
20
22
|
Requires-Dist: country_converter (>=0.7,<2.0.0)
|
|
21
23
|
Requires-Dist: earthengine-api
|
|
@@ -69,11 +71,11 @@ Description-Content-Type: text/markdown
|
|
|
69
71
|
***Whisp*** can currently be used directly or implemented in your own code through three different pathways:
|
|
70
72
|
|
|
71
73
|
|
|
72
|
-
1. The Whisp App with its simple interface can be used [right here](https://whisp.openforis.org/) or called from other software by [API](https://whisp.openforis.org/documentation/api-guide). The Whisp App currently supports the processing of up to
|
|
74
|
+
1. The Whisp App with its simple interface can be used [right here](https://whisp.openforis.org/) or called from other software by [API](https://whisp.openforis.org/documentation/api-guide). The Whisp App currently supports the processing of up to 3,000 geometries per job. The original JS & Python code behind the Whisp App and API can be found [here](https://github.com/forestdatapartnership/whisp-app).
|
|
73
75
|
|
|
74
76
|
2. [Whisp in Earthmap](https://whisp.earthmap.org/?aoi=WHISP&boundary=plot1&layers=%7B%22CocoaETH%22%3A%7B%22opacity%22%3A1%7D%2C%22JRCForestMask%22%3A%7B%22opacity%22%3A1%7D%2C%22planet_rgb%22%3A%7B%22opacity%22%3A1%2C%22date%22%3A%222020-12%22%7D%7D&map=%7B%22center%22%3A%7B%22lat%22%3A7%2C%22lng%22%3A4%7D%2C%22zoom%22%3A3%2C%22mapType%22%3A%22satellite%22%7D&statisticsOpen=true) supports the visualization of geometries on actual maps with the possibility to toggle different relevant map products around tree cover, commodities and deforestation. It is practical for demonstration purposes and spot checks of single geometries but not recommended for larger datasets.
|
|
75
77
|
|
|
76
|
-
3. Datasets of any size, especially when holding more than
|
|
78
|
+
3. Datasets of any size, especially when holding more than 3,000 geometries, can be analyzed with Whisp through the [python package on pip](https://pypi.org/project/openforis-whisp/). See example [Colab Notebook](https://github.com/forestdatapartnership/whisp/blob/main/notebooks/Colab_whisp_geojson_to_csv.ipynb) for implementation with a geojson input. For the detailed procedure please go to the section [Whisp notebooks](#whisp_notebooks).
|
|
77
79
|
|
|
78
80
|
|
|
79
81
|
## Whisp datasets <a name="whisp_datasets"></a>
|
|
@@ -365,3 +367,4 @@ Please read the [contributing guidelines](contributing_guidelines.md) for good p
|
|
|
365
367
|
Users can report violations directly to us by emailing the address listed in the "Contact Us" section of the website:
|
|
366
368
|
https://openforis.org/solutions/whisp/
|
|
367
369
|
|
|
370
|
+
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
***Whisp*** can currently be used directly or implemented in your own code through three different pathways:
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
1. The Whisp App with its simple interface can be used [right here](https://whisp.openforis.org/) or called from other software by [API](https://whisp.openforis.org/documentation/api-guide). The Whisp App currently supports the processing of up to
|
|
35
|
+
1. The Whisp App with its simple interface can be used [right here](https://whisp.openforis.org/) or called from other software by [API](https://whisp.openforis.org/documentation/api-guide). The Whisp App currently supports the processing of up to 3,000 geometries per job. The original JS & Python code behind the Whisp App and API can be found [here](https://github.com/forestdatapartnership/whisp-app).
|
|
36
36
|
|
|
37
37
|
2. [Whisp in Earthmap](https://whisp.earthmap.org/?aoi=WHISP&boundary=plot1&layers=%7B%22CocoaETH%22%3A%7B%22opacity%22%3A1%7D%2C%22JRCForestMask%22%3A%7B%22opacity%22%3A1%7D%2C%22planet_rgb%22%3A%7B%22opacity%22%3A1%2C%22date%22%3A%222020-12%22%7D%7D&map=%7B%22center%22%3A%7B%22lat%22%3A7%2C%22lng%22%3A4%7D%2C%22zoom%22%3A3%2C%22mapType%22%3A%22satellite%22%7D&statisticsOpen=true) supports the visualization of geometries on actual maps with the possibility to toggle different relevant map products around tree cover, commodities and deforestation. It is practical for demonstration purposes and spot checks of single geometries but not recommended for larger datasets.
|
|
38
38
|
|
|
39
|
-
3. Datasets of any size, especially when holding more than
|
|
39
|
+
3. Datasets of any size, especially when holding more than 3,000 geometries, can be analyzed with Whisp through the [python package on pip](https://pypi.org/project/openforis-whisp/). See example [Colab Notebook](https://github.com/forestdatapartnership/whisp/blob/main/notebooks/Colab_whisp_geojson_to_csv.ipynb) for implementation with a geojson input. For the detailed procedure please go to the section [Whisp notebooks](#whisp_notebooks).
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
## Whisp datasets <a name="whisp_datasets"></a>
|
|
@@ -327,3 +327,4 @@ Please read the [contributing guidelines](contributing_guidelines.md) for good p
|
|
|
327
327
|
**Reporting**
|
|
328
328
|
Users can report violations directly to us by emailing the address listed in the "Contact Us" section of the website:
|
|
329
329
|
https://openforis.org/solutions/whisp/
|
|
330
|
+
|
|
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
4
4
|
|
|
5
5
|
[tool.poetry]
|
|
6
6
|
name = "openforis-whisp"
|
|
7
|
-
version = "3.0.
|
|
7
|
+
version = "3.0.0a7"
|
|
8
8
|
description = "Whisp (What is in that plot) is an open-source solution which helps to produce relevant forest monitoring information and support compliance with deforestation-related regulations."
|
|
9
9
|
repository = "https://github.com/forestdatapartnership/whisp"
|
|
10
10
|
authors = ["Andy Arnell <andrew.arnell@fao.org>"]
|
|
@@ -101,6 +101,8 @@ from openforis_whisp.utils import (
|
|
|
101
101
|
|
|
102
102
|
from openforis_whisp.data_checks import (
|
|
103
103
|
analyze_geojson,
|
|
104
|
-
|
|
104
|
+
check_geojson_limits,
|
|
105
|
+
screen_geojson, # Backward compatibility alias
|
|
105
106
|
suggest_processing_mode,
|
|
107
|
+
validate_geojson_constraints, # Backward compatibility alias
|
|
106
108
|
)
|