This page describes how to calculate light attenuation by using dedicted codes.
November 2nd 2016:
Simulation of atmospheric transparency templates for LibradTran/Modtran comparison.
The data are available from github repository PC5AtmosphericExtinction for DESC-LSST.
These simulation can be used (by cloning git repository by example).
Python notebooks are available as example for reading the simulations.