Sunrise / Sunset | close window |
The times of sunrise and sunset are calculated as the times of morning and evening that the sun is apparently at the horizon. In the outputs section of SunAngle, sunrise and sunset times are given in clock time. The sun would normally appear to be exactly on the horizon when its altitude angle is zero degrees, except that the atmosphere refracts sunlight when it's low in the sky, and the observer's elevation relative to surrounding terrain also impacts the apparent time of sunrise and sunset. The difference between the time of apparent sunrise or sunset and the time when the sun's altitude angle is zero is usually on the order of several minutes, so it's necessary to correct for these factors in order to obtain an accurate result. The times of sunrise and sunset are calculated by computing the hour angle when the altitude angle is a certain value, then converting the hour angle to clock time. The value used for the altitude angle when the sun is apparently on the horizon is:
If we then take the altitude angle equation:
where:
and solve for the hour angle, setting Al equal to the equation above that corrects for refraction and elevation, we get:
Note that "cos-1" represents the inverse cosine function. The hour angle is converted to a number of minutes by multiplying the angle by 4 minutes per degree of hour angle, then that number of minutes is subtracted from 12:00 noon for the time of sunrise and added to 12:00 noon for the time of sunset, both in local solar time (LSoT). LSoT is then converted into clock time by performing the reverse of the calculations described on the time basis page. For U.S. cities, there are tables of sunrise and sunset times available from the U.S. Naval Observatory Astronomical Applications Department. |
||
close window |