Skip to main content

agrometeorologiapy

PyPI CI License: BSD-3-Clause Open In Colab

Fórmulas de agrometeorologia em Python: radiação solar, temperatura, umidade do ar, balanço de energia, evapotranspiração (Thornthwaite, Camargo-Maluf, Hargreaves-Samani, Priestley-Taylor, Penman-Monteith FAO-56), grau-dias, balanço hídrico (climatológico e de cultura) e classificação climática (Köppen-Geiger, Thornthwaite, Camargo e Holdridge).

Instalação

pip install agrometeorologiapy

Tutorial interativo

Quer ver o pacote em ação, função por função, sem instalar nada? Abra o tutorial direto no Google Colab:

Open In Colab

Uso rápido

import agrometeorologiapy as amp

nda = amp.nda(2, 3)                       # Número do Dia do Ano
delta = amp.declinacao_solar(nda)         # Declinação solar (graus)
Hn = amp.angulo_horario_nascer(lat=-22, declinacao=delta)
N = amp.fotoperiodo(Hn)                   # Fotoperíodo (horas)

As funções também podem ser acessadas por submódulo (amp.radiacao, amp.umidade, amp.evapotranspiracao, etc.).

Módulos

Módulo Conteúdo
radiacao NDA, declinação solar, ângulo horário, ângulo zenital, azimute solar, fotoperíodo, irradiância extraterrestre, radiação global (Angström-Prescott, Hargreaves-Samani)
temperatura Temperatura média diária (extremos e estação automática)
umidade Pressão de saturação/parcial de vapor, déficit de saturação, pressão atmosférica, umidade absoluta/relativa/de saturação, ponto de orvalho, constante psicrométrica
energia Saldo de radiação, balanço de ondas curtas e longas
evapotranspiracao ETP por Thornthwaite, Camargo-Maluf, Hargreaves-Samani, Priestley-Taylor; ETo por Penman-Monteith FAO-56; conversão do vento para 2 m
grau_dias Data de maturação fisiológica / data de semeadura por acúmulo de graus-dia
balanco_hidrico Balanço hídrico climatológico e de cultura (Thornthwaite & Mather)
classificacao_climatica Köppen-Geiger, Thornthwaite, Camargo e Holdridge, para um local ou em grade (rasters)

Desenvolvimento

git clone https://github.com/fcoliveira-utfpr/agrometeorologiapy.git
cd agrometeorologiapy
pip install -e ".[dev]"
pytest

Licença

BSD-3-Clause. Veja LICENSE.

Metadata

Release files for agrometeorologiapy 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agrometeorologiapy 0.2.0
File Size Uploaded Provenance
agrometeorologiapy-0.2.0.tar.gz 103.0 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for agrometeorologiapy 0.2.0
File Interpreter ABI Platform
agrometeorologiapy-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 132.4 kB

Release files / agrometeorologiapy-0.2.0.tar.gz

Download URL agrometeorologiapy-0.2.0.tar.gz
Size 103.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b9117370494f87ea12fc2c0d0ac95436cebc1eaa4fd7cf754aadc1737f49e20f
BLAKE2b-256 checksum
How to use checksums
79eb05a436bc88807670d71e7dddb3a160c995f289612d3453a81125c1b7b878
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release files / agrometeorologiapy-0.2.0-py3-none-any.whl

Download URL agrometeorologiapy-0.2.0-py3-none-any.whl
Size 29.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4fbc65064b01374940468ca7f4a418e6fe04f4a0f19f32c5f38612229186eb44
BLAKE2b-256 checksum
How to use checksums
fab22516ce6a15e75b035283f3c8cc1300c288d618a39d0be86256ac21e29562
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Security for agrometeorologiapy 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for agrometeorologiapy-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page