Loading

TIMEMODULO


gts
Since v1.0.0
Available on all platforms

Splits Geo Time Series™ into sub-GTS whose timestamps are the original timestamp modulo a given modulus value. Each sub-GTS will bear a label with the quotient of the original timestamps divided by the modulus. The output list order is not guaranteed, use SORTBY if you want to order the output by label.

This function can be used to generate for example one Geo Time Series™ per day with ticks from 0 to 86400 s (excluded).

Signature

Examples

NEWGTS 1 100 <% NaN NaN NaN T ADDVALUE %> FOR 10 'quotient' TIMEMODULO