## 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

$gettext('Sun')
#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"): $almanac.sun.azimuth.format('%.1f')
$pgettext("Astronomical", "Altitude"): $("%.1f°" % $sun_altitude)
$gettext("Right ascension"): $almanac.sun.topo_ra.format('%.1f')
$gettext("Declination"): $almanac.sun.topo_dec.format('%.1f')
$gettext("In constellation") $almanac.sun.constellation
$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")

 

$gettext('Moon')
#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"): $almanac.moon.azimuth.format('%.1f')
$pgettext("Astronomical", "Altitude"): $almanac.moon.altitude.format('%.1f')
$gettext("Right ascension"): $almanac.moon.topo_ra.format('%.1f')
$gettext("Declination"): $almanac.moon.topo_dec.format('%.1f')
$pgettext("Astronomical","Distance"): $almanac.moon.topo_dist
$gettext("In constellation") $almanac.moon.constellation
$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

 

$almanac.venus.name
$gettext("Rise"): $almanac.venus.rise
$gettext("Transit"): $almanac.venus.transit
$gettext("Set"): $almanac.venus.set
$gettext("Azimuth"): $almanac.venus.azimuth.format('%.1f')
$pgettext("Astronomical", "Altitude"): $almanac.venus.altitude.format('%.1f')
$gettext("Right ascension"): $almanac.venus.topo_ra.format('%.1f')
$gettext("Declination"): $almanac.venus.topo_dec.format('%.1f')
$pgettext("Astronomical","Distance"): $almanac.venus.topo_dist.gigameter
$gettext("In constellation") $almanac.venus.constellation
$gettext("Phase"): $almanac.venus_phase

 

$almanac.mars_barycenter.name
$gettext("Rise"): $almanac.mars_barycenter.rise
$gettext("Transit"): $almanac.mars_barycenter.transit
$gettext("Set"): $almanac.mars_barycenter.set
$gettext("Azimuth"): $almanac.mars_barycenter.azimuth.format('%.1f')
$pgettext("Astronomical", "Altitude"): $almanac.mars_barycenter.altitude.format('%.1f')
$gettext("Right ascension"): $almanac.mars_barycenter.topo_ra.format('%.1f')
$gettext("Declination"): $almanac.mars_barycenter.topo_dec.format('%.1f')
$pgettext("Astronomical","Distance"): $almanac.mars_barycenter.topo_dist.gigameter
$gettext("In constellation") $almanac.mars_barycenter.constellation

$gettext("Almanac Plots")

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