Description Usage Arguments Details Value Examples
Total-Totals instability index (Celsius) from parameters (1D arrays) Ps (pressure, Pa) Ts (temperature, Kelvin) and ws (mixing ratio, kg/kg) obtained from a vertical sounding.
1 | TTindex(Ps, Ts, ws, doLog = 0)
|
Ps |
A vector with pressure values in Pa. |
Ts |
A vector with temperature values in Kelvin. |
ws |
A vector with mixing ratio values in kg/kg. |
doLog |
Use logarithmic vertical interpolation between sounding levels. A default value is 0. |
If the needed levels (850 hPa or 500 hPa) are not exactly found in the input sounding, logarithmic/linear vertical interpolation is run depending on the value of doLog (TRUE or FALSE).
If the sounding does not enclose the needed levels and the interpolation fails, the function returns -99999999.
This function returns the Total-Totals instability index (Celsius).
1 2 3 4 5 | data(RadiosondeDavenport)
aPs<-RadiosondeDavenport[,1]*100
aTs<-C2K(RadiosondeDavenport[,3])
aws<-RadiosondeDavenport[,6]/1000
aTT<-TTindex(aPs,aTs,aws,0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.