Skip to main content

potEvap

Compute PE (Potential Evapotranspiration) using the formula from Oudin et al. (2005).

This is a pure python implementation of the R - AirGR PE_Oudin function.

Original source found at https://rdrr.io/cran/airGR/src/R/PE_Oudin.R

AirGR package can be found at https://cran.r-project.org/package=airGR

Changes from the original (R package) include:

  • Support single day as well as multiple days (list, numpy array, pandas etc.).
  • Get latitude in degrees or radians (default degrees).
  • Can choose output units (useful for GR2M and GR2A)
  • Can calculate single hourly value

Usage:

from from PE_Oudin.PE_Oudin import PE_Oudin

For single value:

temp = 20  # Degrees celcius
date = datetime(2018,1,1)
lat = 32  # Degrees (but can be set to radians)
latUnit = 'deg'  # Optional, and default. Can also be 'rad'
out_units = 'mm/day'  # Optional, and default. Can also be 'mm/hour', mm/month' or 'mm/year'

PE_Oudin.pe_oudin(temp, date, lat, latUnit, out_units)

For multiple values (list, pandas series etc.):

temp = [20, 25] # Degrees celcius
date = [datetime(2018,1,1), datetime(2018,1,1)]
lat = 32 # Degrees (but can be set to radians)
latUnit = 'deg'  # Optional, and default. Can also be 'rad'
out_units = 'mm/day'  # Optional, and default. Can also be 'mm/hour', 'mm/month' or 'mm/year'

PE_Oudin.pe_oudin(temp, date, lat, latUnit, out_units)

Metadata

Release files for PE-Oudin 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PE-Oudin 0.3
File Size Uploaded Provenance Actions
PE_Oudin-0.3.tar.gz 4.1 kB Without provenance Details for PE_Oudin-0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for PE-Oudin 0.3
File Interpreter ABI Platform Actions
PE_Oudin-0.3-py3-none-any.whl Python 3 none any Details for PE_Oudin-0.3-py3-none-any.whl

Total release size: 15.4 kB

Release files / PE_Oudin-0.3.tar.gz

Download URL PE_Oudin-0.3.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1b828b21af27b262c7699ea5f20673e0a0c40e14bb05d648b85926dc2ce19765
BLAKE2b-256 checksum
How to use checksums
a5b369722deb7eaef7984706fd81956d24211c1cb4ce169030d4ecb1b4175ddc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release files / PE_Oudin-0.3-py3-none-any.whl

Download URL PE_Oudin-0.3-py3-none-any.whl
Size 11.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5055f6407c825728a2c9b4e23042e50fc469fca564a9525f0986bc7634cd67e5
BLAKE2b-256 checksum
How to use checksums
abcdb5c3780511be016a809441c836346b46a605fea5ea400601d3d84e915fd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Security for PE-Oudin 0.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page