# Copyright (c) 2026 Traduzione Italiana by Meteo Ponte San Nicoḷ (https://www.meteopontesannicolo.it). Tutti i diritti riservati.
#import weewx.almanac
## get a list of the names of the installed almanac extensions
#set $almanac_names = [$alm.__class__.__name__ for $alm in $weewx.almanac.almanacs]
## check if the Skyfield and Skymap almanac extension are available
#set global $skyfield_almanac_available = 'SkyfieldAlmanacType' in $almanac_names and $almanac.hasExtras
#set global $skymap_almanac_available = 'SkymapAlmanacType' in $almanac_names and $almanac.hasExtras
## If extended almanac information is available, do extra calculations.
#if $almanac.hasExtras
## Pick a "None string" on the basis of whether the sun is above or below the horizon
#set $sun_altitude = $almanac.sun.altitude
#if $sun_altitude.raw < 0
#set $sun_None='%s' % "Sempre giù"
#else
#set $sun_None='%s' % "Sempre su"
#end if
## For the change in daylight, pick a string to indicate whether it is more or
## less than yesterday:
#set $sun_visible_change = $almanac.sun.visible_change
#if $sun_visible_change.raw < 0
#set $change_str = "meno di ieri"
#else
#set $change_str = "più di ieri"
#end if
#end if
| Sole |
|
| Sorge: |
$almanac.sun.rise.format("%H:%M:%S") |
| Transita: |
$almanac.sun.transit.format("%H:%M:%S") |
| Tramonta: |
$almanac.sun.set.format("%H:%M:%S") |
| Inizio del crepuscolo: |
$almanac(horizon=-6).sun(use_center=1).rise.format("%H:%M:%S") |
| Fine del crepuscolo: |
$almanac(horizon=-6).sun(use_center=1).set.format("%H:%M:%S") |
| Azimuth: |
$almanac.sun.azimuth.format("%03.1f") $almanac.sun.azimuth.ordinal_compass |
| Elevazione: |
$sun_altitude.format("%.1f") |
| Ascensione retta: |
$almanac.sun.topo_ra.format("%03.1f") |
| Declinazione: |
$almanac.sun.topo_dec.format("%.1f") |
| Distanza: |
$almanac.sun.topo_dist.format("%.0f") |
#set $ecliptic = $almanac.sun.topo_ecliptic
| Longitudine eclittica: |
$ecliptic.longitude.format("%.1f") |
| Latitudine eclittica: |
$ecliptic.latitude.format("%.2f") |
| In costellazione: |
$almanac.sun.constellation |
| Prossimo afelio: |
$almanac.next_aphelion.format("%d/%m/%Y - %H:%M:%S") |
| Prossimo perielio: |
$almanac.next_perihelion.format("%d/%m/%Y - %H:%M:%S") |
| Durata del giorno: |
$almanac.sun.visible.long_form ($sun_visible_change.long_form $change_str) |
| Equazione del tempo: |
#set $eot = $almanac.equation_of_time
#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")
|
| Luna |
|
| Sorge: |
$almanac.moon.rise.format("%H:%M:%S") |
| Transita: |
$almanac.moon.transit.format("%H:%M:%S") |
| Tramonta: |
$almanac.moon.set.format("%H:%M:%S") |
| Azimuth: |
$almanac.moon.azimuth.format("%.1f") $almanac.moon.azimuth.ordinal_compass |
| Elevazione: |
$almanac.moon.altitude.format("%.1f") |
| Ascensione retta: |
$almanac.moon.topo_ra.format("%.1f") |
| Declinazione: |
$almanac.moon.topo_dec.format("%.1f") |
| Distanza: |
$almanac.moon.topo_dist.format("%.0f") |
#set $ecliptic = $almanac.moon.topo_ecliptic
| Longitudine eclittica: |
$ecliptic.longitude.format("%.1f") |
| Latitudine eclittica: |
$ecliptic.latitude.format("%.2f") |
| In costellazione: |
$almanac.moon.constellation |
| Prossima Luna nuova: |
$almanac.next_new_moon.format("%d/%m/%Y - %H:%M:%S") |
| Prossima Luna piena: |
$almanac.next_full_moon.format("%d/%m/%Y - %H:%M:%S") |
| Prossimo apogeo: |
$almanac.next_apogee_moon.format("%d/%m/%Y - %H:%M:%S") |
| Prossimo perigeo: |
$almanac.next_perigee_moon.format("%d/%m/%Y - %H:%M:%S") |
| Fase corrente: |
$almanac.moon_phase ($almanac.moon_fullness% piena) |
| Inclinazione lunare: |
$almanac.moon.moon_tilt |
| Venere |
|
| Sorge: |
$almanac.venus.rise.format("%H:%M:%S") |
| Transita: |
$almanac.venus.transit.format("%H:%M:%S") |
| Tramonta: |
$almanac.venus.set.format("%H:%M:%S") |
| Azimuth: |
$almanac.venus.azimuth.format("%03.1f") $almanac.venus.azimuth.ordinal_compass |
| Elevazione: |
$almanac.venus.altitude.format("%.1f") |
| Ascensione retta: |
>$almanac.venus.topo_ra.format("%03.1f") |
| Declinazione: |
$almanac.venus.topo_dec.format("%.1f") |
| Distanza: |
$almanac.venus.topo_dist.format("%.0f") |
| In costellazione: |
$almanac.venus.constellation |
| Fase corrente: |
$almanac.venus_phase |
| Marte |
|
| Sorge: |
$almanac.mars_barycenter.rise.format("%H:%M:%S") |
| Transita: |
$almanac.mars_barycenter.transit.format("%H:%M:%S") |
| Tramonta: |
$almanac.mars_barycenter.set.format("%H:%M:%S") |
| Azimuth: |
$almanac.mars_barycenter.azimuth.format("%03.1f") $almanac.mars_barycenter.azimuth.ordinal_compass |
| Elevazione: |
$almanac.mars_barycenter.altitude.format("%.1f") |
| Ascensione retta: |
>$almanac.mars_barycenter.topo_ra.format("%03.1f") |
| Declinazione: |
$almanac.mars_barycenter.topo_dec.format("%.1f") |
| Distanza: |
$almanac.mars_barycenter.topo_dist.format("%.0f") |
| In costellazione: |
$almanac.mars_barycenter.constellation |