A parameterization for the absorption of solar radiation in the earth's atmosphere