ChannelMetadata#

class nominal.ChannelMetadata#

A channel’s units, description, and data type.

The catalog side of a channel. nominal.Channel is the streaming side, where points are written.

m = ds.channelMetadata("rpm");
m.Unit
ds.setChannelMetadata("rpm", "double", Unit="1/min");

Metadata is per dataset. Setting a unit on “rpm” in one dataset does not set it on “rpm” in another.

Constructor Summary
Property Summary
Name#

Channel name.

Unit#

UCUM unit symbol, or “” if unset.

Description#

Description, or “” if unset.

DataType#

“double”, “string”, “int”, and so on.

DatasourceRid#

RID of the dataset this channel belongs to.