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 PEdaily_Oudin function.

Original source found at https://github.com/cran/airGR/blob/master/R/PEdaily_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)

Usage:

from potEvap import potEvap

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/month' or 'mm/year'

potEvap(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/month' or 'mm/year'

potEvap(temp, date, lat, latUnit, out_units)

Metadata

Release files for PE-Oudin-pazdror 0.0.1

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-pazdror 0.0.1
File Size Uploaded Provenance Actions
PE_Oudin-pazdror-0.0.1.tar.gz 3.8 kB Without provenance Details for PE_Oudin-pazdror-0.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 14.9 kB

Release files / PE_Oudin-pazdror-0.0.1.tar.gz

Download URL PE_Oudin-pazdror-0.0.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5e0614d393f44ea435617ea3f465b05e070b6e9fde5d85e62040ed6ac2240d3c
BLAKE2b-256 checksum
How to use checksums
c6a0e2c30fd1f98d9c8dbbc3d832fe9510f507887be779bd4d7e6cc127d60f7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

Release files / PE_Oudin_pazdror-0.0.1-py3-none-any.whl

Download URL PE_Oudin_pazdror-0.0.1-py3-none-any.whl
Size 11.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c990e3d4ae39cf21ca1ece4ad4db0cf534b0366b252b4f121d827be83d25ca98
BLAKE2b-256 checksum
How to use checksums
a1554030bb69fd2fa27f8f05e1e3fc0f893c4b37b8a587accf6682394e841c52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

Security for PE-Oudin-pazdror 0.0.1

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

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