openforis-whisp 3.0.0a1__tar.gz → 3.0.0a3__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.0a1 → openforis_whisp-3.0.0a3}/PKG-INFO +1 -1
- {openforis_whisp-3.0.0a1 → openforis_whisp-3.0.0a3}/pyproject.toml +1 -1
- {openforis_whisp-3.0.0a1 → openforis_whisp-3.0.0a3}/src/openforis_whisp/__init__.py +7 -7
- {openforis_whisp-3.0.0a1 → openforis_whisp-3.0.0a3}/src/openforis_whisp/advanced_stats.py +400 -93
- {openforis_whisp-3.0.0a1 → openforis_whisp-3.0.0a3}/src/openforis_whisp/data_checks.py +178 -15
- {openforis_whisp-3.0.0a1 → openforis_whisp-3.0.0a3}/src/openforis_whisp/data_conversion.py +154 -59
- {openforis_whisp-3.0.0a1 → openforis_whisp-3.0.0a3}/src/openforis_whisp/reformat.py +2 -29
- {openforis_whisp-3.0.0a1 → openforis_whisp-3.0.0a3}/src/openforis_whisp/stats.py +15 -45
- openforis_whisp-3.0.0a3/src/openforis_whisp/utils.py +856 -0
- openforis_whisp-3.0.0a1/src/openforis_whisp/utils.py +0 -487
- {openforis_whisp-3.0.0a1 → openforis_whisp-3.0.0a3}/LICENSE +0 -0
- {openforis_whisp-3.0.0a1 → openforis_whisp-3.0.0a3}/README.md +0 -0
- {openforis_whisp-3.0.0a1 → openforis_whisp-3.0.0a3}/src/openforis_whisp/datasets.py +0 -0
- {openforis_whisp-3.0.0a1 → openforis_whisp-3.0.0a3}/src/openforis_whisp/logger.py +0 -0
- {openforis_whisp-3.0.0a1 → openforis_whisp-3.0.0a3}/src/openforis_whisp/parameters/__init__.py +0 -0
- {openforis_whisp-3.0.0a1 → openforis_whisp-3.0.0a3}/src/openforis_whisp/parameters/config_runtime.py +0 -0
- {openforis_whisp-3.0.0a1 → openforis_whisp-3.0.0a3}/src/openforis_whisp/parameters/lookup_context_and_metadata.csv +0 -0
- {openforis_whisp-3.0.0a1 → openforis_whisp-3.0.0a3}/src/openforis_whisp/parameters/lookup_gaul1_admin.py +0 -0
- {openforis_whisp-3.0.0a1 → openforis_whisp-3.0.0a3}/src/openforis_whisp/parameters/lookup_gee_datasets.csv +0 -0
- {openforis_whisp-3.0.0a1 → openforis_whisp-3.0.0a3}/src/openforis_whisp/pd_schemas.py +0 -0
- {openforis_whisp-3.0.0a1 → openforis_whisp-3.0.0a3}/src/openforis_whisp/risk.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: openforis-whisp
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.0a3
|
|
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
|
|
@@ -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.0a3"
|
|
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>"]
|
|
@@ -63,10 +63,6 @@ from openforis_whisp.stats import (
|
|
|
63
63
|
)
|
|
64
64
|
|
|
65
65
|
from openforis_whisp.advanced_stats import (
|
|
66
|
-
whisp_stats_geojson_to_df_concurrent,
|
|
67
|
-
whisp_formatted_stats_geojson_to_df_concurrent,
|
|
68
|
-
whisp_stats_geojson_to_df_sequential,
|
|
69
|
-
whisp_formatted_stats_geojson_to_df_sequential,
|
|
70
66
|
whisp_formatted_stats_geojson_to_df_fast,
|
|
71
67
|
)
|
|
72
68
|
|
|
@@ -83,7 +79,6 @@ from openforis_whisp.reformat import (
|
|
|
83
79
|
create_schema_from_dataframe,
|
|
84
80
|
load_schema_if_any_file_changed,
|
|
85
81
|
format_stats_dataframe,
|
|
86
|
-
# log_missing_columns,
|
|
87
82
|
)
|
|
88
83
|
|
|
89
84
|
from openforis_whisp.data_conversion import (
|
|
@@ -96,11 +91,16 @@ from openforis_whisp.data_conversion import (
|
|
|
96
91
|
|
|
97
92
|
from openforis_whisp.risk import whisp_risk, detect_unit_type
|
|
98
93
|
|
|
99
|
-
from openforis_whisp.utils import
|
|
94
|
+
from openforis_whisp.utils import (
|
|
95
|
+
get_example_data_path,
|
|
96
|
+
generate_test_polygons, # to be deprecated
|
|
97
|
+
generate_random_features,
|
|
98
|
+
generate_random_points,
|
|
99
|
+
generate_random_polygons,
|
|
100
|
+
)
|
|
100
101
|
|
|
101
102
|
from openforis_whisp.data_checks import (
|
|
102
103
|
analyze_geojson,
|
|
103
104
|
validate_geojson_constraints,
|
|
104
|
-
_check_metric_constraints,
|
|
105
105
|
suggest_method,
|
|
106
106
|
)
|