Skip to main content

Script to work with Integrated Alert Deforestacion

Project description

Configuración y uso de adef-tools


1. Configurando el entorno de Python

En Linux/Mac (recomendado: uv)

Instala uv siguiendo la documentación del sitio:

curl -LsSf https://astral.sh/uv/install.sh | sh

Más opciones de instalación: https://docs.astral.sh/uv/getting-started/installation/

Crea y activa el entorno virtual:

uv venv
source .venv/bin/activate

Instala las dependencias principales (incluyendo ruedas especiales para GDAL y pyproj):

uv pip install --find-links https://girder.github.io/large_image_wheels gdal pyproj

En Windows (recomendado: Miniconda)

Instala Miniconda con winget:

winget install anaconda.miniconda3

Mas opciones de instalacion: https://www.anaconda.com/docs/getting-started/miniconda/install

Crea y activa el entorno:

conda create -n adef-tools python=3.12
conda activate adef-tools

Instala las dependencias principales:

conda install -c conda-forge gdal libgdal-arrow-parquet libgdal pip

2. Instalando el paquete

Con el entorno ya activado, instala la herramienta desde PyPI:

pip install adef-tools

Verifica la instalación:

adef-tools --help

3. Usando el paquete

Ejecución básica

adef-tools

Opciones predeterminadas

Si no proporcionas opciones, se usarán los siguientes valores:

  • --vector: Utilizá el límite HN por defecto.
  • --confidence: 1
  • --out-folder: ./results
  • --out-file: adef_intg.gpkg
  • --layer-name: alerts
  • --start-date y --end-date: No se aplicará filtrado por fechas.
  • --use-dask:

Ejemplo de uso personalizado

adef-tools --confidence 2 --out-folder ./custom_results --out-file custom_output.gpkg --layer-name custom_layer --start-date 2023-01-01 --end-date 2023-12-31

Créditos

Desarrollado por @lalgonzales | ICF/CIPF/UMF

Licencia

Este proyecto está bajo la Licencia MIT. Consulta el archivo LICENSE para más detalles.

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

adef_tools-0.2.1.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

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

adef_tools-0.2.1-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file adef_tools-0.2.1.tar.gz.

File metadata

  • Download URL: adef_tools-0.2.1.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for adef_tools-0.2.1.tar.gz
Algorithm Hash digest
SHA256 6f818cd6e3328c2988e70dd2c2a506b9b3ea6903807289b22886f5fb3358aed4
MD5 14d5239f0199ed40e2f68178996d04be
BLAKE2b-256 87ffb7ab11715aeabf1edda1dfb1930f4f3af22382d7ab227cda77db4673b16c

See more details on using hashes here.

File details

Details for the file adef_tools-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: adef_tools-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for adef_tools-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7fade1bfd3215d636b0a901095db9a80dc3baa3d4790d2921d214e4fe3502fc8
MD5 274912d687aa6aedb136ec865c6629b3
BLAKE2b-256 01f0dd47dafcb2f1917990a9c450458ce84e4f641660c5f2496e8cec26d71e0d

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