Click or drag to resize

ObservingConditionsHumidity Property

Atmospheric humidity at the observatory

Namespace:  ASCOM.DriverAccess
Assembly:  ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntax
public double Humidity { get; }

Property Value

Type: Double
Atmospheric humidity (%)

Implements

IObservingConditionsHumidity
Exceptions
ExceptionCondition
PropertyNotImplementedExceptionIf this property is not available.
NotConnectedExceptionIf the device is not connected.
DriverExceptionAn error occurred that is not described by one of the more specific ASCOM exceptions. The device did not successfully complete the request.
Remarks

Optional property, can throw a PropertyNotImplementedException when the DewPoint property also throws a PropertyNotImplementedException.

Mandatory property, must NOT throw a PropertyNotImplementedException when the DewPoint property is implemented.

The ASCOM specification requires that DewPoint and Humidity are either both implemented or both throw PropertyNotImplementedExceptions. It is not allowed for one to be implemented and the other to throw a PropertyNotImplementedException. The Utilities component contains methods (DewPoint2Humidity(Double, Double) and Humidity2DewPoint(Double, Double)) to convert DewPoint to Humidity and vice versa given the ambient temperature.

See Also