Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sun azimut / altitude as function of hour of day #168

Open
roestigraben opened this issue Apr 15, 2023 · 2 comments
Open

sun azimut / altitude as function of hour of day #168

roestigraben opened this issue Apr 15, 2023 · 2 comments

Comments

@roestigraben
Copy link

I need to get the azimut and altitude angles not only at sunrise sunset but as a function over time.

In the source code, I di not see this feature.

How would I derive it

@TheophileMot
Copy link

@roestigraben It sounds like you are looking for SunCalc.getPosition(timeAndDate, latitude, longitude), which returns an azimuth and altitude.

@roestigraben
Copy link
Author

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants