Swiftpack.co - open-meteo/open-meteo as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by open-meteo.
open-meteo/open-meteo 1.1.17
Free Weather Forecast API for non-commercial use
⭐️ 1,911
🕓 3 days ago
macOS
.package(url: "https://github.com/open-meteo/open-meteo.git", from: "1.1.17")

🌤 Open-Meteo Weather API

Test codebeat badge GitHub license license: CC BY 4.0 Twitter Mastodon DOI

Open-Meteo is an open-source weather API and offers free access for non-commercial use. No API key is required. You can use it immediately!

Head over to https://open-meteo.com! Stay up to date with our blog at https://openmeteo.substack.com.

Features

How does Open-Meteo work?

Open-Meteo utilizes open-data weather forecasts provided by national weather services. These services offer numerical weather predictions that are free to download. However, working with these models can be challenging, as it requires expertise in binary file formats, grid-systems, projections, and the fundamentals of weather predictions.

Like many other weather APIs, Open-Meteo integrates high-resolution local and global weather models. Over 2 TB of data are downloaded and processed daily from multiple national weather services. The collected data is then stored in local files using a customized file format and compression technique to enhance access to time-series data such as a 14-day temperature forecast.

In contrast to other weather APIs, Open-Meteo provides complete access to its source code, and all data sources are openly listed, crediting the national weather services for their work. With Docker or prebuilt Ubuntu packages, it is possible to launch your own weather API within minutes. By providing the source code, users can conduct detailed verifications of the weather data processing and even make modifications themselves. Contributions are highly encouraged and welcomed.

The API is available for non-commercial use at no cost. Despite being free of charge, the forecast accuracy is top-notch. The API utilizes a vast array of local weather models with rapid updates, ensuring that the most precise forecast is generated for any location globally.

Resources

Who is using Open-Meteo?

Apps:

  • Weather.io A simple Progressive Web App (PWA) for checking the weather.
  • WeatherGraph Apple Watch App
  • Slideshow Digital Signage app for Android
  • weewx-DWD Weather forecasts etc. for WeeWX
  • omWeather Android Weather App
  • solXpect Android app which forecasts the output of your solar power plant
  • Raindrop Simple and intuitive weather app for the linux terminal.
  • Weatherian Multi-model meteogram (multi-platform)
  • WeatherAI WeatherAI offers an intuitive user experience that makes checking the weather a breeze.
  • Weather Free, open source, simple and complete weather app for Android
  • DroneWeather Weather forecasts, satellite count, and KP index for drone pilots.
  • Clima Beautiful, minimal, and fast weather app
  • SkyMuse Minimal, privacy-respecting weather app. Built with web technologies.
  • Weather Please Clean and minimal new tab replacement for browsers
  • QuickWeather Fast, free, and open source Android app
  • Rain Free, open source, beautiful, minimal and fast weather app
  • WetBulb A simple app that shows you the wetbulb temp 24h forecast and tells you if it is dangerous.
  • OSS Weather - Multi-model/multi-provider Open Source Android/iOS Weather app

Repositories:

  • Captain Cold Simple Open-Meteo -> Discord integration
  • wthrr-the-weathercrab Weather companion for the terminal
  • Weather-Cli A CLI program written in golang that allows you to get weather information from the terminal
  • Homepage A highly customizable homepage (or startpage / application dashboard) with Docker and service API integrations.
  • Spots Guru Weather forecast for lazy, the best wind & wave spots around you.
  • WeatherReport.jl A simple weather app for the Julia REPL

Other:

  • Menubar Weather A Raycast extension that displays live weather information in your menu bar
  • Contributions welcome!

Do you use Open-Meteo? Please open a pull request and add your repository or app to the list!

Client SDKs

Contributions welcome! Writing a SDK for Open-Meteo is more than welcome and a great way to help users.

Support

If you encounter bugs while using Open-Meteo APIs, please file a new issue ticket. For general ideas or Q&A please use the Discussion section on Github. Thanks!

For other enquiries please contact [email protected]

Run your own API

Instructions to use Docker to run your own weather API are available in the getting started guide.

Terms & Privacy

Open-Meteo APIs are free for open-source developer and non-commercial use. We do not restrict access, but ask for fair use.

If your application exceeds 10'000 requests per day, please contact us. We reserve the right to block applications and IP addresses that misuse our service.

For commercial use of Open-Meteo APIs, please contact us.

All data is provided as is without any warranty.

We do not collect any personal data. We do not share any personal information. We do not integrate any third party analytics, ads, beacons or plugins.

Data License

API data are offered under Attribution 4.0 International (CC BY 4.0)

You are free to share: copy and redistribute the material in any medium or format and adapt: remix, transform, and build upon the material.

Attribution: You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

You must include a link next to any location, Open-Meteo data are displayed like:

Weather data by Open-Meteo.com

Source Code License

Open-Meteo is open-source under the GNU Affero General Public License Version 3 (AGPLv3) or any later version. You can find the license here. Exceptions are third party source-code with individual licensing in each file.

GitHub

link
Stars: 1911
Last commit: 11 minutes ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

1.0.0
14 weeks ago

🎉🎉🎉 Exciting News! The Open-Meteo source code has officially reached version 1.0.0, marking a significant milestone. This release introduces a stable distribution for both Docker and Ubuntu packages, ensuring a more seamless and reliable deployment experience! 🎉🎉🎉

Major changes include a restructuring of the internal database layout and the incorporation of new weather models. The redesigned database layout is geared towards long-term stability, ensuring compatibility with future versions.

‼️ Important Notice: For users upgrading from previous versions utilizing Docker or Ubuntu Prebuilt packages, it is important to execute a database migration script to preserve previously downloaded weather data. Additionally, many weather models and variables have undergone renaming for consistency. Refer to this PR for detailed information. ‼️

Version 1.0.0 also establishes the groundwork for redistributing the Open-Meteo database as open-data through an AWS Open-Data Sponsorship. Instead of directly downloading raw weather data in GRIB format from national weather services, users can now access the optimized time-series database from Open-Meteo directly through AWS. The open-data distribution allows fine control, enabling users to retrieve only a specific subset of weather variables relevant to their use case. This not only conserves resources for data processing but also reduces bandwidth usage on the servers of national weather services. Instructions can be found in the getting started guide and the open-data documentation. Please be aware that not all weather models and data sources are currently available and will be progressively added over the next few weeks with documentation and examples to follow.

We sincerely appreciate your continuous support and trust that you'll find immense value in the latest enhancements introduced to the Open-Meteo weather API!

What's Changed

New Contributors

Full Changelog: https://github.com/open-meteo/open-meteo/compare/0.2.89...1.0.0

About the Open-Meteo Weather API: Open-Meteo is a weather API that operates on an open-source basis and provides free access for non-commercial purposes. No API key is necessary; you can start using it right away!

At Open-Meteo, we firmly believe that access to accurate and dependable weather data should be accessible to all. That's why we've developed an open-source weather API that utilizes weather forecasts derived from open-data sources offered by national weather services. Unlike other weather APIs, Open-Meteo grants complete access to its source code, and all data sources are openly acknowledged, giving credit to the national weather services for their valuable contributions. Users can set up their own weather API rapidly using Docker or prebuilt Ubuntu packages. By sharing the source code, users can thoroughly scrutinize the weather data processing and even make adjustments as needed. We actively encourage and welcome contributions from our user community.

This API is freely available for non-commercial use, with no associated costs. Despite being free of charge, it delivers top-tier forecast accuracy. Leveraging an extensive range of local weather models with frequent updates, the API ensures the generation of highly precise forecasts for locations worldwide.

We appreciate your consideration of Open-Meteo for your weather data requirements. We are continuously working to enhance our services and are open to any feedback or inquiries you may have. Please do not hesitate to reach out to us at [email protected].

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics