Description Usage Arguments Details Value Note See Also Examples
Brunt-Vaisalla (angular) frequency (aquared, s^{-2}) considering hydrostatic equilibrium. P is used as a vertical level.
1 | bruntVaisallaOmegaSquared(Ps, Ts, ws, consts = export_constants())
|
Ps |
A vector with pressure values (Pa). |
Ts |
A vector with temperature values (K). |
ws |
A vector with mixing ratio values (kg/kg). |
consts |
The constants defined in aiRthermoConstants data are necessary. The constants g and Rd are used. |
The angular frequency (squared, s^{-2}) is returned in order to avoid complex numbers.
The Brunt-Vaisalla (angular) frequency (squared) is returned.
For stable atmospheres, should be positive at every level. Ps, Ts and ws are 1D arrays.
PT2Theta
and densityMoistAir
are used inside bruntVaisallaOmegaSquared
function.
1 2 3 4 5 | data(RadiosondeD)
dPs<-RadiosondeD[,1]*100
dTs<-C2K(RadiosondeD[,3])
dws<-RadiosondeD[,6]/1000
bruntVaisallaOmegaSquared(dPs,dTs,dws)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.