OutputTimeBins#

class geodesic.tesseract.components.OutputTimeBins(*args, **kwargs)[source]#

How to define what the output time bins are for a step output

Attributes

equal

(Equal, dict) - equal sized bins between the start and end datetime

nontemporal

(bool) - nontemporal; there will only be one single bin created

reference

(str) - references the asset from which this asset should use the time bins.

strided

(StridedBinning, dict) - build bins by defining a from, duration, stride, offset, and count

user

(User, dict) - user defined bin edges

Methods

clear()

copy()

fromkeys([value])

Create a new dictionary with keys from iterable and values set to value.

get(key[, default])

Return the value for key if key is in the dictionary, else default.

items()

keys()

pop(k[,d])

If key is not found, default is returned if given, otherwise KeyError is raised

popitem()

Remove and return a (key, value) pair as a 2-tuple.

setdefault(key[, default])

Insert key with a value of default if key is not in the dictionary.

update(*mapping, **kwargs)

values()