Skip to content

v0.9.0 — offline CHS models, no committed CHS data

Choose a tag to compare

@clarkbw clarkbw released this 23 Jul 00:43
· 24 commits to main since this release

Offline Canadian (CHS) current prediction — built locally

The plugin now ships with no Canadian station data. CHS current gates load automatically from the shared @sailingnaturali/station-corrections registry by name, and each gate's live station id is resolved from the CHS IWLS index at runtime — so nothing CHS-copyrighted is bundled with the plugin.

New: build offline CHS models

A "Build offline CHS models" webapp (SignalK → Webapps → Currents) fits harmonic constituents for every CHS current station on your own machine, under your own CHS licence, giving offline Canadian current prediction where CHS gates were previously online-only. Built models stay on your server — Crown copyright, not redistributable, not for navigation.

US (NOAA) offline fallback is unchanged: public-domain constituents remain bundled.

Safety

Constricted gates (rapids, narrows, passes) are tagged unreliableForTransit whenever served from an offline harmonic model — don't time a rapids transit on a harmonic-only reading. Only open straits (Juan de Fuca East, Johnstone Strait Central) are exempt.

New config

  • chsGates (default on) — turn off to skip the CHS registry gates and the IWLS lookup entirely if you cruise outside BC.

Notes

  • CHS live-id resolution needs a network connection on start; offline, CHS gates serve the locally-built harmonic model if you've built one.
  • No breaking config changes — an existing stations list still works and overrides registry gates by id.