Loading

ONLYBUCKETS

gts

Only retains ticks from Geo Time Series™ with timestamps which are bucket ends. If an input GTS is not bucketized, a clone of the GTS will be returned.

The ONLYBUCKETS function does not remove duplicate ticks, please consider using DEDUP for that purpose.

ONLYBUCKETS is available since version 1.0.0.

Signatures

Examples

NEWGTS 1 100 <% NaN NaN NaN RAND ADDVALUE %> FOR 1 ->LIST [ SWAP bucketizer.last 100 10 0 ] BUCKETIZE UNLIST 11 NaN NaN NaN 0.0 ADDVALUE ] DUP ONLYBUCKETS