+
Skip to content

Sun position azimuth less than 0 #171

Open
@Jakub-Plan-d-k

Description

@Jakub-Plan-d-k

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载