moist_static_energy¶
- 
metpy.calc.moist_static_energy(heights, 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]. .. rubric:: Notes - \(T\) is temperature 
- \(z\) is height 
- \(q\) is specific humidity 
 - Parameters
- heights (array-like) – Atmospheric height 
- temperature (array-like) – Atmospheric temperature 
- specific_humidity (array-like) – Atmospheric specific humidity 
 
- Returns
- pint.Quantity – The moist static energy