Measurement of the wavelength dependence of atmospheric extinction due to scatter