v0.2.22
v0.2.22
Features
stations()now returns Swiss LV95 coordinates alongside WGS84. New columnslv95_eastandlv95_north(EPSG:2056) are added to the DataFrame returned byfoehn.stations(dataset). The MCPStationmodel exposes the same fields. (#9)
Behavior changes (potentially breaking)
data_sinceis no longer reformatted: it is now kept in MeteoSwiss source format (DD.MM.YYYY) instead of being converted toYYYY-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
GRIB2but are actuallyHDF5.
- Added missing yearly frequency (
Internal / refactor
- Moved trusted-domain validation for STAC and download URLs into a shared
foehn._urlshelper (used byclient,stac, andapi). - Added a
livepytest marker (default deselected) for opt-in tests that hit the live MeteoSwiss STAC/S3. Run them withpytest -m live.
Security & supply chain
- Added OpenSSF Scorecard workflow + badge (#3, #5).
- Improved security policy links (#6).
Dependencies & CI
Tooling
- Added
.databricks/and.claude/to.gitignore(local tool state).
Full changelog: v0.2.21...v0.2.22