Using a rule of three, the data is first scaled to a timestep of 1 minute and then averaged for the required interval

ts_ruleOf3(values, timestep_in, timestep_out)

Arguments

values

Vector of timeseries data

timestep_in, timestep_out

Timesteps in the same unit