## Copyright 2009-2021 Tom Keffer ## Distributed under terms of GPLv3. See LICENSE.txt for your rights. #errorCatcher Echo #encoding UTF-8 ## ## Specifying an encoding of UTF-8 is usually safe: $station.location $gettext("Yearly Weather Summary") #if $station.station_url #end if ## If a Google Analytics GA4 code has been specified, include it. #if 'googleAnalyticsId' in $Extras #end if

$station.location

$gettext("Today's Almanac")

$current.dateTime

$almanac.sun.name
#set $sun_altitude = $almanac.sun.alt #if $sun_altitude < 0 #set $sun_None="(" + $gettext("Always down") + ")" #else #set $sun_None="(" + $gettext("Always up") + ")" #end if #if $almanac.next_equinox.raw < $almanac.next_solstice.raw ## The equinox is before the solstice. Display them in order. #else ## The solstice is before the equinox. Display them in order. #end if #if $almanac.next_aphelion.raw<$almanac.next_perihelion.raw #else #end if
$gettext("Start civil twilight"): $almanac(horizon=-6).sun(use_center=1).rise
$gettext("Sunrise"): $almanac.sun.rise.string($sun_None)
$gettext("Transit"): $almanac.sun.transit
$gettext("Sunset"): $almanac.sun.set.string($sun_None)
$gettext("End civil twilight"): $almanac(horizon=-6).sun(use_center=1).set
$gettext("Azimuth"): $("%.1f°" % $almanac.sun.az)
$pgettext("Astronomical", "Altitude"): $("%.1f°" % $sun_altitude)
$gettext("Right ascension"): $("%.1f°" % $almanac.sun.ra)
$gettext("Declination"): $("%.1f°" % $almanac.sun.dec)
$gettext("Equinox"): $almanac.next_equinox
$gettext("Solstice"): $almanac.next_solstice
$gettext("Solstice"): $almanac.next_solstice
$gettext("Equinox"): $almanac.next_equinox
$gettext("Aphelion") $almanac.next_aphelion
$gettext("Perihelion") $almanac.next_perihelion
$gettext("Perihelion") $almanac.next_perihelion
$gettext("Aphelion") $almanac.next_aphelion
$gettext("Equation of Time") #if $lang=='fr' #set $eot = $almanac.legacy_equation_of_time #else #set $eot = $almanac.equation_of_time #end if #if $eot.raw and $eot.raw>=0 +#slurp #else −#slurp #end if $eot.long_form("%(minute)d %(minute_label)s, %(second)d %(second_label)s")

 

$almanac.moon.name
#if $almanac.next_full_moon.raw < $almanac.next_new_moon.raw #else #end if #if $almanac.next_perigee_moon.raw<$almanac.next_apogee_moon.raw #else #end if
$gettext("Rise"): $almanac.moon.rise
$gettext("Transit"): $almanac.moon.transit
$gettext("Set"): $almanac.moon.set
$gettext("Azimuth"): $("%.1f°" % $almanac.moon.az)
$pgettext("Astronomical", "Altitude"): $("%.1f°" % $almanac.moon.alt)
$gettext("Right ascension"): $("%.1f°" % $almanac.moon.ra)
$gettext("Declination"): $("%.1f°" % $almanac.moon.dec)
$gettext("Full moon"): $almanac.next_full_moon
$gettext("New moon"): $almanac.next_new_moon
$gettext("New moon"): $almanac.next_new_moon
$gettext("Full moon"): $almanac.next_full_moon
$gettext("Perigee") $almanac.next_perigee_moon
$gettext("Apogee") $almanac.next_apogee_moon
$gettext("Apogee") $almanac.next_apogee_moon
$gettext("Perigee") $almanac.next_perigee_moon
$gettext("Phase"): $almanac.moon_phase
($almanac.moon_fullness% full)
$pgettext("Astronomical","Moon tilt") $almanac.moon.moon_tilt

$gettext("Almanac Plots")

$almanac.skymap $almanac.sun.year_diagram $almanac.eot_diagram $almanac.analemma $almanac.libration_diagram