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.1

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.1
File Size Uploaded Provenance
agrometeorologiapy-0.2.1.tar.gz 103.4 kB With provenance Details

Built distribution (wheel)

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

Total release size: 132.8 kB

Release files / agrometeorologiapy-0.2.1.tar.gz

Download URL agrometeorologiapy-0.2.1.tar.gz
Size 103.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ada435425c82b54ff4bb433cd133e440fcbc9da7a3f4748b057889e741e70826
BLAKE2b-256 checksum
How to use checksums
d8de9e9933445781a35a4ed422c9c60f8e8e790aebe3c0bba5da4a7a7cc2d075
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.1-py3-none-any.whl

Download URL agrometeorologiapy-0.2.1-py3-none-any.whl
Size 29.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
56222ffd5ac17ac4b7e8a001d14c19d198c180918c33ecb2d5608e86124ee9d6
BLAKE2b-256 checksum
How to use checksums
1b74908b0952280410cbaaa5f5858418578abf534f7b55bd8171367a6b377f26
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.1

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.1.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