Calculation of sun’s position in the sky for each location on the earth at any time of day. Azimuth, sunrise sunset noon, daylight and graphs of the solar path. Sunrise and sunset are defined as the instant when the upper limb of the Sun’s disk is just touching the horizon, this corresponds to an altitude of -0.833° degrees for the Sun.