SMS: Atmospheric thermodynamics/