Loading

CLONEEMPTY

gts

Clones a Geo Time Series™, an Encoder or all the instances in a list of Geo Time Series™ or an Encoder, keeping only the metadata and not the values.

The CLONEEMPTY function takes as parameter a Geo Time Series™, an Encoder or a list thereof. It creates an empty clone of the input with only his metadata. The cloned metadata are:

  • Classname
  • Labels
  • Attributes
  • Lastbucket, for Geo Time Series™ only
  • Bucketspan, for Geo Time Series™ only
  • Bucketcount, for Geo Time Series™ only
  • Base timestamp, for Encoders only
  • Wrapping key, for Encoders only

The input parameter is consumed and the clone or list of clones is left on the stack.

CLONEEMPTY is available since version 1.0.0.

See also

Signatures

Examples

[ '60VgNqxhAaCdS6_uOLtZNMGWAbGpS5xmPL4gAbC_QbCjRbBiS5KhR5KmNMGpRaJQ.NV7RqKiRqxmHLF1B23L.0N.5k..KV.N6bF.0DxeA7x..3.pV.......4EyQb2_.CJnBnBnBnGN33V.' '60VgNqxhAaCdS6_uOLtZNMGWAbGpS5xmPL4gAbC_QbCjRbBiS5KhR5KmNMGpRaJQ.NV7RqKiRqxmHLF1B27L.0N.5k..KV.N6rF.0Dxe1Bju.3.ltaOaOaOa472Jp9g0F26BnBnBnBoL007.' ] UNWRAP // Decode a list of Geo Time Series™ DUP // Duplicate the list in order to see what's happend before/after CLONEEMPTY // Clone metadata value