This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Calculate the sunrise, sunset and noon time for a given coordinate. | |
Based on the code at: https://michelanders.blogspot.com/2010/12/calulating-sunrise-and-sunset-in-python.html | |
""" | |
from math import cos, sin, acos, asin, tan | |
from math import degrees as deg, radians as rad | |
from datetime import datetime, time, timezone, timedelta | |
class Sun: | |
""" |