Click or drag to resize
UtilDewPoint2Humidity Method
Calculate the relative humidity (%) given the ambient temperature (°Celsius) and dew point (°Celsius)

Namespace: ASCOM.Utilities
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.2.0.2774)
Syntax
public double DewPoint2Humidity(
	double DewPoint,
	double AmbientTemperature
)

Parameters

DewPoint
Type: SystemDouble
Dewpoint in (°Celsius)
AmbientTemperature
Type: SystemDouble
Ambient temperature (°Celsius)

Return Value

Type: Double
Humidity expressed in percent (0.0 .. 100.0)
Exceptions
ExceptionCondition
InvalidValueExceptionWhen dew point < absolute zero or > 100.0C>
InvalidValueExceptionWhen ambient temperature < absolute zero or > 100.0C>
Remarks
'Calculation uses the Vaisala formula for water vapour saturation pressure and is accurate to 0.083% over -20C - +50°C

http://www.vaisala.com/Vaisala%20Documents/Application%20notes/Humidity_Conversion_Formulas_B210973EN-F.pdf

See Also