agrometeorologiapy
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 e balanço hídrico (climatológico e de cultura).
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:
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 |
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) |
docs/FORMULAS.md— documentação matemática de cada função: a fórmula original, variáveis e unidades.examples/tutorial_colab.ipynb— tutorial guiado, pronto para o Colab, com um exemplo executável para cada função.examples/formulas_agrometeorologia.ipynb— notebook original de desenvolvimento, com a dedução teórica de cada fórmula.
Desenvolvimento
git clone https://github.com/fcoliveira-utfpr/agrometeorologiapy.git
cd agrometeorologiapy
pip install -e ".[dev]"
pytest
Licença
BSD-3-Clause. Veja LICENSE.
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 agrometeorologiapy-0.1.1.tar.gz.
File metadata
- Download URL: agrometeorologiapy-0.1.1.tar.gz
- Upload date:
- Size: 56.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f347a3245ec78c38888fddbe07f67b88339314f5abaad7b27507a786874bc470
|
|
| MD5 |
6185b8fab933ecd5b1a6582a70ebc1f2
|
|
| BLAKE2b-256 |
1014b9c4b4f7363a86a5398fbfbe76e5c6f3c7be835172baddb191b939ec99cb
|
Provenance
The following attestation bundles were made for agrometeorologiapy-0.1.1.tar.gz:
Publisher:
publish.yml on fcoliveira-utfpr/agrometeorologiapy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agrometeorologiapy-0.1.1.tar.gz -
Subject digest:
f347a3245ec78c38888fddbe07f67b88339314f5abaad7b27507a786874bc470 - Sigstore transparency entry: 2312794339
- Sigstore integration time:
-
Permalink:
fcoliveira-utfpr/agrometeorologiapy@06bf08855fec2925efc2cbc89035e9ea38c3331f -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/fcoliveira-utfpr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@06bf08855fec2925efc2cbc89035e9ea38c3331f -
Trigger Event:
release
-
Statement type:
File details
Details for the file agrometeorologiapy-0.1.1-py3-none-any.whl.
File metadata
- Download URL: agrometeorologiapy-0.1.1-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66bd3288aca0a895984d380eeebdce44b3d396372e8aadce0f9b1c3dd766a344
|
|
| MD5 |
67c61e4031386552f06890ddc734f873
|
|
| BLAKE2b-256 |
87ef96574275773dda6ab0060374f228434d8f4ee456dafad5dd6c5e7e10a775
|
Provenance
The following attestation bundles were made for agrometeorologiapy-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on fcoliveira-utfpr/agrometeorologiapy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agrometeorologiapy-0.1.1-py3-none-any.whl -
Subject digest:
66bd3288aca0a895984d380eeebdce44b3d396372e8aadce0f9b1c3dd766a344 - Sigstore transparency entry: 2312794341
- Sigstore integration time:
-
Permalink:
fcoliveira-utfpr/agrometeorologiapy@06bf08855fec2925efc2cbc89035e9ea38c3331f -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/fcoliveira-utfpr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@06bf08855fec2925efc2cbc89035e9ea38c3331f -
Trigger Event:
release
-
Statement type: