dewpointdepression2rh {aiRthermo}R Documentation

Relative Humidity from the dew point depression

Description

This function calculates the relative humidity (%) from the dew point depression (K).

Usage

dewpointdepression2rh(P, Temp, dpd, consts = export_constants())

Arguments

P

A vector with pressure values (Pa).

Temp

A vector with temperature values (K).

dpd

A vector with dew point depression values (K).

consts

The constants defined in aiRthermoConstants data are necessary.

Value

A vector with relative humidity (%).

See Also

saturation_mixing_ratio and saturation_pressure_H2O

Examples

data(RadiosondeD)
dPs<-RadiosondeD[,1]*100
dTs<-C2K(RadiosondeD[,3])
dws<-RadiosondeD[,6]/1000
dTds=w2Td(dPs,dws)
dDPDs=dTs-dTds
dewpointdepression2rh(dPs,dTs,dDPDs)

[Package aiRthermo version 1.2.1 Index]