Radiative Equilibrium In An Atmosphere