Skip to content

Commit

Permalink
Fix bug in ingest() to bias-correct VPD.
Browse files Browse the repository at this point in the history
The bug resulted in not using bias-corrected vapr for VPD in watch_wfdei and wfde5 when calling ingest(). It was however bias-corrected when using ingest_bysite().
  • Loading branch information
fabern committed Dec 20, 2024
1 parent 764eb68 commit 7d51d35
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions R/ingest.R
Original file line number Diff line number Diff line change
Expand Up @@ -609,10 +609,6 @@ ingest <- function(
ddf <- ddf %>%
rowwise() %>%
dplyr::mutate(
vapr = calc_vp(
qair = qair,
patm = patm
),
vpd = calc_vpd(eact = vapr, tc = temp)) %>%
ungroup()

Expand Down

0 comments on commit 7d51d35

Please sign in to comment.