Calculation of optical extinction from aerosol spectral data.