From d49a9f8787b464610a50a9c5293d1ca335039d96 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 23 Jun 2016 20:06:25 +0200 Subject: Update solar.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/plugins/solar.py | 16 ++++++++++++++-- 1 file 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 -- cgit v1.2.3-70-g09d2