potential_temperature#

metpy.calc.potential_temperature(pressure, temperature)#

Calculate the potential temperature.

Uses the Poisson equation to calculation the potential temperature given pressure and temperature.

Parameters
Returns

pint.Quantity – Potential temperature corresponding to the temperature and pressure

See also

dry_lapse

Notes

Formula:

\[\Theta = T (P_0 / P)^\kappa\]

Examples

>>> from metpy.units import units
>>> metpy.calc.potential_temperature(800. * units.mbar, 273. * units.kelvin)
<Quantity(290.972015, 'kelvin')>

Examples using metpy.calc.potential_temperature#

Cross Section Analysis

Cross Section Analysis

Cross Section Analysis