Skip to content

Commit

Permalink
Merge pull request #5 from stineb/main
Browse files Browse the repository at this point in the history
just a commen in a vignette
  • Loading branch information
stineb authored May 8, 2024
2 parents ae1ab2e + 23768c5 commit 7e0a579
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vignettes/potential_cwd.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ df <- readRDS(file = paste0(here(), "/data/df_fr-pue.rds"))

... and convert from units of mm s-1 to mm d-1.
```{r}
# tested: identical results are obtained with:
# bigleaf::potential.ET(Tair = TA_F_MDS, pressure = PA_F*1e-3, Rn = NETRAD, approach = "Priestley-Taylor")$ET_pot * 30 * 30 * 24
df <- df |>
mutate(pet = 30 * 30 * 24 * pet(NETRAD, TA_F_MDS, PA_F))
```
Expand Down

0 comments on commit 7e0a579

Please sign in to comment.