Moon Calendar

v1.1.0
uk.co.mooncalendar/mooncalendar-co-uk Checked 4 days ago Published 29 days ago

Moon phases, full and new Moon dates, UK moonrise, eclipses, dark skies, tides and Moon sign.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_moon Moon on a date

Returns the Moon's phase, percent lit, lunar age, distance from Earth and waxing or waning direction right now, at 12:00 UK time on a date, or at a UK clock time on a date. Also returns whether it is a full Moon, the next full and new Moon, and at a UK place that date's moonrise, highest point and moonset, the Moon's height and compass bearing, and whether it is above the horizon after dark. Times are UK time, GMT or BST.

ParameterTypeDescription
datestringUK calendar date as YYYY-MM-DD, from 1900 to 2100. Without it and without a time, or with today's date alone, the result describes the Moon right now; any other date alone gives the Moon at 12:00 UK t…
placestringOne of 24 UK places for moonrise, highest point, moonset, height and visibility, such as London, Edinburgh, Cardiff, Belfast, Leeds or Lerwick. London without it.
timestringUK clock time as HH:MM on a 24-hour clock. The result describes the Moon at that time on the date, or on today's date without one.

find_moon_events Moon phase dates

Returns the dates and UK times of upcoming full, new, first quarter and last quarter Moons, with each full Moon's traditional name, its distance, and supermoon, blue Moon, micromoon and black Moon flags. Special Moons can be listed on their own.

ParameterTypeDescription
countintegerMaximum number of events, from 1 to 24. 6 without it.
fromstringFirst UK date to include, as YYYY-MM-DD. Without it the list starts right now.
phasestringPhase to list: full, new, first-quarter, last-quarter, or any for all four in date order. Any without it.
specialstringLists only supermoons, blue Moons, micromoons (full Moons) or black Moons (the second new Moon of a month), so it fixes the phase. None, ordinary phases, without it.
tostringLast UK date to include, as YYYY-MM-DD. Without it the list covers about two years from the start, or up to 2100 for a special Moon.

get_moon_calendar Moon calendar for a month

Returns every day of one UK calendar month with its Moon phase and percent lit at 12:00 UK time, plus the exact UK times of that month's new, first quarter, full and last quarter Moons.

ParameterTypeDescription
monthintegerCalendar month from 1 to 12. The current UK month without it.
yearintegerCalendar year from 1900 to 2100. The current UK year without it.

list_eclipses Eclipses seen from the UK

Returns upcoming solar and lunar eclipses in date order with the UK peak time, the kind of eclipse and what the UK sees of it, including London contact times, coverage or totality where the Sun or Moon is above the horizon. With a place, each eclipse also shows that place's start, maximum and end, the share of the Sun covered or the Moon's height.

ParameterTypeDescription
countintegerMaximum number of eclipses, from 1 to 10. 5 without it.
fromstringFirst UK date to include, as YYYY-MM-DD. Without it the list starts right now.
placestringOne of 24 UK places. Each eclipse then shows what that place sees, such as London, Edinburgh, Cardiff, Belfast, Leeds or Lerwick.
typestringSolar, lunar, or any for both. Any without it.
visibleFromUkbooleanTrue lists only eclipses that at least one UK place can see; false adds eclipses seen elsewhere. True without it.

plan_dark_skies Dark-sky and Moon photography nights

Returns the nights of one UK month with a dark-sky window, when the Sun is more than 18° below the horizon and the Moon is down, at one of 24 UK places, with each night's window times, hours and Moon phase. For photography it returns each night's Moon window, when the Moon is at least 5° up while the Sun is more than 6° below the horizon. Times are UK time, GMT or BST.

ParameterTypeDescription
monthstringUK calendar month as YYYY-MM, from 1900-01 to 2100-12. The current UK month without it.
placestringOne of 24 UK places, such as London, Edinburgh, Cardiff, Belfast, Leeds or Lerwick. London without it.
purposestringDark lists nights with a moonless dark-sky window; photo lists nights with a Moon photography window. Dark without it.

get_tides Spring and neap tide dates

Returns the dates and UK times of spring tides (new and full Moons) and neap tides (first and last quarter Moons) from the Moon's phases, in date order, with the next spring tide and next neap tide first and perigean spring tides flagged. These are tide dates, not times or heights for a port.

ParameterTypeDescription
countintegerMaximum number of tide dates, from 1 to 24. 8 without it.
fromstringFirst UK date to include, as YYYY-MM-DD. Without it the list starts right now, or at the start of the year given.
yearintegerCalendar year from 1900 to 2100 whose tide dates are listed. Without it the list starts at from, or right now, and runs on into the next year.

get_moon_sign Moon sign

Returns the Moon's zodiac sign right now, on a UK date or at a UK date and time, tropical or Lahiri sidereal, with the degree into the sign, the next sign change and the website's one-line meaning of the sign. With a date alone it returns every sign the Moon is in that day.

ParameterTypeDescription
datestringUK calendar date as YYYY-MM-DD, from 1900 to 2100. Without a date and a time the result is the Moon's sign right now.
timestringUK clock time as HH:MM on a 24-hour clock. With a date it gives the exact sign at that time; without a date it is today.
zodiacstringTropical zodiac, which starts at the March equinox, or Lahiri sidereal. Tropical without it.

check_crescent_visibility New crescent Moon sighting

Returns the first three evenings after a new Moon with a crescent sighting verdict (likely, difficult or not visible) for each of 24 UK places, with sunset, moonset, Moon age, height and best viewing time. It covers the latest new Moon until its third evening is over, then the next one.

ParameterTypeDescription
datestringUK calendar date as YYYY-MM-DD, from 1900 to 2100, near a new Moon. The result is the window the website would show on that date. The current window without it.