This Demonstration illustrates the basic principle behind the practice of celestial navigation. Using a sextant, the navigator measures the altitudes of two celestial bodies. The altitude is the angle of a body above the horizon. The bodies may be the Sun, Moon, planets, or stars. The navigator knows the date and time at the Greenwich meridian. Looking up data published in nautical or air almanacs, the navigator finds the geographical coordinates of the substellar points of the two bodies at the time of measurement. In this Demonstration, the longitudinal coordinate is denoted GHA, which is the abbreviation used in almanacs for Greenwich hour angle. The latitudinal coordinate is denoted declination, also as used in the almanacs. Given altitude, GHA, and declination for the bodies, it is possible to calculate the navigator's position at (or near) the Earth's surface. In general, two positions satisfy the observed and published data. The navigator can decide which position to choose, taking into account the past history of the voyage.
 Contributed by: Hans Milton
The substellar point of a celestial body is the point on the surface of the Earth where a line drawn from the body to the center of the Earth penetrates the Earth's surface. Rephrased, it is the position on Earth where the body in question is directly overhead. Nautical almanacs are regularly published in print and online. They tabulate the substellar points for celestial bodies, as they change with date and time of day. In general, the longitudinal coordinate in the almanacs is given in Greenwich hour angle, GHA, measured in degrees west of Greenwich, in the range from 0 to 360. This is in contrast to the common map longitude measurement that is in the range 180° west to 180° east, with 0° at the Greenwich meridian. For a star, the longitudinal coordinate might be expressed in sidereal hour angle, SHA. The corresponding GHA is found by adding the star's SHA to the GHA of the first point in Aries. The latitudinal coordinate is the same in the almanacs as on the map; it is measured in the range from 90° south to 90° north. The most common notation for angles in the almanacs is in degrees with decimal arc minutes. In the Demonstration, this notation is selected by the radio button DMm. Two other notations for angles can also be selected: DMS gives degrees/minutes/seconds, and Dec gives decimal degrees. For an insight into the actual practical methods of aerial celestial navigation as it was done in the middle of the last century, see [4]. [4] W. Hadel, Celestial Navigation: A Problem Manual, 1st. ed, New York: McGraw Hill, 1944.
