phaselag_time: Calculate the phase lag in time units

Description Usage Arguments Value Author(s) References See Also

View source: R/phaselag.R

Description

Helper function which is called by camuffo_phaselag_time()

Usage

1
phaselag_time(slope1, slope2, nday, timeunitperday)

Arguments

slope1

Linear regression slope between two variables X and Y.

slope2

2nd order regression slope between the variable Y and the time derivative of X dX/dt.

nday

Number of measurements per day.

timeunitperday

Number of timesteps per day.

Value

phase lag in time units between two variables.

Author(s)

Maik Renner, mrenner [at] bgc-jena.mpg.de, Luigi Conte contributed the harmonic analysis

References

please cite the following paper when using this code Renner, M., Brenner, C., Mallick, K., Wizemann, H.-D., Conte, L., Trebs, I., Wei, J., Wulfmeyer, V., Schulz, K., and Kleidon, A.: Using phase lags to evaluate model biases in simulating the diurnal cycle of evapotranspiration: a case study in Luxembourg, Hydrol. Earth Syst. Sci., 23, 515-535, https://doi.org/10.5194/hess-23-515-2019, 2019.

See Also

camuffo_phaselag_time


laubblatt/phaselag documentation built on Sept. 30, 2020, 11:21 a.m.