openforis-whisp 0.1.0a6__py3-none-any.whl → 0.1.0a8__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.
- openforis_whisp/risk.py +2 -2
- {openforis_whisp-0.1.0a6.dist-info → openforis_whisp-0.1.0a8.dist-info}/METADATA +10 -9
- {openforis_whisp-0.1.0a6.dist-info → openforis_whisp-0.1.0a8.dist-info}/RECORD +5 -5
- {openforis_whisp-0.1.0a6.dist-info → openforis_whisp-0.1.0a8.dist-info}/LICENSE +0 -0
- {openforis_whisp-0.1.0a6.dist-info → openforis_whisp-0.1.0a8.dist-info}/WHEEL +0 -0
openforis_whisp/risk.py
CHANGED
|
@@ -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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: openforis-whisp
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.0a8
|
|
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
|
|
|
@@ -124,7 +124,7 @@ More info on Whisp can be found in [here](https://openknowledge.fao.org/items/e9
|
|
|
124
124
|
|
|
125
125
|
## Python package installation
|
|
126
126
|
|
|
127
|
-
The Whisp package is available on pip
|
|
127
|
+
The Whisp package is available on pip
|
|
128
128
|
https://pypi.org/project/openforis-whisp/
|
|
129
129
|
|
|
130
130
|
|
|
@@ -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
|
```
|
|
@@ -166,10 +166,10 @@ Please read the [contributing guidelines](contributing_guidelines.md) for good p
|
|
|
166
166
|
|
|
167
167
|
## Code of Conduct <a name="whisp_conduct"></a>
|
|
168
168
|
|
|
169
|
-
**Purpose**
|
|
169
|
+
**Purpose**
|
|
170
170
|
We are dedicated to maintaining a safe and respectful environment for all users. Harassment or abusive behavior will not be tolerated. <br>
|
|
171
171
|
|
|
172
|
-
**Scope**
|
|
172
|
+
**Scope**
|
|
173
173
|
This Code applies to all interactions on the repository and on the app.
|
|
174
174
|
|
|
175
175
|
**Expectations** <br>
|
|
@@ -182,6 +182,7 @@ This Code applies to all interactions on the repository and on the app.
|
|
|
182
182
|
*- Discrimination:* Any form of hate speech or exclusion based on race, gender, orientation, or other identities.<br>
|
|
183
183
|
*- Inappropriate Content:* Posting offensive, harmful, or explicit material.
|
|
184
184
|
|
|
185
|
-
**Reporting**
|
|
185
|
+
**Reporting**
|
|
186
186
|
Users can report violations directly to us by emailing the address listed in the "Contact Us" section of the website:
|
|
187
187
|
https://openforis.org/solutions/whisp/
|
|
188
|
+
|
|
@@ -8,10 +8,10 @@ openforis_whisp/parameters/lookup_context_and_metadata.csv,sha256=4eciReFRPRSDeK
|
|
|
8
8
|
openforis_whisp/parameters/lookup_gee_datasets.csv,sha256=nH_StTYmxY74lYBsWNbK60FhUBmGzXiVyWdJ-sJ9ezA,11627
|
|
9
9
|
openforis_whisp/pd_schemas.py,sha256=W_ocS773LHfc05dJqvWRa-bRdX0wKFoNp0lMxgFx94Y,2681
|
|
10
10
|
openforis_whisp/reformat.py,sha256=_ByLR5bu_gPecH6W4jxymkcIN5Hph3bRIuRfjZByNBU,12125
|
|
11
|
-
openforis_whisp/risk.py,sha256=
|
|
11
|
+
openforis_whisp/risk.py,sha256=8WY0NPhTuYSjdDMANA0Km9fEWs4H_Z5hH7Q4tgrp5s8,13369
|
|
12
12
|
openforis_whisp/stats.py,sha256=Y-IfazrTA_O5wQ8YE0GypXQYopp1V-ym_jPLwtNCw4M,26405
|
|
13
13
|
openforis_whisp/utils.py,sha256=hpeY9aA3BND2m9c15PZ6_nClemsfiVNUEzA4pQXfztA,5330
|
|
14
|
-
openforis_whisp-0.1.
|
|
15
|
-
openforis_whisp-0.1.
|
|
16
|
-
openforis_whisp-0.1.
|
|
17
|
-
openforis_whisp-0.1.
|
|
14
|
+
openforis_whisp-0.1.0a8.dist-info/LICENSE,sha256=nqyqICO95iw_iwzP1t_IIAf7ZX3DPbL_M9WyQfh2q1k,1085
|
|
15
|
+
openforis_whisp-0.1.0a8.dist-info/METADATA,sha256=neTAj2g7GRVyYEQkLv9P5RBgEHuxwkw_vTgPpIe058o,11430
|
|
16
|
+
openforis_whisp-0.1.0a8.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
|
17
|
+
openforis_whisp-0.1.0a8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|