Relese v1.17
weewx-skyfield 1.17
Two things in this release: a complete Danish translation of the Sky
page, contributed by native speaker Gert Andersen, and dates that
follow the report's language: "2. aug" on a
Danish or German page where every language used to get the English
"Aug 2". Drop-in upgrade from any 1.x — install over it, no config
changes; an English page looks exactly as before.
What's new
-
Danish ships.
lang/da.confis a complete translation,
contributed by native speaker Gert Andersen: the page prose, every
panel string, the body names, the moon phases, the compass points
(east is Ø, west V, SSW is SSV) and all 88 constellation names. One
line turns it on:[StdReport] [[SkyfieldReport]] lang = daTests keep the Danish complete the same way they keep the German,
French, Dutch and Spanish: new strings cannot ship untranslated.And single-column, as a tablet or phone sees it:
-
Dates follow the language. The page's three date formats — the
header date, the countdown chips, the panel tooltip dates — were
fixed in the code in the English month-day style; no setting could
reorder them. They are now translatable[Texts]keys, so every
shipped language gets its own order out of the box: "2. aug" for
Danish and German, "2 aug" for French, Dutch and Spanish, and the
English unchanged. The month and weekday names follow the
report's locale, WeeWX-standard: setlangto a full installed
locale — e.g.lang = da_DK.UTF-8, which still loadsda.conf—
and the names render in the report's language too (on Debian-family
systems, enable the locale first with
sudo dpkg-reconfigure locales). The manual's
Translations page
has the details. -
Known Skyfield Issues — a new README section and
manual page
covering the rare, benignRuntimeWarningfrom Skyfield's
almanac.pyline 339 (upstream
skyfield #1114;
this extension's author diagnosed the root cause and contributed a
proposed fix upstream). weewx-skyfield already discards the affected
event, so reports render complete and no user action is needed.
Requirements
- Python 3.9 or later
- WeeWX 5.2 or later
- Skyfield (1.47 or later) and NumPy in WeeWX's Python environment (see the
README); PyEphem is NOT required
Installing/upgrading
Download weewx-skyfield.zip from this release, then:
weectl extension install weewx-skyfield.zip
Restart WeeWX. No weewx.conf changes are needed when upgrading from
1.x. Note that upgrading replaces the bundled skin (skins/Skyfield/,
including its lang/ files) — if you have edited an installed lang file
(trying out corrections, say), save a copy or send the corrections
upstream first; local additions such as extra star names survive
upgrades best as [[[Almanac]]] entries in weewx.conf (see the
manual).

