diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/solar.py | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/plugins/solar.py b/src/plugins/solar.py index 74d6aee..845a347 100644 --- a/src/plugins/solar.py +++ b/src/plugins/solar.py @@ -50,6 +50,12 @@ class Solar: and astronomical dawn, measured in degrees ''' + SOLAR_ELEVATION_AMATEUR_ASTRONOMICAL_DUSK_DAWN = -15.0 + ''' + :float The Sun's elevation at amateur astronomical dusk + and amateur astronomical dawn, measured in degrees + ''' + SOLAR_ELEVATION_RANGE_TWILIGHT = (-18.0, 0.0) ''' :(float, float) The Sun's lowest and highest elevation during @@ -62,18 +68,24 @@ class Solar: during civil twilight, measured in degrees ''' - SOLAR_ELEVATION_RANGE_NAUTICAL_TWILIGHT = (-12.0, -6.0) + SOLAR_ELEVATION_RANGE_NAUTICAL_TWILIGHT = (-12.0, 0.0) ''' :(float, float) The Sun's lowest and highest elevation during nautical twilight, measured in degrees ''' - SOLAR_ELEVATION_RANGE_ASTRONOMICAL_TWILIGHT = (-18.0, -12.0) + SOLAR_ELEVATION_RANGE_ASTRONOMICAL_TWILIGHT = (-18.0, 0.0) ''' :(float, float) The Sun's lowest and highest elevation during astronomical twilight, measured in degrees ''' + SOLAR_ELEVATION_RANGE_AMATEUR_ASTRONOMICAL_TWILIGHT = (-15.0, -18.0) + ''' + :(float, float) The Sun's lowest and highest elevation during + amateur astronomical twilight, measured in degrees + ''' + EQUINOX = 0 SUMMER = 1 |