Calculate relative humidity from 2m temperature (in Celsius) and 2m dew point temperature (in Celsius).
relative_humidity(t2m, d2m, unit = "Celsius", method = "August-Roche-Magnus")
2m temperature (in Celsius)
2m dew point temperature (in Celsius)
can be "Celsius" (default) or "Kelvin"
can be "August-Roche-Magnus" (default) or "Clausius-Clapeyron"
The function returns a numeric, with length equal to t2m (and d2m).
if (FALSE) {
relative_humidity(t2m = 30, d2m = 25,
unit = "Celsius",
method = "August-Roche-Magnus")
}