--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/a53e2518-b5b7-486f-b9f5-2b975dc30b1en%40googlegroups.com.
#from weewx.units import ValueTuple, ValueHelper
<!DOCTYPE html>
<html lang="$lang">
<head>
<meta charset="UTF-8" />
<title>genVisibleTimespans() example</title>
<meta name="description" content="an example how to use this function" />
<style>
td, th { padding-left:5px; padding-right:5px; }
</style>
</head>
<body>
<h1>$gettext("Moon rise and set of the current month")</h1>
<table>
<tr>
<th>$gettext('Rise')</th>
<th>$gettext('Set')</th>
</tr>
#for $timespan in $almanac.moon.genVisibleTimespans(context='month')
#set $rise_vh = $ValueHelper(ValueTuple($timespan[0],'unix_epoch','group_time'),context='month',formatter=$station.formatter)
#set $set_vh = $ValueHelper(ValueTuple($timespan[1],'unix_epoch','group_time'),context='month',formatter=$station.formatter)
<tr>
<td>$rise_vh</td>
<td>$set_vh</td>
</tr>
#end for
</table>
</body>
</html>
On 11 Jan 2026, at 14:22, Karen K <kk44...@gmail.com> wrote:
Another thought: In case you use weewx-GTS you need the last version of it together with the Skyfield almanac, otherwise this extension can slow down report generation a lot.
--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/xOZIS--A6Jk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/df7560c1-3445-4980-929f-ec43e44b668cn%40googlegroups.com.