Description Usage Arguments Value See Also Examples
This function calculates the relative humidity from given temperature, dew point temperature and pressure.
1 | TTdP2rh(Temp, Td, P, consts = export_constants())
|
Temp |
A vector with temperature values in Kelvin. |
Td |
A vector with dew point temperature in Kelvin. |
P |
A vector with pressure values in Pa. |
consts |
The constants defined in aiRthermoConstants data are necessary. |
This function returns a vector with relative humidity values.
1 2 3 4 5 6 | data(RadiosondeD)
dPs<-RadiosondeD[,1]*100
dTs<-C2K(RadiosondeD[,3])
dws<-RadiosondeD[,6]/1000
dTds<-w2Td(dPs,dws)
rhs<-TTdP2rh(dTs,dTds,dPs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.