Skip to content

Release v7.5

Choose a tag to compare

@chaunceygardiner chaunceygardiner released this 30 Jul 20:10

weewx-celestial 7.5

A complete Dutch translation of the sample skin ships (Beta, awaiting
native-speaker review — corrections and reviewers very welcome), and the
migration utility now emits pinned-unit almanac fields. Drop-in upgrade
from 7.x — install over it, no config changes, no loop-data field
changes, and nothing to re-run if you already migrated; an English,
German or French page looks exactly as before. Released alongside
weewx-skyfield 1.15, which adds Dutch to the Sky page, and
weewx-loopdata 6.6, which documents the unit segment the pinned
spellings use.

What's new

  • Dutch ships (Beta). lang/nl.conf is a complete translation
    whose shared vocabulary — body names, moon phases, compass points and
    all 88 constellation names — is copied verbatim from weewx-skyfield's
    Dutch, and a test keeps the extensions in step (as it does for the
    German and French). Because the live loop-data values follow the
    language of loopdata's target report, one line switches the whole
    page, labels and live values alike:

    [StdReport]
        [[CelestialReport]]
            lang = nl
    

    Beta until a native speaker has reviewed it; corrections are very
    welcome as issues or pull requests.

    The Celestial page in Dutch

  • --migrate-loopdata-fields pins units. Raw times and durations
    now migrate to pinned-unit almanac entries —
    almanac.sunrise.unix_epoch.raw, almanac.sun.visible.second.raw,
    and so on — so they keep the old celestial loop fields' fixed
    meanings (epoch seconds, seconds of daylight) no matter how
    loopdata's target report units are set. An unpinned almanac .raw
    follows the target report's converter, so a report carrying [Units]
    [[Groups]] overrides (e.g. group_deltatime = hour) would silently
    change a migrated field's meaning. The pinned entries evaluate on
    every loopdata ≥ 5.0. If you migrated with an earlier version and
    your target report has no unit-group overrides, your fields are
    correct as they stand; if it does have overrides, adopt the pinned
    spellings.

Requirements

  • Python 3.9 or later
  • WeeWX 5.2 or later
  • weewx-loopdata
    5.0 or later
  • weewx-skyfield
    strongly recommended (required for Proxima Centauri), or PyEphem

Installing/upgrading

Download weewx-celestial.zip from this release, then install right over
the existing 7.x:

weectl extension install weewx-celestial.zip

Restart WeeWX. No weewx.conf changes are needed when upgrading from 7.x.
(Upgrading from 6.x or earlier follows the README's upgrade instructions —
those paths do need the uninstall step, and from 5.x the migration
utility.)