Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

environmental_risk_metrics-0.1.1.tar.gz (8.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

environmental_risk_metrics-0.1.1-py3-none-any.whl (5.5 MB view details)

Uploaded Python 3

File details

Details for the file environmental_risk_metrics-0.1.1.tar.gz.

File metadata

File hashes

Hashes for environmental_risk_metrics-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5dfba7b942b192bdb3caf28c73c7567e47001d741d6361ebbb2925992ef03e1f
MD5 1183ebe2def6b5d0ade20093b920a3d8
BLAKE2b-256 ca34bf22689c324965616d3941555194c85501a7c281cf7398231e4bc5790711

See more details on using hashes here.

File details

Details for the file environmental_risk_metrics-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for environmental_risk_metrics-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e8c9cb4956b8beaa1018e4417d75789a5b6755e7e496bf98e0efe59270cfccc6
MD5 604d5e2c97789ad6dfd0507a8d62c823
BLAKE2b-256 af942294c5d52e21e95c1ef354d50c8d98e2c804e493e0ffa90b4b75de7535c3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page