You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
in the documentation it is stated that sunPosition.azimuth is an angle in radians calculated from south to west.
Therefore I assumed the values should be between 0 and 2*PI, however this is apparently not the case. How should I interpret this angle then?
Steps to reproduce: run sunPosition with arguments:
date: Date Wed Jun 21 2023 11:09:23 GMT+0200 (Central European Summer Time)
latitude: 50.121110169781446
longitude: 8.768237964680083
Observe that azimuth is less than 0:
sunPosition.azimuth -1.0092469987441774
For the record, the sun is around south-east in real world for those parameters I posted.
The text was updated successfully, but these errors were encountered:
I'm having similar issues with the moon's azimuth from Europe: This month (June 2024), the moon sets in the west, but it azimuth values are far too low for that.
Concerning the sun, it's the same, it sets in the West but the azimuth is too low for that.
Edit: Wait... (thank you for quoting the docs, I did not see) "south to west"? That means I need to add 180° to the Azimuth.. and now it is not far from I what I expect anymore!
Hello,
in the documentation it is stated that sunPosition.azimuth is an angle in radians calculated from south to west.
Therefore I assumed the values should be between 0 and 2*PI, however this is apparently not the case. How should I interpret this angle then?
Steps to reproduce: run sunPosition with arguments:
date: Date Wed Jun 21 2023 11:09:23 GMT+0200 (Central European Summer Time)
latitude: 50.121110169781446
longitude: 8.768237964680083
Observe that azimuth is less than 0:
sunPosition.azimuth -1.0092469987441774
For the record, the sun is around south-east in real world for those parameters I posted.
The text was updated successfully, but these errors were encountered: