Skip to content

Calculate the position (azimuth and elevation) of the sun depending on the position on earth and the date

License

Notifications You must be signed in to change notification settings

clauskovacs/solar-trajectories

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

solar-trajectories

Calculate the position (azimuth and elevation) of the sun depending on the position on earth and the date.

Description

This program uses the astronomical algorithms by Jean Meeus to calculate the position of the sun [1]. This is done via the function calculate_sun_position(...) which returns the elevation and azimuth of the sun depending on the latitude, longitude, hours, minutes, seconds, day, month, year and timezone. The nine latter mentioned variables represent the input variables of the function, i.e., they define the position of the observer in space and time on earth for which the sun position should be determined.

Additional Information

Additional information can be found at http:https://phys.ik.cx/programming/cpp/solar_elevation/index.php.

The algorithm in action is visualised through a video at https://www.youtube.com/watch?v=9oRLf2-qdus.

References

[1] https://gml.noaa.gov/grad/solcalc/calcdetails.html

About

Calculate the position (azimuth and elevation) of the sun depending on the position on earth and the date

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages