star-cem

Compute the position of the sun
git clone git://git.meso-star.com/star-cem.git
Log | Files | Refs | README | LICENSE

commit fe71ca556aa00327f7cbc59d231cbea87bcaf77b
parent e9784c4196d4822c686edc7093cd6a486ba4c0d2
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Mon,  8 Jun 2026 11:38:24 +0200

Fix zenith/elevation ambiguity on man page

The man page used to include: "The zenith angle is between [-90, 90]
degrees. It defines the elevation of the sun relative to the horizon.".
The angle that defines the elevation is usualy named elevation (with the
zenith angle being defined: zenith = 90 - elevation).

Diffstat:
Mdoc/scem.1 | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/scem.1 b/doc/scem.1 @@ -45,14 +45,14 @@ It is positive towards the north. .Pp On output, .Nm -displays the position of the sun in zenith and azimuth on the standard +displays the position of the sun in elevation and azimuth on the standard output. The message is formatted as follows: .Bd -literal -offset Ds -"%f %f\\n", zenith, azimuth +"%f %f\\n", elevation, azimuth .Ed .Pp -The zenith angle is between +The elevation angle is between .Bq -90, 90 degrees. It defines the elevation of the sun relative to the horizon.