# Horizontal coordinate system

﻿
Horizontal coordinate system

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 cannot (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:
* altitude (Alt), sometimes referred to as elevation, that is the angle between the object and the observer's local horizon.
* azimuth (Az), that is the angle of the object around the horizon, usually measured from the north point towards the east. In former times, it was common to refer to azimuth from the south, as it was then zero at the same time the hour angle of a star was zero. This assumes, however, that the star (upper) culminates in the south, which is only true for most stars in the Northern Hemisphere.

The horizontal coordinate system is sometimes also called the az/el [http://www2.keck.hawaii.edu/inst/KSDs/40/html/ksd40-55.4.html] or Alt/Az coordinate system.

General observations

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 on the horizon, if at that moment its altitude is increasing, it is rising, if its altitude is decreasing it is setting. However all objects on the celestial sphere are subject to the diurnal motion, which is always from east to west, so the inherent cumbersome determination whether altitude is increasing or decreasing can be easily found by considering the azimuth of the celestial object instead (referenced to North as 0°):
*if the azimuth is between 0° and 180° (north—east—south), it is rising.
*if the azimuth is between 180° and 360° (south—west—north), it is setting.There are the following special cases:
*At the north pole all directions are south, and at the south pole all directions are north, so the azimuth is undefined in both locations. A star (or any object with fixed equatorial coordinates) has constant altitude, and therefore never rises or sets when viewed from either pole. The Sun, Moon, and planets can rise or set over the span of a year when viewed from the poles because their right ascensions and declinations are constantly changing.
*At the equator objects on the celestial poles stay at fixed points on the horizon.

Note that the above considerations are strictly speaking true for the "geometric horizon" only: the horizon as it would appear for an observer on sea level on a perfect smooth Earth without atmosphere. In practice the "apparent horizon", which you see, has a negative altitude, which absolute value gets larger when you come higher, due to the curvature of the Earth. In addition the atmospheric refraction adds another 0.5° to that value.

Transformation of coordinates

It is possible to convert from the equatorial coordinate system to the horizontal coordinate system and back, once the observer's geographic latitude $phi$ is known (+90° on the north pole, 0° on the equator, -90° on the south pole).

We will use $A$ for the azimuth, $a$ for the altitude.

We will use $delta$ for the declination, $H$ for the hour angle expressed in degrees (If in hours, it needs to be multiplied by 15).

equatorial to horizontal

$sin a = sin phi cdot sin delta + cos phi cdot cos delta cdot cos H$

$cos A cdot cos a = cos phi cdot sin delta - sin phi cdot cos delta cdot cos H$

$sin A cdot cos a = - cos delta cdot sin H$

One may be tempted to 'simplify' the last two equations by dividing out the $cos a$ leaving one expression in $an A$ only. But the tangent cannot distinguish between (for example) an azimuth of 45° and 225°. These two values are very different: they are opposite directions, NE and SW respectively. One can do this only when the quadrant in which the azimuth lies is already known.

If the calculation is done with an electronic pocket calculator, it is best not to use the functions "arcsin" and "arccos" when possible, because of their limited 180° only range, and also because of the low accuracy the former gets around ±90° and the latter around 0° and 180°. Most scientific calculators have a "rectangular to polar" (R&rarr;P) and "polar to rectangular" (P&rarr;R) function, which avoids that problem and gives us an extra sanity check as well.

The algorithm then becomes as follows.
*Calculate the terms right of the = sign of the 3 equations given above
*Apply a R&rarr;P conversion taking the $cos A cdot cos a$ as the X value and the $sin A cdot cos a$ as the Y value
*The angle part of the answer is the azimuth, an angle over the full range of 0° to 360° (or -180° to +180° etc)
*Apply a second R&rarr;P conversion taking the radius part of the last answer as the X and the $sin a$ of the first equation as the Y value
*The angle part of the answer is the altitude, an angle between -90° and +90°

horizontal to equatorial

$sin delta = sin phi cdot sin a + cos phi cdot cos a cdot cos A$

$cos delta cdot cos H = cos phi cdot sin a - sin phi cdot cos a cdot cos A$

$cos delta cdot sin H = - sin A cdot cos a$

The same quadrant considerations from the first set of formulas also hold for this set.

The position of the Sun

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:
* the date of the year and the time of the day
* the observer's latitude, longitude and time zone

You have to compute:

* The Sun declination of the corresponding day of the year, which is given by the following formula:$delta = -23.45^circ cdot cos left \left( frac\left\{360^circ\right\}\left\{365\right\} cdot left \left( N + 10 ight \right) ight \right)$

where $N$ is the number of days spent since January 1.

* The true hour angle that is the angle which the earth should rotate to take the observer's location directly under the sun.
** Let "hh":"mm" be the time the observer reads on the clock.
** Merge the hours and the minutes in one variable $T$ = "hh" + "mm"/60 measured in hours.
** "hh":"mm" is the official time of the time zone, but it is different from the true local time of the observer's location. $T$ has to be corrected adding the quantity + (Longitude/15 - Time Zone), which is measured in hours and represents the difference of time between the true local time of the observer's location and the official time of the time zone.
** If it is summer and Daylight Saving Time is used, you have to subtract one hour in order to get Standard Time.
** The value of the Equation of Time in that day has to be added. Since $T$ is measured in hours, the Equation of Time must be divided by 60 before being added.
** The hour angle can be now computed. In fact the angle which the earth should rotate to take the observer's location directly under the sun is given by the following expression: $H$ = (12 - $T$) * 15. Since $T$ is measured in hours and the speed of rotation of the earth 15 degrees per hour, $H$ is measured in degrees. If you need $H$ measured in radians you just have to multiply by the factor 2π/360.

* Use the Transformation of Coordinates to compute the apparent position of the Sun in horizontal coordinates.

Wikimedia Foundation. 2010.

### Look at other dictionaries:

• coordinate system — Math. any method that uses numbers to represent a point, line, or the like. * * * Arrangement of reference lines or curves used to identify the location of points in space. In two dimensions, the most common system is the Cartesian (after René… …   Universalium

• Celestial coordinate system — For other uses of Celestial , see Celestial (disambiguation). Orientation of Astronomical Coordinates Orientation of the galactic, ecliptic and equatorial coordinate systems, projected on the celestial sphere, showing the galactic equator (black) …   Wikipedia

• Galactic coordinate system — Artist s depiction of the Milky Way galaxy, showing the galactic longitude relative to the sun. The galactic coordinate system (GCS) is a celestial coordinate system which is centered on the Sun and is aligned with the apparent center of the… …   Wikipedia

• Cartesian coordinate system — Illustration of a Cartesian coordinate plane. Four points are marked and labeled with their coordinates: (2, 3) in green, (−3, 1) in red, (−1.5, −2.5) in blue, and the origin (0, 0) in purple. A Cartesian coordinate system specifies each point… …   Wikipedia

• Cylindrical coordinate system — A cylindrical coordinate system with origin O, polar axis A, and longitudinal axis L. The dot is the point with radial distance ρ = 4, angular coordinate φ = 130°, and height z = 4. A cylindrical coordinate system is …   Wikipedia

• Polar coordinate system — Points in the polar coordinate system with pole O and polar axis L. In green, the point with radial coordinate 3 and angular coordinate 60 …   Wikipedia

• Geographic coordinate system — Map of Earth showing lines of latitude (horizontally) and longitude (vertically), Eckert VI projection; large version (pdf, 3.12MB) …   Wikipedia

• Horizontal — may refer to:*Horizontal plane, in astronomy, geography, geometry and other sciences and contexts *Horizontal coordinate system, in astronomy *Horizontalism, in sociology *Horizontal market, in microeconomics * Horizontal (album), a 1968 album by …   Wikipedia

• Coordinate-measuring machine — A coordinate measuring machine (CMM) is a device for measuring the physical geometrical characteristics of an object. This machine may be manually controlled by an operator or it may be computer controlled. Measurements are defined by a probe… …   Wikipedia

• Astronomical coordinate systems — are coordinate systems used in astronomy to describe the location of objects in the sky and in the universe. The most commonly occurring such systems are coordinate systems on the celestial sphere, but extragalactic coordinates systems are also… …   Wikipedia