Variations in the amount of the sun’s energy hitting the Earth’s surface affect daily and seasonal weather patterns.