Python program to display and plot sunrise, sunset, length of day, and solar noon data.
Requires: Python (tested on 2.7 and 3.7) and matplotlib.
The necessary calculations are all contained in the sun_rise_set.py file.
There are a few ways to use this repository:
- Import sun_rise_set.py to create your own program.
- Use cmd_line_parser.py to generate console output for any location between the Arctic Circle and Antarctic Circle.
- Use sunrise_gui_cli.py to generate a plot for any location between the Arctic Circle and Antarctic Circle.
Here are some examples: