AuroraSensor#

class lsst.ts.ess.common.sensor.AuroraSensor(log, num_channels=0)#

Bases: BaseSensor

Aurora Cloud Sensor Reader.

Perform protocol conversion for an Aurora Cloud Sensor.

Parameters:
  • log (Logger)

  • num_channels (int, default: 0)

Attributes Summary

Methods Summary

extract_telemetry(line)

Extract the temperature telemetry from a line of Sensor data.

Attributes Documentation

terminator = '\n'#

Methods Documentation

async extract_telemetry(line)#

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_

Returns:

output – 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

Return type:

list