openforis-whisp 0.1.0a4__tar.gz → 0.1.0a6__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.
Files changed (17) hide show
  1. {openforis_whisp-0.1.0a4 → openforis_whisp-0.1.0a6}/PKG-INFO +24 -1
  2. {openforis_whisp-0.1.0a4 → openforis_whisp-0.1.0a6}/README.md +23 -0
  3. {openforis_whisp-0.1.0a4 → openforis_whisp-0.1.0a6}/pyproject.toml +2 -1
  4. {openforis_whisp-0.1.0a4 → openforis_whisp-0.1.0a6}/src/openforis_whisp/datasets.py +6 -4
  5. {openforis_whisp-0.1.0a4 → openforis_whisp-0.1.0a6}/src/openforis_whisp/parameters/config_runtime.py +1 -1
  6. {openforis_whisp-0.1.0a4 → openforis_whisp-0.1.0a6}/LICENSE +0 -0
  7. {openforis_whisp-0.1.0a4 → openforis_whisp-0.1.0a6}/src/openforis_whisp/__init__.py +0 -0
  8. {openforis_whisp-0.1.0a4 → openforis_whisp-0.1.0a6}/src/openforis_whisp/data_conversion.py +0 -0
  9. {openforis_whisp-0.1.0a4 → openforis_whisp-0.1.0a6}/src/openforis_whisp/logger.py +0 -0
  10. {openforis_whisp-0.1.0a4 → openforis_whisp-0.1.0a6}/src/openforis_whisp/parameters/__init__.py +0 -0
  11. {openforis_whisp-0.1.0a4 → openforis_whisp-0.1.0a6}/src/openforis_whisp/parameters/lookup_context_and_metadata.csv +0 -0
  12. {openforis_whisp-0.1.0a4 → openforis_whisp-0.1.0a6}/src/openforis_whisp/parameters/lookup_gee_datasets.csv +0 -0
  13. {openforis_whisp-0.1.0a4 → openforis_whisp-0.1.0a6}/src/openforis_whisp/pd_schemas.py +0 -0
  14. {openforis_whisp-0.1.0a4 → openforis_whisp-0.1.0a6}/src/openforis_whisp/reformat.py +0 -0
  15. {openforis_whisp-0.1.0a4 → openforis_whisp-0.1.0a6}/src/openforis_whisp/risk.py +0 -0
  16. {openforis_whisp-0.1.0a4 → openforis_whisp-0.1.0a6}/src/openforis_whisp/stats.py +0 -0
  17. {openforis_whisp-0.1.0a4 → openforis_whisp-0.1.0a6}/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.0a4
3
+ Version: 0.1.0a6
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
@@ -21,6 +21,7 @@ Requires-Dist: country_converter (>=0.7,<2.0.0)
21
21
  Requires-Dist: earthengine-api
22
22
  Requires-Dist: geemap
23
23
  Requires-Dist: geojson (>=2.5.0,<3.0.0)
24
+ Requires-Dist: geopandas (>=1.0.1,<2.0.0)
24
25
  Requires-Dist: ipykernel (>=6.17.1,<7.0.0)
25
26
  Requires-Dist: numpy (>=1.21.0,<3.0.0)
26
27
  Requires-Dist: pandas (>=1.3.0,<3.0.0)
@@ -162,3 +163,25 @@ You should be able to run the Pytest suite by simple running the `pytest` comman
162
163
 
163
164
  Please read the [contributing guidelines](contributing_guidelines.md) for good practice recommendations.
164
165
 
166
+
167
+ ## Code of Conduct <a name="whisp_conduct"></a>
168
+
169
+ **Purpose**
170
+ We are dedicated to maintaining a safe and respectful environment for all users. Harassment or abusive behavior will not be tolerated. <br>
171
+
172
+ **Scope**
173
+ This Code applies to all interactions on the repository and on the app.
174
+
175
+ **Expectations** <br>
176
+ *- Respect others:* Treat all contributors and users with courtesy and kindness. <br>
177
+ *- Constructive communication:* Engage respectfully, even in disagreements. <br>
178
+ *- Protect privacy:* Do not share personal information without consent.
179
+
180
+ **Prohibited Conduct** <br>
181
+ *- Harassment:* Unwanted or abusive communication, stalking, threats, or bullying.<br>
182
+ *- Discrimination:* Any form of hate speech or exclusion based on race, gender, orientation, or other identities.<br>
183
+ *- Inappropriate Content:* Posting offensive, harmful, or explicit material.
184
+
185
+ **Reporting**
186
+ Users can report violations directly to us by emailing the address listed in the "Contact Us" section of the website:
187
+ https://openforis.org/solutions/whisp/
@@ -124,3 +124,26 @@ pre-commit install
124
124
  You should be able to run the Pytest suite by simple running the `pytest` command from the repo's root folder.
125
125
 
126
126
  Please read the [contributing guidelines](contributing_guidelines.md) for good practice recommendations.
127
+
128
+
129
+ ## Code of Conduct <a name="whisp_conduct"></a>
130
+
131
+ **Purpose**
132
+ We are dedicated to maintaining a safe and respectful environment for all users. Harassment or abusive behavior will not be tolerated. <br>
133
+
134
+ **Scope**
135
+ This Code applies to all interactions on the repository and on the app.
136
+
137
+ **Expectations** <br>
138
+ *- Respect others:* Treat all contributors and users with courtesy and kindness. <br>
139
+ *- Constructive communication:* Engage respectfully, even in disagreements. <br>
140
+ *- Protect privacy:* Do not share personal information without consent.
141
+
142
+ **Prohibited Conduct** <br>
143
+ *- Harassment:* Unwanted or abusive communication, stalking, threats, or bullying.<br>
144
+ *- Discrimination:* Any form of hate speech or exclusion based on race, gender, orientation, or other identities.<br>
145
+ *- Inappropriate Content:* Posting offensive, harmful, or explicit material.
146
+
147
+ **Reporting**
148
+ Users can report violations directly to us by emailing the address listed in the "Contact Us" section of the website:
149
+ https://openforis.org/solutions/whisp/
@@ -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.0a4"
7
+ version = "0.1.0a6"
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>"]
@@ -39,6 +39,7 @@ pydantic-core = ">=2.14.0,<3.0.0" # Updated version constraint
39
39
  rsa = ">=4.2,<5.0.0" # Updated version constraint
40
40
  ipykernel = ">=6.17.1,<7.0.0" # Compatible with Colab
41
41
  shapely = "^2.0.2"
42
+ geopandas = "^1.0.1"
42
43
 
43
44
  [tool.poetry.group.dev.dependencies]
44
45
  pytest = ">=6.2.5,<7.0.0"
@@ -5,12 +5,14 @@ import ee
5
5
 
6
6
  from datetime import datetime
7
7
 
8
- from openforis_whisp.parameters.config_runtime import (
9
- geometry_area_column,
10
- ) # ideally make relative import statement
8
+ # from openforis_whisp.parameters.config_runtime import (
9
+ # geometry_area_column,
10
+ # ) # ideally make relative import statement
11
11
 
12
- import inspect
12
+ # defining here instead of importing from config_runtime, to allow functioning as more of a standalone script
13
+ geometry_area_column = "Area"
13
14
 
15
+ import inspect
14
16
 
15
17
  import logging
16
18
 
@@ -5,7 +5,7 @@ percent_or_ha = "ha"
5
5
 
6
6
  # output column names
7
7
  # The names need to align with whisp/parameters/lookup_context_and_metadata.csv
8
- geometry_area_column = "Area"
8
+ geometry_area_column = "Area" # Note: datasets.py defines this explicitly as "Area", to allow it to be a standalone script
9
9
 
10
10
  stats_unit_type_column = "Unit"
11
11