From 7d51d355228eabbee47070417970da156ac2cfcc Mon Sep 17 00:00:00 2001 From: Fabian Bernhard <10245680+fabern@users.noreply.github.com> Date: Fri, 20 Dec 2024 19:59:08 +0100 Subject: [PATCH] Fix bug in ingest() to bias-correct VPD. 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(). --- R/ingest.R | 4 ---- 1 file changed, 4 deletions(-) diff --git a/R/ingest.R b/R/ingest.R index e040860..3632c5d 100644 --- a/R/ingest.R +++ b/R/ingest.R @@ -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()