Broham / suncalcPy

A python implementation of the SunCalc javascript library.
MIT License
41 stars 18 forks source link

Azimuth Error #9

Closed alihakimtaskiran closed 3 years ago

alihakimtaskiran commented 3 years ago

As I attempt get azimuth, the result is more different than SunCalc.org. Suncalc.org says 298.54° but suncalcPy says 2.0824 radians or 119.31° for intersection of Greenwich and Equator(0,0)

alihakimtaskiran commented 3 years ago

It was based on the reference frame. SunCalcPy uses south as reference. But SunCalc.org uses north as reference. As you can see difference between SunCalcPy and SunCalc.org is nearly 180 degrees. This implies reference frames oriented opposit image