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

Pass elevation to get_topocentric_position in get_altitude #157

Closed obsoletesystm closed 1 year ago

obsoletesystm commented 1 year ago

Referencing #154

Passing Elevation into get_topocentric_position in get_altitude.

Added the interface for get_position to solar.pyi to expose it.

luzpaz commented 1 year ago

CC @pingswept

pingswept commented 1 year ago

Thanks, @obsoletesystm and @luzpaz for the help, and thanks to @jhaskinsPhD for pointing the oversight in the first place in #154.

This fix will be in the next release.