bruntVaisallaOmegaSquared: Brunt-Vaisalla (angular) frequency (squared)

Description Usage Arguments Details Value Note See Also Examples

Description

Brunt-Vaisalla (angular) frequency (aquared, s^{-2}) considering hydrostatic equilibrium. P is used as a vertical level.

Usage

1

Arguments

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.

Details

The angular frequency (squared, s^{-2}) is returned in order to avoid complex numbers.

Value

The Brunt-Vaisalla (angular) frequency (squared) is returned.

Note

For stable atmospheres, should be positive at every level. Ps, Ts and ws are 1D arrays.

See Also

PT2Theta and densityMoistAir are used inside bruntVaisallaOmegaSquared function.

Examples

1
2
3
4
5
data(RadiosondeD)
dPs<-RadiosondeD[,1]*100
dTs<-C2K(RadiosondeD[,3])
dws<-RadiosondeD[,6]/1000
bruntVaisallaOmegaSquared(dPs,dTs,dws)

aiRthermo documentation built on May 1, 2019, 9:24 p.m.