Atmospheric dynamics and thermodynamics