Skip to content

v0.2.22

Choose a tag to compare

@kayhendriksen kayhendriksen released this 09 May 20:21
· 53 commits to main since this release
69aa933

v0.2.22

Features

  • stations() now returns Swiss LV95 coordinates alongside WGS84. New columns lv95_east and lv95_north (EPSG:2056) are added to the DataFrame returned by foehn.stations(dataset). The MCP Station model exposes the same fields. (#9)

Behavior changes (potentially breaking)

  • data_since is no longer reformatted: it is now kept in MeteoSwiss source format (DD.MM.YYYY) instead of being converted to YYYY-MM-DD. If you parse this column downstream, update your parser. (#9)

Fixes

  • Corrected MeteoSwiss collection metadata (#7):
    • Added missing yearly frequency (y) to several SMN, climate, and pollen collections (smn, smn_precip, smn_tower, obs, pollen, nbcn, nbcn_precip).
    • Removed unsupported time slices on collections that don't actually publish them.
    • Fixed file format for two collections that were tagged as GRIB2 but are actually HDF5.

Internal / refactor

  • Moved trusted-domain validation for STAC and download URLs into a shared foehn._urls helper (used by client, stac, and api).
  • Added a live pytest marker (default deselected) for opt-in tests that hit the live MeteoSwiss STAC/S3. Run them with pytest -m live.

Security & supply chain

Dependencies & CI

  • Bumped github/codeql-action and other workflow actions (#4, #8).

Tooling

  • Added .databricks/ and .claude/ to .gitignore (local tool state).

Full changelog: v0.2.21...v0.2.22