AuroraSensor¶
- class lsst.ts.ess.common.sensor.AuroraSensor(log: Logger, num_channels: int = 0)¶
Bases:
BaseSensor
Aurora Cloud Sensor Reader.
Perform protocol conversion for an Aurora Cloud Sensor.
Attributes Summary
Methods Summary
extract_telemetry
(line)Extract the temperature telemetry from a line of Sensor data.
Attributes Documentation
- charset = 'ASCII'¶
- delimiter = ','¶
- terminator = '\n'¶
Methods Documentation
- async extract_telemetry(line: str) list[float | int | str] ¶
Extract the temperature telemetry from a line of Sensor data.
- Parameters:
- line
str
A line of comma separated telemetry, each of the format described in lsst.ts.ess.common.aurora_cloud_sensor_
- line
- Returns:
- output
list
A list of values containing the telemetry as measured by the sensor. There are seven elements in the list:
Sequence number
Sensor (ambient) temperature (°C)
Sky temperature (°C)
Clarity, a.k.a. difference between ambient and sky temperature
Light level (units unknown)
Rain level (units unknown)
Alarm code
- output