Skip to content

Release v1.10

Choose a tag to compare

@chaunceygardiner chaunceygardiner released this 25 Jul 21:48

weewx-skyfield 1.10

This release fixes a startup failure on Skyfield 1.53 — the version Debian
trixie packages — that silently cost affected stations the whole Skyfield
almanac, and makes the Sky page footer report truthfully what computed the
page. Drop-in upgrade from any 1.x — install over it, no config changes.

What's fixed

  • The almanac now starts on Skyfield 1.53. On 1.53 the in-memory
    ephemeris kernel (the 1.6 SIGBUS guard) failed at startup with
    'InMemorySpiceKernel' object has no attribute 'codes' and the almanac
    declined to register. Reports then fell through to the built-in
    PyEphem/weeutil almanac — planets and rise/set times still looked right,
    but named stars, hip_* tags, Proxima Centauri, eclipses and
    constellations were gone, which was easy to misread as a star-catalog
    problem. The kernel now reuses Skyfield's own initialization verbatim
    over the in-memory ephemeris bytes, so it tracks any Skyfield release's
    internals exactly (verified against 1.53 and 1.54; 1.47 remains the
    minimum).

What's new

  • The Sky page footer is now a diagnostic. The full "Skyfield and the
    JPL DE421 ephemeris · IAU-CSN star names · Hipparcos star data Credit:
    ESA" credit was previously static text — it appeared even when the
    almanac had failed (as with the 1.53 bug above, where a user quoted it
    as evidence the star catalog had loaded). It is now generated from what
    actually computed the page: the full credit only when the Skyfield
    almanac is registered and its star catalog loaded; star catalog unavailable — see the weewxd log when stars are enabled but the catalog
    failed; star catalog disabled under stars = false; and when
    weewx-skyfield never registered at all, the footer credits the built-in
    almanac and points at the log.

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/) — if you
customized it, save a copy first.