Functions to transform relative humidity to specific humidity or dew point temperature and viceversa.

humidity_specific2relative(Tc, HS, allowSaturated = FALSE)
humidity_relative2specific(Tc, HR)
humidity_dewtemperature2relative(Tc, Td, allowSaturated = FALSE)
humidity_relative2dewtemperature(Tc, HR)

Arguments

Tc

A numeric vector of temperature in degrees Celsius.

HS

A numeric vector of specific humidity (unitless).

HR

A numeric vector of relative Humidity (in %).

Td

A numeric vector of dew temperature in degrees Celsius.

allowSaturated

Logical flag to allow values over 100%

Value

A numeric vector with specific or relative humidity.

Author

Nicholas Martin-StPaul, INRA

Miquel De Cáceres Ainsa, CREAF

See also