dry_static_energy#

metpy.calc.dry_static_energy(height, temperature)[source]#

Calculate the dry static energy of parcels.

This function will calculate the dry static energy following the first two terms of equation 3.72 in [Hobbs2006].

Parameters:
Returns:

pint.Quantity – Dry static energy

Examples

>>> from metpy.calc import dry_static_energy
>>> from metpy.units import units
>>> dry_static_energy(1000 * units.meters, 8 * units.degC)
<Quantity(292.268557, 'kilojoule / kilogram')>

Notes

\[\text{dry static energy} = c_{pd} T + gz\]
  • \(T\) is temperature

  • \(z\) is height

Changed in version 1.0: Renamed heights parameter to height