Skip to main content

Instantaneous/Daily Evapotranspiration Upscaling Utilities Python Package

Project description

Usage

This package provides a set of functions for upscaling instantaneous or daily energy balance and meteorological data to daily evapotranspiration (ET) estimates. Below is a summary of each function and its usage:

CI

The daily-evapotranspiration-upscaling Python package provides utilities for upscaling energy balance and meteorological data to daily ET, supporting raster, numpy array, and scalar inputs. It is designed for remote sensing, land surface modeling, and geospatial analysis.

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

Installation

This package is available on PyPI as daily-evapotranspiration-upscaling (with dashes):

pip install daily-evapotranspiration-upscaling

Usage

Import this package as daily_evapotranspiration_upscaling (with underscores):

import daily_evapotranspiration_upscaling

1. celcius_to_kelvin(T_C)

  • Description: Convert Celsius to Kelvin.
  • Parameters: T_C (float, array, or raster): Temperature in Celsius.
  • Returns: Temperature in Kelvin.

2. lambda_Jkg_from_Ta_K(Ta_K)

  • Description: Calculate latent heat of vaporization from air temperature (Kelvin).
  • Parameters: Ta_K (float, array, or raster): Air temperature in Kelvin.
  • Returns: Latent heat of vaporization (J/kg).

3. lambda_Jkg_from_Ta_C(Ta_C)

  • Description: Calculate latent heat of vaporization from air temperature (Celsius).
  • Parameters: Ta_C (float, array, or raster): Air temperature in Celsius.
  • Returns: Latent heat of vaporization (J/kg).

4. calculate_evaporative_fraction(LE, Rn, G)

  • Description: Compute evaporative fraction from latent heat flux, net radiation, and soil heat flux.
  • Parameters:
    • LE (float, array, or raster): Latent heat flux (W/m²)
    • Rn (float, array, or raster): Net radiation (W/m²)
    • G (float, array, or raster): Soil heat flux (W/m²)
  • Returns: Evaporative fraction (unitless).

5. daily_ET_from_daily_LE(LE_daylight, ...)

  • Description: Estimate daily ET from daily latent heat flux (LE) and supporting parameters.
  • Parameters: See function docstring for details.
  • Returns: Daily evapotranspiration (mm/day).

6. daily_ET_from_instantaneous(LE_instantaneous, Rn_instantaneous, G_instantaneous, DOY, lat, hour_of_day, ...)

  • Description: Estimate daily ET from instantaneous measurements of latent heat flux, net radiation, and soil heat flux.
  • Parameters:
    • LE_instantaneous (float, array, or raster): Instantaneous latent heat flux (W/m²)
    • Rn_instantaneous (float, array, or raster): Instantaneous net radiation (W/m²)
    • G_instantaneous (float, array, or raster): Instantaneous soil heat flux (W/m²)
    • DOY (int): Day of year
    • lat (float): Latitude in degrees
    • hour_of_day (float): Local solar time (hours)
  • Returns: Daily evapotranspiration (mm/day).

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, 300(9).
  • Bastiaanssen, W.G.M., Menenti, M., Feddes, R.A., Holtslag, A.A.M., 1998. A remote sensing surface energy balance algorithm for land (SEBAL): 1. Formulation. Journal of hydrology, 212, 198-212.
  • Duffie, J. A., & Beckman, W. A. (2013). Solar Engineering of Thermal Processes (4th ed.). Wiley.

License

See LICENSE for details.

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

daily_evapotranspiration_upscaling-1.0.4.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file daily_evapotranspiration_upscaling-1.0.4.tar.gz.

File metadata

File hashes

Hashes for daily_evapotranspiration_upscaling-1.0.4.tar.gz
Algorithm Hash digest
SHA256 f1960cd6293fdd7e24a64129eb3faffaba3a44ffc45f0eb84ded1a31acd551da
MD5 91f55a8fb2e77a500c6e14a8f5d14910
BLAKE2b-256 db116092d1dacc260b305e873928170bf624bc59fd4cae651e1df3dffd847c23

See more details on using hashes here.

File details

Details for the file daily_evapotranspiration_upscaling-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for daily_evapotranspiration_upscaling-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 96addf9a6bb410ce08848f3192e23698617d0fa61dc715b5d24b16e4c1835429
MD5 22d28c1918735a61788f81538f5de8a8
BLAKE2b-256 5c251e14542cf98a4fa28b3382c1f11c407cdd1f46861a210b97a6c4a56c7c74

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