NAME

sun - calculates solar position

SYNOPSIS

sun [rise=] [set=] [noelev] [iso=] [debug] [nodut] [verbose] [mode=geocentric | astrometric | topocentric |observed] [high]

DESCRIPTION

This program calculates the current position of the sun using the IAU SOFA function iauEpv00.

The output contains a coordinate string like:

ra=01:28:45.19 dec=09:17:49.53 equinox=2000.000 epoch=2020.283 name=sun mode=astrometric dist=1.003 alt=29.8
if (verbose) the following is added
	vacuum=1353 direct=823 power=443
Where:
alt is the altitude in degrees
dist is the distance in Astronomical Units.
vacuum is the solar constant above the Earth.
direct is the power perpendicular to rays without scattering.
power is the power to horizontal surface with scattering.

OPTIONS

iso= calculates the solar position for the specified ISO time.

rise=# - calculates the next ISO date when the sun's altitude rises to # degrees above the horizon.

set=# - calculates next ISO date when the sun's altitude is # degrees above the horizon as it is setting.

help - displays options.

nodut - disable DUT (delta UT) correction.

high - prints out more digits.

verbose - prints out altitude and stuff about the radiation.

noelev - disables the correction of the time of setting for the effects of refraction, the fact that the sun has finite diameter and for the elevation of the observatory (taken from the telescope server).


Program index