Skip to content

Commit

Permalink
Merge pull request #40 from pyet-org/dev
Browse files Browse the repository at this point in the history
Update: Added benchmark tests, added utility functions
  • Loading branch information
raoulcollenteur authored Dec 12, 2022
2 parents b08709f + b49270b commit a5e380f
Show file tree
Hide file tree
Showing 20 changed files with 4,504 additions and 610 deletions.
44 changes: 22 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,28 @@
pyet is an open source python package for calculating reference and potential Evapotranspiration (PET) for 1D (pandas.Series)
and 3D (xarray.DataArrray) data. Currently, eighteen methods for calculating daily PET are implemented:

| Method name | pyet function | T | RH | R | u2 | Lat. | El. | Benchmarked? |
|:------------------|:------------------|:-------|:-----------|:-------|:-------|:-------|:-------|:---------|
| Penman | penman | ✓ $^a$ | ✓ $^{b,c}$ | ✓ $^d$ | ✓ | ✓ $^d$ | ✓ $^e$ | - |
| Penman-Monteith | pm | ✓ $^a$ | ✓ $^{b,c}$ | ✓ $^d$ | ✓ | ✓ $^d$ | ✓ $^e$ | ✓ |
| ASCE-PM | pm_asce | ✓ $^a$ | ✓ $^{b,c}$ | ✓ $^d$ | ✓ | ✓ $^d$ | ✓ $^e$ | ✓ |
| FAO-56 | pm_fao56 | ✓ $^a$ | ✓ $^{b,c}$ | ✓ $^d$ | ✓ | ✓ $^d$ | ✓ $^e$ | ✓ |
| Priestley-Taylor | priestley_taylor | ✓ | ✓ $^h$ | ✓ $^h$ | - | ✓ $^h$ | ✓ $^e$ | ✓ |
| Kimberly-Penman | kimberly_penman | ✓ $^a$ | ✓ $^{b,c}$ | ✓ $^d$ | ✓ | ✓ $^d$ | ✓ $^e$ | - |
| Thom-Oliver | thom_oliver | ✓ $^a$ | ✓ $^{b,c}$ | ✓ $^d$ | ✓ | ✓ $^d$ | ✓ $^e$ | - |
| Blaney-Criddle | blaney_criddle | ✓ | - $^i$ | - $^i$ | - $^i$ | ✓ | - | ✓ |
| Hamon | hamon | ✓ | - | - | - | ✓ | - | - |
| Romanenko | romanenko | ✓ | ✓ | - | - | - | - | - |
| Linacre | linacre | ✓ $^j$ | - | - | - | - | ✓ | - |
| Haude | haude | ✓ | ✓ $^k$ | - | - | - | - | ✓ |
| Turc | turc | ✓ | ✓ | ✓ | - | - | - | ✓ |
| Jensen-Haise | jensen_haise | ✓ | - | ✓ $^l$ | - | ✓ $^l$ | - | - |
| McGuinness-Bordne | mcguinness_bordne | ✓ | - | - | - | ✓ | - | - |
| Hargreaves | hargreaves | ✓ $^m$ | - | - | - | ✓ | - | ✓ |
| FAO-24 | fao_24 | ✓ | ✓ | ✓ | ✓ | - | ✓ $^e$ | - |
| Abtew | abtew | ✓ | - | ✓ | - | - | - | - |
| Makkink | makkink | ✓ | - | ✓ | - | - | ✓ $^e$ | ✓ |
| Oudin | oudin | ✓ | - | - | - | ✓ | - | - |
| Method name | pyet function | T | RH | R | u2 | Lat. | El. | Benchmarked? |
|:------------------|:------------------|:-------|:-----------|:-------|:-------|:-------|:-------|:------------------|
| Penman | penman | ✓ $^a$ | ✓ $^{b,c}$ | ✓ $^d$ | ✓ | ✓ $^d$ | ✓ $^e$ | ✓ |
| Penman-Monteith | pm | ✓ $^a$ | ✓ $^{b,c}$ | ✓ $^d$ | ✓ | ✓ $^d$ | ✓ $^e$ | ✓ |
| ASCE-PM | pm_asce | ✓ $^a$ | ✓ $^{b,c}$ | ✓ $^d$ | ✓ | ✓ $^d$ | ✓ $^e$ | ✓ |
| FAO-56 | pm_fao56 | ✓ $^a$ | ✓ $^{b,c}$ | ✓ $^d$ | ✓ | ✓ $^d$ | ✓ $^e$ | ✓ |
| Priestley-Taylor | priestley_taylor | ✓ | ✓ $^h$ | ✓ $^h$ | - | ✓ $^h$ | ✓ $^e$ | ✓ |
| Kimberly-Penman | kimberly_penman | ✓ $^a$ | ✓ $^{b,c}$ | ✓ $^d$ | ✓ | ✓ $^d$ | ✓ $^e$ | - |
| Thom-Oliver | thom_oliver | ✓ $^a$ | ✓ $^{b,c}$ | ✓ $^d$ | ✓ | ✓ $^d$ | ✓ $^e$ | - |
| Blaney-Criddle | blaney_criddle | ✓ | - $^i$ | - $^i$ | - $^i$ | ✓ | - | ✓ |
| Hamon | hamon | ✓ | - | - | - | ✓ | - | ✓ |
| Romanenko | romanenko | ✓ | ✓ | - | - | - | - | ✓ |
| Linacre | linacre | ✓ $^j$ | - | - | - | - | ✓ | ✓ |
| Haude | haude | ✓ | ✓ $^k$ | - | - | - | - | ✓ |
| Turc | turc | ✓ | ✓ | ✓ | - | - | - | ✓ |
| Jensen-Haise | jensen_haise | ✓ | - | ✓ $^l$ | - | ✓ $^l$ | - | ✓ |
| McGuinness-Bordne | mcguinness_bordne | ✓ | - | - | - | ✓ | - | ✓ |
| Hargreaves | hargreaves | ✓ $^m$ | - | - | - | ✓ | - | ✓ |
| FAO-24 radiation | fao_24 | ✓ | ✓ | ✓ | ✓ | - | ✓ $^e$ | - |
| Abtew | abtew | ✓ | - | ✓ | - | - | - | ✓ |
| Makkink | makkink | ✓ | - | ✓ | - | - | ✓ $^e$ | ✓ |
| Oudin | oudin | ✓ | - | - | - | ✓ | - | - |

$^a$ $T_{max}$ and $T_{min}$ can also be provided. $^b$ $RH_{max}$ and $RH_{min}$ can also be provided. $^c$ If actual vapor pressure is provided, RH is not needed. $^d$ Input for radiation can be (1) Net radiation, (2) solar radiation or (3) sunshine hours. If (1), then latitude is not needed. If (1, 3) latitude and elevation is needed. $^e$ One must provide either the atmospheric pressure or elevation. $^f$ The PM method can be used to estimate potential crop evapotranspiration, if leaf area index or crop height data is available. $^g$ The effect of $CO_2$ on stomatal resistance can be included using the formulation of Yang et al. 2019. $^h$ If net radiation is provided, RH and Lat are not needed. $^i$ If method==2, $u_2$, $RH_{min}$ and sunshine hours are required. $^j$ Additional input of $T_{max}$ and $T_{min}$, or $T_{dew}$. $^k$ Input can be $RH$ or actual vapor pressure. $^l$ If method==1, latitude is needed instead of $R_s$. $^m$ $T_{max}$ and $T_{min}$ also needed.

Expand Down
Loading

0 comments on commit a5e380f

Please sign in to comment.