densityDry {aiRthermo} | R Documentation |
Density of Dry Air
Description
From pressure P (Pa) and temperature Temp (K), this funtion calculates the density of dry air in kg/m^3
.
Usage
densityDry(P, Temp, consts = export_constants())
Arguments
P |
A vector with pressure values (Pa). |
Temp |
A vector with temperature values (K). |
consts |
The constants defined in aiRthermoConstants data are necessary. |
Value
A vector with density of dry air values is returned (kg/m^3
).
Examples
data(RadiosondeD)
dPs<-RadiosondeD[,1]*100
dTs<-C2K(RadiosondeD[,3])
densityDry(dPs,dTs)
[Package aiRthermo version 1.2.1 Index]