github open-meteo/open-meteo 1.4.0
1.4.0 Daily aggregations, Sunrise/set, performance improvements and bugfixes

latest releases: 1.1.21, 1.1.20, 1.1.19...
2 years ago

The next set of features for Open-Meteo are live!

Features:

  • Daily aggregations like "Temperature maximum" can now be retrieved directly. Additional aggregations like half-daily or morning/afternoon/evening are still to come #7. Using daily aggregations enforces the timezone parameter. Daily variables use the same data as hourly variables, but are more convenient to use.

  • Sunrise and sunset times are now available along with daily aggregations. Calculations are based on Astronomical algorithms from Jean Meeus. #25

  • API performance has been increased by factor 2. This was achieved by keeping all file handles open and using non-blocking IO to read all weather data at once. Before, API data are read one weather variable after another. Read, wait for data to arrive, and then process the next weather variable. Now, all weather variables are read simultaneously. This greatly improves performance of reading data from regions that are less often used. E.g. Reading all 34 available hourly variables took 60 ms. With non-blocking IO and parallel reads, it is down to 15-30 ms. Consecutive reads are as fast as 2 ms, because the linux operating system caches access to files.

  • HTTP compression support. API responses are now compressed using gzip automatically.

Bugfixes:

  • Missing values in parts of France #34
  • Typo in the variable name relativehumidity_2m. The misspelled version relativehumitidy_2m is still supported.
  • A single missing value in weathercode time-series at a specific time (isolated error in an array index calculation)

Thanks to anyone who reported bugs via GitHub and mail!

Don't miss a new open-meteo release

NewReleases is sending notifications on new releases.