Skip to main content

Class and functions to estimate reference ET

Project description

ETo

A Python package for calculating reference and crop evapotranspiration


ETo calculates reference evapotranspiration (ETo) and crop evapotranspiration (ETc) using the UN-FAO 56 paper methodology. It estimates missing meteorological parameters from available data and supports daily, hourly, and monthly time steps.

Features

  • FAO 56 Penman-Monteith reference ET (short and tall reference crops)
  • Hargreaves simplified daily ET
  • Crop evapotranspiration — single Kc, dual Kc (Kcb + Ke), and water stress adjustment (Ks)
  • Built-in crop coefficients for 23 major crops (FAO 56 Table 12)
  • Automatic parameter estimation with quality tracking
  • Input validation with configurable warnings
  • Derived outputs — VPD, T_dew (back-calculated), clear-sky radiation

Documentation

Full documentation is available at mullenkamp.github.io/ETo.

Installation

pip install eto

or:

conda install -c mullenkamp eto

The only dependency is NumPy.

Quick Example

import numpy as np
from eto import ETo

data = {
    'T_min': np.array([10.0, 12.0, 8.0]),
    'T_max': np.array([25.0, 28.0, 22.0]),
}
dates = np.arange('2020-01-01', '2020-01-04', dtype='datetime64[D]')

et = ETo(data, freq='D', z_msl=500, lat=-43.6, dates=dates)

# Reference ET
eto = et.eto_fao()  # np.ndarray of ETo in mm

# Crop ET (single Kc)
etc = et.etc(crop='maize_grain', stage='mid')  # ETc = Kc × ETo

# Tall reference crop (ASCE alfalfa)
etr = et.eto_fao(ref_crop='tall')

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

eto-2.1.0.tar.gz (118.1 kB view details)

Uploaded Source

Built Distribution

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

eto-2.1.0-py3-none-any.whl (120.2 kB view details)

Uploaded Python 3

File details

Details for the file eto-2.1.0.tar.gz.

File metadata

  • Download URL: eto-2.1.0.tar.gz
  • Upload date:
  • Size: 118.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.7

File hashes

Hashes for eto-2.1.0.tar.gz
Algorithm Hash digest
SHA256 e646956d0ba68a47c6049585879d2d9bc872758311b1647575f2811b01290530
MD5 20423ff390f9f5d45a8549fa045b0d20
BLAKE2b-256 e08423c2c43daa83e6ac3284de1fd563fb519698b67aa23a1f73b9c8d6c2d38d

See more details on using hashes here.

File details

Details for the file eto-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: eto-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 120.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.7

File hashes

Hashes for eto-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d3a63a75ad673815b122ce22ec42288e4806091d5069134e8529b7bb26927c43
MD5 4fb741422a2408d8b35ef98846b2ac39
BLAKE2b-256 1d3ec34bff77b2ed9ce4663633bbf5603bb287dbe61bfed45df921f71134ce46

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