Dynamical Effects in the Middle Atmosphere Energy Balance