The wrapper function returning 2 standardised and ecologically relevant myClim variables derived from vapor pressure deficit. The mc_env_vpd function needs time-series of vapor pressure deficit measurements as input. Therefore, VPD must be first calculated from temperature and air humidity measurements - see mc_calc_vpd()

mc_env_vpd(
  data,
  period,
  use_utc = TRUE,
  custom_start = NULL,
  custom_end = NULL,
  min_coverage = 1
)

Arguments

data

cleaned myClim object see myClim-package

period

output period see mc_agg()

use_utc

if FALSE, then local time is used for day aggregation see mc_agg() (default TRUE)

custom_start

start date for custom period see mc_agg() (default NULL)

custom_end

end date for custom period see mc_agg() (default NULL)

min_coverage

the threshold specifying how many missing values can you accept within aggregation period. see mc_agg() value from range 0-1 (default 1)

Value

table in long format with standardised myClim variables

Details

This function was designed for time-series of step shorter than one day and will not work with coarser data. The mc_env_vpd function first aggregates time-series to daily time-step and then aggregates to the final time-step set in period parameter. In contrast with other myClim functions returning myClim objects, this wrapper function returns long table. Variables are named based on sensor name, height, and function e.g., (VPD.air_150_cm.mean, VPD.air_150_cm.max95p)

Standardised myClim vapor pressure deficit variables:

  • VPD.mean: Mean vapor pressure deficit = mean of daily mean VPD

  • VPD.max95p: Maximum vapor pressure deficit = 95th percentile of daily maximum VPD