diff --git a/documentation/almanac.rst b/documentation/almanac.rst index eec11c04..bc476152 100644 --- a/documentation/almanac.rst +++ b/documentation/almanac.rst @@ -463,7 +463,8 @@ The result ``t`` will be an array of times, and ``y`` will be ``0`` through ``3`` for the Vernal Equinox through the Winter Solstice. If you or some of your users live in the Southern Hemisphere, -you can use the ``SEASON_EVENTS_NEUTRAL`` array. +you can use the ``SEASON_EVENTS_SOUTH`` array. +Alternatively you can use the ``SEASON_EVENTS_NEUTRAL`` array. Instead of naming specific seasons, it names the equinoxes and solstices by the month in which they occur — so the ``March Equinox``, for example, is followed by the ``June Solstice``. diff --git a/skyfield/almanac.py b/skyfield/almanac.py index f7fe5959..5e1f7d1e 100644 --- a/skyfield/almanac.py +++ b/skyfield/almanac.py @@ -48,6 +48,13 @@ def fraction_illuminated(ephemeris, body, t): 'Winter', ] +SEASONS_SOUTH = [ + 'Autumn', + 'Winter', + 'Spring', + 'Summer', +] + SEASON_EVENTS = [ 'Vernal Equinox', 'Summer Solstice', @@ -55,6 +62,13 @@ def fraction_illuminated(ephemeris, body, t): 'Winter Solstice', ] +SEASON_EVENTS_SOUTH = [ + 'Autumnal Equinox', + 'Winter Solstice', + 'Vernal Equinox', + 'Summer Solstice', +] + SEASON_EVENTS_NEUTRAL = [ 'March Equinox', 'June Solstice',