Fourier calculated that Earth's surface temperature should be much lower than observed if warmed only by direct solar radiation, postulating that the atmosphere must be trapping some of the outgoing infrared radiation, similar to how glass traps heat in a greenhouse.