The Sun, The Earth, and the Energy in the Atmosphere