sunposition
Sun position, or the sun’s position, is the apparent location of the Sun in the sky as seen from a given place at a specific time. It is commonly described in horizontal coordinates—azimuth (direction along the horizon) and elevation or altitude (angle above the horizon)—or in celestial coordinates such as right ascension and declination. The observed sun position changes daily due to the tilt of the Earth's axis and its orbit, and it also depends on the observer’s latitude and longitude.
Key quantities used in calculating sun position include the solar declination δ, the local latitude φ, and the
Practical calculations use solar position algorithms or ephemerides, accounting for atmospheric refraction and observer altitude. NOAA