Description Usage Arguments Value See Also Examples
This function calculates the temperature from a given pressure and potential temperature.
1 | PTheta2T(P, Theta, w = 0, consts = export_constants())
|
P |
A vector with pressure values (Pa). |
Theta |
A vector with potential temperature (K). |
w |
A vector with mixing ratio values (kg/kg). Default value 0. |
consts |
The constants defined in aiRthermoConstants data are necessary. |
This function returns a vector with temperatures (K).
1 2 3 4 5 | data(RadiosondeD)
dPs<-RadiosondeD[,1]*100
dTs<-C2K(RadiosondeD[,3])
dThetas=PT2Theta(dPs,dTs)
PTheta2T(dPs,dThetas)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.