moist_static_energy¶
-
metpy.calc.
moist_static_energy
(height, temperature, specific_humidity)[source]¶ Calculate the moist static energy of parcels.
This function will calculate the moist static energy following equation 3.72 in [Hobbs2006].
- Parameters
height (
pint.Quantity
) – Atmospheric heighttemperature (
pint.Quantity
) – Air temperaturespecific_humidity (
pint.Quantity
) – Atmospheric specific humidity
- Returns
pint.Quantity
– Moist static energy
Notes
\(T\) is temperature
\(z\) is height
\(q\) is specific humidity
Changed in version 1.0: Renamed
heights
parameter toheight