| |||||||||
The horizontal coordinate system is a celestial coordinate system that uses the observer's local horizon as the fundamental plane. This conveniently divides the sky into the upper hemisphere that you can see, and the lower hemisphere that you can't (because the Earth is in the way). The pole of the upper hemisphere is called the zenith. The pole of the lower hemisphere is called the nadir.
The horizontal coordinates are:
The horizontal coordinate system is sometimes also called the Alt/Az coordinate system.
The horizontal coordinate system is fixed to the Earth, not the stars. Therefore, the altitude and azimuth of an object changes with time, as the object appears to drift across the sky. In addition, because the horizontal system is defined by your local horizon, the same object viewed from different locations on Earth at the same time will have different values of altitude and azimuth.
Horizontal coordinates are very useful for determining the rise and set times of an object in the sky. When an object's altitude is 0°, it is either rising (if its azimuth is less than 180°) or setting (if its azimuth is greater than 180°).
It is possible to pass from the equatorial coordinate system to the horizontal coordinate system.
Let <math>\delta<math> be the declination, <math>H<math> the hour angle, <math>\phi<math> the observer's latitude.
The equations of the transformation are:
<math>\sin Alt = \sin \phi \cdot \sin \delta + \cos \phi \cdot \cos \delta \cdot \cos H<math>
<math>\cos Az = \frac{\cos \phi \cdot \sin \delta - \sin \phi \cdot \cos \delta \cdot \cos H}{\cos Alt}<math>
Use the inverse trigonometric functions to get the values of the coordinates.
There are several ways to compute the apparent position of the Sun in horizontal coordinates.
Complete and accurate algorithms to obtain precise values can be found in Jean Meeus's book Astronomical Algorithms.
Instead a simple approximate algorithm is the following:
Given:
You have to compute:
<math>\delta = -23.45^\circ \cdot \cos \left ( \frac{360}{365} \cdot \left ( N + 10 \right ) \right )<math>
where <math>N<math> is the number of days spent since January 1.
Here cos operates on degrees.
This article's initial version originated from 'Jason Harris' Astroinfo which comes along with KStars, a Desktop Planetarium for Linux/KDE. See http://edu.kde.org/kstars/index.phtml