WindsonicSensor¶
- class lsst.ts.ess.common.sensor.WindsonicSensor(log: Logger, num_channels: int = 0)¶
Bases:
BaseSensor
GILL Windsonic 2-D Sonic Anemometer Sensor.
Perform protocol conversion for a Gill Windsonic 2-D Sonic Anemometer.
- Parameters:
- log
logger
The logger for which to create a child logger.
- log
Attributes Summary
Methods Summary
extract_telemetry
(line)Extract the wind telemetry from a line of Sensor data.
Attributes Documentation
- charset = 'ASCII'¶
- delimiter = ','¶
- end_character = '\x03'¶
- telemetry_pattern = re.compile('^\x02Q,(?P<direction>\\d{3})?,(?P<speed>\\d{3}\\.\\d{2}),M,(?P<status>\\d{2}),\x03(?P<checksum>[\\da-fA-F]{2})\r\n$')¶
- terminator = '\r\n'¶
Methods Documentation