Skip to main content

Priestley-Taylor Evapotranspiration Utilities in Python

Project description

priestley-taylor

CI

The priestley-taylor Python package provides robust, peer-reviewed utilities for physically-based evapotranspiration modeling, focusing on the Priestley-Taylor and Penman-Monteith equations. It includes scientific constants and functions for calculating the slope of the saturation vapor pressure curve, the psychrometric constant, and the epsilon parameter, all essential for hydrology, meteorology, and agricultural science applications.

Gregory H. Halverson (they/them)
gregory.h.halverson@jpl.nasa.gov
NASA Jet Propulsion Laboratory 329G

Installation

This package is available on PyPI as priestley-taylor.

pip install priestley-taylor

Usage

Import this package as priestley_taylor:

import priestley_taylor

1. GAMMA_KPA and GAMMA_PA

  • Description: Psychrometric constant (γ) in kPa/°C and Pa/°C, respectively. γ quantifies the relationship between vapor pressure and temperature, accounting for atmospheric pressure and the specific heat of air. It is a key parameter in energy balance approaches to evapotranspiration.
  • Reference: Allen, R. G., Pereira, L. S., Raes, D., & Smith, M. (1998). FAO Irrigation and Drainage Paper 56, Table 2.2.

2. delta_kPa_from_Ta_C(Ta_C)

  • Description: Calculates the slope of the saturation vapor pressure curve (Δ) at a given air temperature (°C), in kPa/°C. Δ quantifies the sensitivity of saturation vapor pressure to temperature changes, a key parameter in Priestley-Taylor and Penman-Monteith equations.
  • Parameters: Ta_C (numpy array or Raster): Air temperature in Celsius.
  • Returns: Slope of saturation vapor pressure curve (kPa/°C).
  • References:
    • Allen et al. (1998), Eq. 2.18
    • Monteith, J. L. (1965). Evaporation and environment. In The State and Movement of Water in Living Organisms (pp. 205–234). Academic Press.

3. delta_Pa_from_Ta_C(Ta_C)

  • Description: Converts Δ from kPa/°C to Pa/°C for use in models requiring Pascals.
  • Parameters: Ta_C (numpy array or Raster): Air temperature in Celsius.
  • Returns: Slope of saturation vapor pressure curve (Pa/°C).
  • Reference: Allen et al. (1998).

4. calculate_epsilon(delta, gamma)

  • Description: Computes the dimensionless ratio ε (epsilon), defined as ε = Δ / (Δ + γ), representing the relative importance of energy supply versus atmospheric demand in controlling evapotranspiration.
  • Parameters:
    • delta (numpy array or Raster): Slope of saturation vapor pressure curve (Pa/°C or kPa/°C)
    • gamma (numpy array or Raster): Psychrometric constant (same units as delta)
  • Returns: Epsilon (dimensionless).
  • References:
    • Priestley, C. H. B., & Taylor, R. J. (1972). Monthly Weather Review, 100(2), 81–92.
    • Allen et al. (1998), Eq. 6.2

5. epsilon_from_Ta_C(Ta_C, gamma_Pa=GAMMA_PA)

  • Description: Calculates ε from air temperature (°C) and the psychrometric constant (Pa/°C). This combines the calculation of Δ (in Pa/°C) and ε, providing a direct way to obtain the key parameter for the Priestley-Taylor equation.
  • Parameters:
    • Ta_C (numpy array or Raster): Air temperature in Celsius.
    • gamma_Pa (float, numpy array, or Raster): Psychrometric constant in Pa/°C (default: GAMMA_PA).
  • Returns: Epsilon (dimensionless).
  • References:
    • Priestley, C. H. B., & Taylor, R. J. (1972). Monthly Weather Review, 100(2), 81–92.
    • Allen et al. (1998)

References

  • Allen, R. G., Pereira, L. S., Raes, D., & Smith, M. (1998). Crop evapotranspiration – Guidelines for computing crop water requirements – FAO Irrigation and Drainage Paper 56. FAO, Rome. https://www.fao.org/3/x0490e/x0490e00.htm
  • Monteith, J. L. (1965). Evaporation and environment. In The State and Movement of Water in Living Organisms (pp. 205–234). Academic Press.
  • Priestley, C. H. B., & Taylor, R. J. (1972). On the assessment of surface heat flux and evaporation using large-scale parameters. Monthly Weather Review, 100(2), 81–92. https://doi.org/10.1175/1520-0493(1972)100<0081:OTAOSH>2.3.CO;2

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

priestley_taylor-1.1.1.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

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

priestley_taylor-1.1.1-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file priestley_taylor-1.1.1.tar.gz.

File metadata

  • Download URL: priestley_taylor-1.1.1.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for priestley_taylor-1.1.1.tar.gz
Algorithm Hash digest
SHA256 a4870b8cf9b6c4c8e3463df6d60c37597715b9d321894f3bae09ffec69a52bad
MD5 faa9e2f57d6d16479f0129b4ba8cba1a
BLAKE2b-256 9f6a71e6badac3c35e517eaa89e22f7689edb68be6e7898fa5d9949c755e71f5

See more details on using hashes here.

File details

Details for the file priestley_taylor-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for priestley_taylor-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 51544962785bd0ce9c4b9ada60e13ec6aef8b3e28e5cfd208151a82a77a52405
MD5 9b40b2ffaddbb50aaefb0542b48f6bd6
BLAKE2b-256 11fce58b3b2e601e196abd0b463dc08d94e69ff19221d675980faacce8619998

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