[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Waldhäuser Str. 64, D-72076 Tübingen, Germany
[Uni logo]


ZENPOS Source code in zenpos.pro

ZENPOS

Name
       ZENPOS
Purpose
       Return the zenith RA and Dec in radians for a given Julian date.
Calling Sequence
       ZENPOS, Date, Ra, Dec
Input Parameters
       Date  The Julian date, in double precision, of the date and time
               for which the zenith position is desired, scalar or vector.
Output Parameters
       Ra    The right ascension in RADIANS of the zenith.
       Dec   The declination in RADIANS of the zenith.
Procedure
       The local sidereal time is computed; this is the RA of the zenith.
       It and the observatories latitude (corresponding to the Dec.) are
       converted to radians and returned as the zenith direction.
Prompts
       ZENPOS will prompt for the following 3 parameters if they are not
       defined in the common block SITE (see below)
       LAT,LNG - north latitude and east longitude of the desired location
               in DEGREES
       TZONE - Time Zone (in hours) of the desired location (e.g. 4 = EDT,
               5 = EST)
Common Blocks
       SITE - This common block should contain the three scalars LAT, LNG
               and TZONE
Procedures Used
       CT2LST - Convert to Local Mean Sidereal Time
Revision History
       Written by Michael R. Greason, STX, 14 October 1988.
       Converted to IDL V5.0   W. Landsman   September 1997
       Update documentation, longitude now *east* of Greenwich W.L. July 2000

Last modified by pro2html on 2001 April 26 at 03:11 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically