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:
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 yearlat(float): Latitude in degreeshour_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.
Metadata
Release files for daily-evapotranspiration-upscaling 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| daily_evapotranspiration_upscaling-1.1.0.tar.gz | 12.3 kB | Without provenance | Details for daily_evapotranspiration_upscaling-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| daily_evapotranspiration_upscaling-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for daily_evapotranspiration_upscaling-1.1.0-py3-none-any.whl |
Total release size: 21.6 kB
Release files / daily_evapotranspiration_upscaling-1.1.0.tar.gz
| Download URL | daily_evapotranspiration_upscaling-1.1.0.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5796251f311690e2a68767d70505717c7d84903abed708493af6617a99ebcb1
|
|
BLAKE2b-256 checksum How to use checksums |
a2f690efd884446497955abff2ade2c76831e8fb81a6faf873a8158a807cc6be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|
Release files / daily_evapotranspiration_upscaling-1.1.0-py3-none-any.whl
| Download URL | daily_evapotranspiration_upscaling-1.1.0-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
23f4a9da28ddcf8517edd2e3991585f6984d9072be37b3323d2856df9173b596
|
|
BLAKE2b-256 checksum How to use checksums |
6d3d49544b384f6ef8f61ed2a0d1aff091527521a6dd4051d1f76d2cf306f2a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|
Security for daily-evapotranspiration-upscaling 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.