compute_simplifiedDWCI: simplified Diurnal water:carbon index (DWCI)

Description Usage Arguments Value

View source: R/tea.R

Description

similar to DWCI it measures the probability that the carbon and water are coupled within a given day. In difference to the full DWCI the correlation only the standard deviation of ET and GPP is used but not the daily correlation between NEE and ET errors. Hence, it can be used when noisefree, i.e. modelled, NEE_fall and ET_fall are not available.

Usage

1
compute_simplifiedDWCI(data, nrecday = 48, na_value = 0)

Arguments

data

data.frame of sub-daily timeseries with variables

Rg_pot

Potential radiation

ET

evapotranspiration or latent energy

GPP

ross primary productivity

VPD

vapor pressure deficit

NEE

net ecosystem exchange

ET_sd

estimation of the uncertainty of ET

GPP_sd

eestimation of the uncertainty of GPP

nrecday

integer: frequency of the sub-daily measurements, 48 for half hourly measurements'

na_value

numeric scalar: to replace NA values in correlation Defaults to 0.0 - i.e. no probability of correlation in DWCI.

Value

numeric vector length(data)/nrecday: diurnal water:carbon index (DWCI)


bgctw/etpart documentation built on Dec. 19, 2021, 8:49 a.m.