Hx85aSensor#

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

Bases: BaseSensor

Omega HX85A Humidity Sensor.

Perform protocol conversion for a Omega HX85A Humidity Sensor.

The HX85A measure dew point, in addition to relative humidity and air temperature. It does not report barometric pressure.

Parameters:
  • log (logger) – The logger for which to create a child logger.

  • num_channels (int, default: 0)

Attributes Summary

Methods Summary

extract_telemetry(line)

Extract the telemetry from a line of Sensor data.

Attributes Documentation

charset = 'ISO-8859-1'#
terminator = '\n\r'#

Methods Documentation

async extract_telemetry(line)#

Extract the telemetry from a line of Sensor data.

Parameters:

line (str) – A line of comma separated telemetry.

Returns:

output – A list of 3 floats containing the telemetry as measured by the sensor: the relative humidity, the temperature and the dew point. If a value is missing because the connection to the sensor is established mid output, then the value gets replaced by np.nan.

Return type:

list