Skip to content

v0.128.0

Choose a tag to compare

@gutzbenj gutzbenj released this 21 Jul 22:17
· 63 commits to main since this release

What's Changed

New observation providers

  • KNMI (Netherlands) — 10-minute, hourly and daily resolution (requires a free KNMI Data Platform API key)
  • DMI (Denmark) — climate data with hourly, daily, monthly and annual resolution (no authentication required)
  • AEMET (Spain) — hourly (real-time), daily, monthly and annual resolution
  • SMHI (Sweden) — 1-minute, hourly, daily and monthly resolution
  • Météo-France (France) — SYNOP network (subdaily, 3-hourly) and observation network (6-minute, hourly, daily, monthly)
  • MeteoSwiss (Switzerland) — 10-minute, hourly, daily, monthly and annual resolution

Performance

  • Reduced the memory footprint of aggregated value results (.values.all()) by storing the station_id, resolution, dataset and parameter columns as polars Enum instead of String (roughly halves the size of tidy frames).
    • Note: the dtype of these columns is now Enum. To get plain String columns back (e.g. for .str operations or strict dtype checks), cast them via df.with_columns(pl.col(pl.Enum).cast(pl.String)).

Full Changelog: v0.127.0...v0.128.0