Skip to content

Release v1.14

Choose a tag to compare

@chaunceygardiner chaunceygardiner released this 29 Jul 18:42

weewx-skyfield 1.14

A fix and a translation release: on stations with a report-wide
duration unit preference, every duration on the Sky page rendered as
0h 00m — now fixed. A complete French translation of the Sky page
ships (Beta, awaiting native-speaker review — corrections and reviewers
very welcome), and the German translation, its review now complete,
drops its Beta label. Drop-in upgrade from any 1.x — install over it,
no config changes; an English or German page looks exactly as before.

What's fixed

  • Durations rendered as 0h 00m under a unit-group preference. If a
    report's [Units] [[Groups]] set a duration preference (e.g. a
    station-wide group_deltatime = hour, a customization some popular
    skins suggest), the Daylight line, the almanac table's Up for
    column and the timeline tooltips all showed 0h 00m (reported from
    the field — thank you). A WeeWX ValueHelper converts to the report's
    preferred units when it is built, so its raw value honors those
    preferences; the panels' arithmetic assumed seconds. The page now
    pins the unit at every raw read (durations to seconds, times to unix
    epoch — closing the same latent hazard for stations preferring
    unix_epoch_ms), so the panels render identically whatever the
    report's unit preferences. Formatted times already honored them and
    are unchanged, and skins embedding the panels get the fix for free.

  • Test suite on older PyEphem. The moon's magnitude-parity test now
    skips on PyEphem before 4.2 (e.g. Debian bookworm's python3-ephem
    4.1.x), whose cruder lunar magnitude model failed the comparison; the
    moon's own regression value stays pinned independently of PyEphem.

What's new

  • French ships (Beta). lang/fr.conf is a complete translation:
    the page prose, every panel string, the body names and all 88
    constellation names, which follow the French Wikipedia's
    Liste des constellations
    (the IAU standardizes only the Latin names). The moon phases and
    compass points are as in WeeWX's own French lang file, so a French
    station reads consistently across skins. One line turns it on:

    [StdReport]
        [[SkyfieldReport]]
            lang = fr
    

    Beta until a native speaker has reviewed it — the file notes the
    judgment calls a reviewer may weigh, and corrections are very welcome
    as issues or pull requests. Tests keep the French complete the same
    way they keep the German: new strings cannot ship untranslated.

  • German is out of Beta. The native-speaker review is complete and
    confirmed the translation as shipped, including the constellation
    names; the alternatives noted in de.conf stay as notes for future
    contributors.

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).