Hx85aSensor¶
- class lsst.ts.ess.common.sensor.Hx85aSensor(log: Logger, num_channels: int = 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.
- log
Attributes Summary
Methods Summary
extract_telemetry
(line)Extract the telemetry from a line of Sensor data.
Attributes Documentation
- charset = 'ISO-8859-1'¶
- delimiter = ','¶
- terminator = '\n\r'¶
Methods Documentation
- async extract_telemetry(line: str) list[float | int | str] ¶
Extract the telemetry from a line of Sensor data.
- Parameters:
- line
str
A line of comma separated telemetry.
- line
- Returns:
- output
list
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.
- output