Moonrise

delphimoon

Moon Rise and Set

Algorithms

Top  Previous  Next

 

Calculates the moon rise, set and transit times.

 

procedure Moon_Rise(date:TDateTime; latitude, longitite:extended): TDateTime;

procedure Moon_Set(date:TDateTime; latitude, longitude:extended): TDateTime;

procedure Moon_Transit(date:TDateTime; latitude, longitude:extended): TDateTime;

 

Description

Calculates the times of the moon rise, set and transit on the given date and location. The transit time is the time of the highest elevation during the day. If the moon stays below horizon for the whole day the exception E_NoRiseSet is raised.

 

The observer's latitude is negative for the southern hemisphere and positive for the northern hemisphere; the longitude is positive for points west of Greenwich, negative for points east, and both are given in degrees.

 

Reference

These functions are based upon chapter 15 (14) of "Astronomical Algorithms".