openforis-whisp 0.1.0a6__tar.gz → 0.1.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-0.1.0a6 → openforis_whisp-0.1.0a7}/PKG-INFO +5 -5
- {openforis_whisp-0.1.0a6 → openforis_whisp-0.1.0a7}/README.md +3 -3
- {openforis_whisp-0.1.0a6 → openforis_whisp-0.1.0a7}/pyproject.toml +2 -2
- {openforis_whisp-0.1.0a6 → openforis_whisp-0.1.0a7}/src/openforis_whisp/risk.py +2 -2
- {openforis_whisp-0.1.0a6 → openforis_whisp-0.1.0a7}/LICENSE +0 -0
- {openforis_whisp-0.1.0a6 → openforis_whisp-0.1.0a7}/src/openforis_whisp/__init__.py +0 -0
- {openforis_whisp-0.1.0a6 → openforis_whisp-0.1.0a7}/src/openforis_whisp/data_conversion.py +0 -0
- {openforis_whisp-0.1.0a6 → openforis_whisp-0.1.0a7}/src/openforis_whisp/datasets.py +0 -0
- {openforis_whisp-0.1.0a6 → openforis_whisp-0.1.0a7}/src/openforis_whisp/logger.py +0 -0
- {openforis_whisp-0.1.0a6 → openforis_whisp-0.1.0a7}/src/openforis_whisp/parameters/__init__.py +0 -0
- {openforis_whisp-0.1.0a6 → openforis_whisp-0.1.0a7}/src/openforis_whisp/parameters/config_runtime.py +0 -0
- {openforis_whisp-0.1.0a6 → openforis_whisp-0.1.0a7}/src/openforis_whisp/parameters/lookup_context_and_metadata.csv +0 -0
- {openforis_whisp-0.1.0a6 → openforis_whisp-0.1.0a7}/src/openforis_whisp/parameters/lookup_gee_datasets.csv +0 -0
- {openforis_whisp-0.1.0a6 → openforis_whisp-0.1.0a7}/src/openforis_whisp/pd_schemas.py +0 -0
- {openforis_whisp-0.1.0a6 → openforis_whisp-0.1.0a7}/src/openforis_whisp/reformat.py +0 -0
- {openforis_whisp-0.1.0a6 → openforis_whisp-0.1.0a7}/src/openforis_whisp/stats.py +0 -0
- {openforis_whisp-0.1.0a6 → openforis_whisp-0.1.0a7}/src/openforis_whisp/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: openforis-whisp
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.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
6
|
Keywords: whisp,geospatial,data-processing
|
|
@@ -31,7 +31,7 @@ Requires-Dist: python-dotenv (>=1.0.1,<2.0.0)
|
|
|
31
31
|
Requires-Dist: rsa (>=4.2,<5.0.0)
|
|
32
32
|
Requires-Dist: shapely (>=2.0.2,<3.0.0)
|
|
33
33
|
Project-URL: Documentation, https://github.com/forestdatapartnership/whisp#readme
|
|
34
|
-
Project-URL: Development Branch, https://github.com/forestdatapartnership/whisp/tree/
|
|
34
|
+
Project-URL: Development Branch, https://github.com/forestdatapartnership/whisp/tree/main
|
|
35
35
|
Project-URL: Issues, https://github.com/forestdatapartnership/whisp/issues
|
|
36
36
|
Project-URL: Repository, https://github.com/forestdatapartnership/whisp
|
|
37
37
|
Description-Content-Type: text/markdown
|
|
@@ -75,7 +75,7 @@ The Forest Data Partnership promotes this approach for forest and commodities mo
|
|
|
75
75
|
|
|
76
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.
|
|
77
77
|
|
|
78
|
-
3. Datasets of any size, especially when holding more than 1000 geometries, can be "whisped" through the [python package on pip](https://pypi.org/project/openforis-whisp/). See example [Colab Notebook](https://github.com/forestdatapartnership/whisp/blob/
|
|
78
|
+
3. Datasets of any size, especially when holding more than 1000 geometries, can be "whisped" 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).
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
## Whisp datasets <a name="whisp_datasets"></a>
|
|
@@ -112,7 +112,7 @@ However, under the same circumstances but with <u>no</u> disturbances reported a
|
|
|
112
112
|
|
|
113
113
|
For most users we suggest using the Whisp App to process their plot data. But for some, using the python package directly will fit their workflow.
|
|
114
114
|
|
|
115
|
-
A simple example of the package functionality can be seen in this [Colab Notebook](https://github.com/forestdatapartnership/whisp/blob/
|
|
115
|
+
A simple example of the package functionality can be seen in this [Colab Notebook](https://github.com/forestdatapartnership/whisp/blob/main/notebooks/Colab_whisp_geojson_to_csv.ipynb)
|
|
116
116
|
|
|
117
117
|
## Requirements for running the package
|
|
118
118
|
|
|
@@ -145,7 +145,7 @@ More info on Whisp can be found in [here](https://openknowledge.fao.org/items/e9
|
|
|
145
145
|
There are two main approaches: to request a layer be incorporated into the core Whisp inputs, or to add in your own data directly to complement the core ones in Whisp. Currently the latter approach is under revision since moving to implementation in a python package. In the meantime please contact us through the issues page if this is functionality is useful to you.
|
|
146
146
|
|
|
147
147
|
## Contributing to the Whisp code base
|
|
148
|
-
Contributions to the Whisp code in GitHub are welcome. They can be made by forking the repository making and pushing the required changes, then making a pull request to the Whisp repository. After briefly reviewing the request, we can make a branch for which to make a new pull request to. If in doubt get in contact first or log as an issue [here](https://github.com/forestdatapartnership/whisp/issues/).
|
|
148
|
+
Contributions to the Whisp code in GitHub are welcome. They can be made by forking the repository making and pushing the required changes, then making a pull request to the Whisp repository. After briefly reviewing the request, we can make a branch for which to make a new pull request to. After final checks we can then incorporate the code in main. If in doubt get in contact first or log as an issue [here](https://github.com/forestdatapartnership/whisp/issues/).
|
|
149
149
|
|
|
150
150
|
Install the package in editable mode with the additional dependencies required for testing and running pre-commit hooks:
|
|
151
151
|
```
|
|
@@ -37,7 +37,7 @@ The Forest Data Partnership promotes this approach for forest and commodities mo
|
|
|
37
37
|
|
|
38
38
|
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.
|
|
39
39
|
|
|
40
|
-
3. Datasets of any size, especially when holding more than 1000 geometries, can be "whisped" through the [python package on pip](https://pypi.org/project/openforis-whisp/). See example [Colab Notebook](https://github.com/forestdatapartnership/whisp/blob/
|
|
40
|
+
3. Datasets of any size, especially when holding more than 1000 geometries, can be "whisped" 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).
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
## Whisp datasets <a name="whisp_datasets"></a>
|
|
@@ -74,7 +74,7 @@ However, under the same circumstances but with <u>no</u> disturbances reported a
|
|
|
74
74
|
|
|
75
75
|
For most users we suggest using the Whisp App to process their plot data. But for some, using the python package directly will fit their workflow.
|
|
76
76
|
|
|
77
|
-
A simple example of the package functionality can be seen in this [Colab Notebook](https://github.com/forestdatapartnership/whisp/blob/
|
|
77
|
+
A simple example of the package functionality can be seen in this [Colab Notebook](https://github.com/forestdatapartnership/whisp/blob/main/notebooks/Colab_whisp_geojson_to_csv.ipynb)
|
|
78
78
|
|
|
79
79
|
## Requirements for running the package
|
|
80
80
|
|
|
@@ -107,7 +107,7 @@ More info on Whisp can be found in [here](https://openknowledge.fao.org/items/e9
|
|
|
107
107
|
There are two main approaches: to request a layer be incorporated into the core Whisp inputs, or to add in your own data directly to complement the core ones in Whisp. Currently the latter approach is under revision since moving to implementation in a python package. In the meantime please contact us through the issues page if this is functionality is useful to you.
|
|
108
108
|
|
|
109
109
|
## Contributing to the Whisp code base
|
|
110
|
-
Contributions to the Whisp code in GitHub are welcome. They can be made by forking the repository making and pushing the required changes, then making a pull request to the Whisp repository. After briefly reviewing the request, we can make a branch for which to make a new pull request to. If in doubt get in contact first or log as an issue [here](https://github.com/forestdatapartnership/whisp/issues/).
|
|
110
|
+
Contributions to the Whisp code in GitHub are welcome. They can be made by forking the repository making and pushing the required changes, then making a pull request to the Whisp repository. After briefly reviewing the request, we can make a branch for which to make a new pull request to. After final checks we can then incorporate the code in main. If in doubt get in contact first or log as an issue [here](https://github.com/forestdatapartnership/whisp/issues/).
|
|
111
111
|
|
|
112
112
|
Install the package in editable mode with the additional dependencies required for testing and running pre-commit hooks:
|
|
113
113
|
```
|
|
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
4
4
|
|
|
5
5
|
[tool.poetry]
|
|
6
6
|
name = "openforis-whisp"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.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 <and.arnell@fao.org>"]
|
|
@@ -22,7 +22,7 @@ classifiers = [
|
|
|
22
22
|
|
|
23
23
|
[tool.poetry.urls]
|
|
24
24
|
"Documentation" = "https://github.com/forestdatapartnership/whisp#readme"
|
|
25
|
-
"Development Branch" = "https://github.com/forestdatapartnership/whisp/tree/
|
|
25
|
+
"Development Branch" = "https://github.com/forestdatapartnership/whisp/tree/main"
|
|
26
26
|
"Issues" = "https://github.com/forestdatapartnership/whisp/issues"
|
|
27
27
|
|
|
28
28
|
[tool.poetry.dependencies]
|
|
@@ -21,8 +21,8 @@ def whisp_risk(
|
|
|
21
21
|
df: data_lookup_type, # CHECK THIS
|
|
22
22
|
ind_1_pcent_threshold: float = 10, # default values (draft decision tree and parameters)
|
|
23
23
|
ind_2_pcent_threshold: float = 10, # default values (draft decision tree and parameters)
|
|
24
|
-
ind_3_pcent_threshold: float =
|
|
25
|
-
ind_4_pcent_threshold: float =
|
|
24
|
+
ind_3_pcent_threshold: float = 10, # default values (draft decision tree and parameters)
|
|
25
|
+
ind_4_pcent_threshold: float = 10, # default values (draft decision tree and parameters)
|
|
26
26
|
ind_1_input_columns: pd.Series = None, # see lookup_gee_datasets for details
|
|
27
27
|
ind_2_input_columns: pd.Series = None, # see lookup_gee_datasets for details
|
|
28
28
|
ind_3_input_columns: pd.Series = None, # see lookup_gee_datasets for details
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openforis_whisp-0.1.0a6 → openforis_whisp-0.1.0a7}/src/openforis_whisp/parameters/__init__.py
RENAMED
|
File without changes
|
{openforis_whisp-0.1.0a6 → openforis_whisp-0.1.0a7}/src/openforis_whisp/parameters/config_runtime.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|