This function creates a state (tag) when joining multiple overlapping time-series with different microclimate values. State is created for all values that are in conflict in joining process.
mc_states_join(
data,
tag = "join_conflict",
by_type = TRUE,
tolerance = NULL,
older_newer_suffix = FALSE
)
myClim object in Raw-format. see myClim-package
The tag name (default "join_conflict").
for mc_join function (default TRUE)
for mc_join function (default NULL)
if true, the suffix _older
/_newer
is added to the tag name (default FALSE)
Returns a myClim object with added states.
For more info see details of mc_join function.
Parameter older_newer_suffix
can be used for easier filtering of tags,
to distinguish whether certain state on overlapping time series is connected
to older or newer record. It can help to decide which value keep and which remove.
The loggers with same start and end datetimes cannot be marked as older/newer.
Tag is without suffix in this case.