|
NAMEsscalc —
calculate time of sunrise and sunset
SYNOPSIS
DESCRIPTIONsscalc calculates the time of sunrise and sunset for a
date and location and prints the results.
In order to calculate the sunrise and sunset, the
To set the longitude via the command line, use the
The program will also search the environment for the variables
By default, To restrict the output, use the EXAMPLESTo print the sunrise and sunset for Acapulco, Mexico on the first day of summer, you'd usesscalc -m 6 -d 21 -o 99.77 -a
16.75 BUGSThe calculations are an approximation and may be wrong by as much as two minutes.When calculating times for areas above the Arctic or below the Antarctic Circles, the program will report the times for the nearest (chronologically) sunrise and sunset. The year reported will be incorrect sometimes, but the day of year will be correct. Sunrise and sunset times are calculated internally to GMT, and displayed in the local timezone. If the coordinates given don't match the current timezone setting, expect results that are off by a number of hours. FILESIncluded with thesscalc program is the
cities.txt file, which has the latitude and longitude
for a whole lot of cities around the world. This file will normally be
installed in /usr/local/share/doc/sscalc/cities.txt.
AUTHORKeith Walker ⟨kew@icehouse.net⟩ did the port of a web page that at the time of this writing was http://www.srrb.noaa.gov/highlights/sunrise/gen.html. This ported code was released with the permission of the author of the original code, Chris Cornwall.
Visit the GSP FreeBSD Man Page Interface. |