pingswept / pysolar

Pysolar is a collection of Python libraries for simulating the irradiation of any point on earth by the sun. It includes code for extremely precise ephemeris calculations.
http://pysolar.org
GNU General Public License v3.0
372 stars 125 forks source link

Function request: Get radiation at top of atmosphere #150

Closed nicholas512 closed 2 years ago

nicholas512 commented 2 years ago

Currently, pysolar provides get_radiation_direct which, according to the docs, does some atmospheric corrections.

It does account for the scattering of light by the atmosphere, though it uses an atmospheric model based on data taken in the United States.:

There are certain applications that require the total shortwave radiation at the top of the atmosphere.

It would be nice to have a function that provides this

nicholas512 commented 2 years ago

Looking through the code more closely, I see that this is probably get_apparent_extraterrestrial_flux