Csat3bSensor

class lsst.ts.ess.common.sensor.Csat3bSensor(log: Logger, num_channels: int = 0)

Bases: BaseSensor

Cambpell Scientific CSAT3B 3-D Anemometer Sensor.

Perform protocol conversion for the Cambpell Scientific CSAT3B 3-D Anemometer.

Parameters:
loglogger

The logger for which to create a child logger.

Attributes Summary

charset

delimiter

terminator

Methods Summary

extract_telemetry(line)

Extract the telemetry from a line of Sensor data.

Attributes Documentation

charset = 'ISO-8859-1'
delimiter = ','
terminator = '\r\n'

Methods Documentation

async extract_telemetry(line: str) list[float | int | str]

Extract the telemetry from a line of Sensor data.

Parameters:
linestr

A line of comma separated telemetry as described in the doc string of this class.

Returns:
list

A list of floats and ints containing the telemetry as measured by the sensor. See the description in the doc string of this class.