Instantaneous/Daily Evapotranspiration Upscaling Utilities Python Package
Project description
daily-evapotranspiration-upscaling
daily-evapotranspiration-upscaling is a Python package providing utilities for upscaling instantaneous or daily energy balance and meteorological data to daily evapotranspiration (ET) estimates. It is designed for use with raster (spatial) or array-based data, making it suitable for remote sensing, land surface modeling, and geospatial analysis. The package implements methods based on physical principles of the surface energy balance, commonly used in remote sensing algorithms such as SEBAL and related models. It enables upscaling of point-in-time or daily energy flux measurements to daily evapotranspiration, a key variable in hydrology, agriculture, and climate studies.
Gregory H. Halverson (they/them)
gregory.h.halverson@jpl.nasa.gov
NASA Jet Propulsion Laboratory 329G
Features
- Convert temperature between Celsius and Kelvin
- Calculate latent heat of vaporization as a function of air temperature
- Compute evaporative fraction from energy balance components
- Estimate daily ET from daily or instantaneous latent heat flux (LE)
- Integrate net radiation over daylight hours using solar geometry
- Support for raster, numpy array, and scalar inputs
- Utilities for daylight duration and sunrise calculations
Installation
pip install daily-evapotranspiration-upscaling
Usage Example
from daily_evapotranspiration_upscaling import daily_ET_from_instantaneous
# Example inputs (replace with your data)
LE_instantaneous = ... # Latent heat flux (W/m^2)
Rn_instantaneous = ... # Net radiation (W/m^2)
G_instantaneous = ... # Soil heat flux (W/m^2)
DOY = 150 # Day of year
lat = 34.0 # Latitude in degrees
hour_of_day = 13.0 # Local solar time
ET_daily = daily_ET_from_instantaneous(
LE_instantaneous_Wm2=LE_instantaneous,
Rn_instantaneous_Wm2=Rn_instantaneous,
G_instantaneous_Wm2=G_instantaneous,
DOY=DOY,
lat=lat,
hour_of_day=hour_of_day
)
print(ET_daily)
API Reference
celcius_to_kelvin(T_C): Convert Celsius to Kelvinlambda_Jkg_from_Ta_K(Ta_K): Latent heat of vaporization from temperature (K)lambda_Jkg_from_Ta_C(Ta_C): Latent heat of vaporization from temperature (C)calculate_evaporative_fraction(LE, Rn, G): Compute evaporative fractiondaily_ET_from_daily_LE(LE_daylight, ...): Daily ET from daily LEdaily_ET_from_instantaneous(LE_instantaneous, Rn_instantaneous, G_instantaneous, ...): Daily ET from instantaneous measurements
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
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 daily_evapotranspiration_upscaling-1.0.2.tar.gz.
File metadata
- Download URL: daily_evapotranspiration_upscaling-1.0.2.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7736293c17a9363554acc4c8d2c296d23e048738a22df9489ab148a0d21296c
|
|
| MD5 |
c0be26b8738742acf8889badcd02d1a7
|
|
| BLAKE2b-256 |
cd89f604e05bc37f385daef3005e945cd757f844cf092f93d3847491531c0191
|
File details
Details for the file daily_evapotranspiration_upscaling-1.0.2-py3-none-any.whl.
File metadata
- Download URL: daily_evapotranspiration_upscaling-1.0.2-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21d50c844ab74c9b38b52b70240f518568fea3ac7816d6495274c9a640095450
|
|
| MD5 |
3fed16164c4cbf79b8c2040eacc1fdf3
|
|
| BLAKE2b-256 |
fa53e525e26c16e08996b17b99bd5ad6ecab324bd647ad5ef22cbb1ddd849db9
|