mc_env_moist | R Documentation |
The wrapper function returning 4 standardised and ecologically relevant myClim variables
derived from soil moisture measurements. The mc_env_moist function needs time-series of
volumetric water content (VWC) measurements as input. Therefore, non-VWC soil
moisture measurements must be first converted to VWC.
For TMS loggers see mc_calc_vwc()
mc_env_moist(
data,
period,
use_utc = TRUE,
custom_start = NULL,
custom_end = NULL,
min_coverage = 1
)
data |
cleaned myClim object see myClim-package |
period |
output period see |
use_utc |
if FALSE, then local time is used for day aggregation see |
custom_start |
start date for custom period see |
custom_end |
end date for custom period see |
min_coverage |
the threshold specifying how many missing values can you accept within aggregation period. see |
This function was designed for time-series of step shorter than one day and will not work with coarser data. 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., (VWC.soil_0_15_cm.5p, VWC.soil_0_15_cm.mean)
Standardised myClim soil moisture variables:
VWC.5p: Minimum soil moisture = 5th percentile of VWC values
VWC.mean: Mean soil moisture = mean of VWC values
VWC.95p: Maximum soil moisture = 95th percentile of VWC values
VWC.sd: Standard deviation of VWC measurements
table in long format with standardised myClim variables
data <- mc_prep_crop(mc_data_example_agg, lubridate::ymd_h("2020-11-01 00"),
lubridate::ymd_h("2021-02-01 00"), end_included = FALSE)
data <- mc_calc_vwc(data, localities=c("A2E32", "A6W79"))
mc_env_moist(data, "month")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.