Calculate environmental risk metrics for a given polygon
Project description
Environmental Risk Metrics
This project is a Python package that calculates environmental risk metrics for a given polygon.
Installation
pip install environmental-risk-metrics
Usage
from environmental_risk_metrics import Sentinel2
# Example usage
polygon = {
"type": "Feature",
"properties": {},
"geometry": {
"coordinates": [
[
[
-38.73370947430459,
-6.143308439590044
],
[
-38.73370947430459,
-6.144138579435889
],
[
-38.7327974681142,
-6.144138579435889
],
[
-38.7327974681142,
-6.143308439590044
],
[
-38.73370947430459,
-6.143308439590044
]
]
],
"type": "Polygon"
}
}
sentinel2 = Sentinel2()
sentinel2.load_ndvi_images(
start_date="2024-06-27",
end_date="2024-12-31",
polygon=polygon,
cropped_image_cloud_cover_threshold=80,
entire_image_cloud_cover_threshold=20,
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file environmental_risk_metrics-0.1.1.tar.gz.
File metadata
- Download URL: environmental_risk_metrics-0.1.1.tar.gz
- Upload date:
- Size: 8.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5dfba7b942b192bdb3caf28c73c7567e47001d741d6361ebbb2925992ef03e1f
|
|
| MD5 |
1183ebe2def6b5d0ade20093b920a3d8
|
|
| BLAKE2b-256 |
ca34bf22689c324965616d3941555194c85501a7c281cf7398231e4bc5790711
|
File details
Details for the file environmental_risk_metrics-0.1.1-py3-none-any.whl.
File metadata
- Download URL: environmental_risk_metrics-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8c9cb4956b8beaa1018e4417d75789a5b6755e7e496bf98e0efe59270cfccc6
|
|
| MD5 |
604d5e2c97789ad6dfd0507a8d62c823
|
|
| BLAKE2b-256 |
af942294c5d52e21e95c1ef354d50c8d98e2c804e493e0ffa90b4b75de7535c3
|