| mc_prep_expandtime | R Documentation |
Expands (downscales) time steps in raw myClim objects, e.g. from 1 hour to 15 minutes.
The original step must be a multiple of the new step (e.g. 15 → 5 minutes works,
but 15 → 10 minutes does not).
Newly created gaps in the expanded series are filled with NA.
mc_prep_expandtime(
data,
to_step,
localities = NULL,
loggers = NULL,
from_step = NULL
)
data |
cleaned myClim object see myClim-package |
to_step |
new time step in seconds (e.g. 3600 for one hour) |
localities |
IDs of localities to expand. If |
loggers |
names of loggers to expand. If |
from_step |
original time step in seconds to expand.
If |
Works only with raw myClim objects.
If from_step is specified, only loggers with this step are expanded;
loggers with other steps remain unchanged.
raw myClim data with expanded datetime.
mc_prep_expandtime(mc_data_example_clean, to_step = 300, localities = "A1E05", loggers = "Thermo_1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.