1. Application Source Code & License
WeatherAPP Libre is free and open-source software. The complete source code is published under the GNU General Public License version 3 (GPLv3).
- Repository: github.com/adamjeremy-sk/WeatherAPP
- License: GNU General Public License v3.0
- Copyright: © 2024-2026 Adam Hainstock and WeatherAPP Libre contributors.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
2. Weather & Air Quality Data
WeatherAPP Libre fetches meteorological and air quality data via the Open-Meteo API. Open-Meteo is an open-source, free-to-use weather API that requires no API keys and does not track users.
2.1 Meteorological Models
The application routes requests to specific global models based on user selection. The underlying data is provided by national meteorological agencies under their respective open-data policies:
- GEM (Global Environmental Multiscale Model) — Environment and Climate Change Canada (ECCC).
- GFS (Global Forecast System) — NOAA / National Weather Service (USA).
- GEFS (Global Ensemble Forecast System) — NOAA / National Weather Service (USA).
- ECMWF (IFS 0.25°) — European Centre for Medium-Range Weather Forecasts.
- CMA-GFS (GRAPES) — China Meteorological Administration (CMA).
2.2 Air Quality & UV Data
Air Quality Index (AQI) and UV Index data are sourced via Open-Meteo's Air Quality API, which aggregates data from the Copernicus Atmosphere Monitoring Service (CAMS) and NOAA.
3. Weather Alerts
Severe weather alerts are sourced directly from official national meteorological networks, including Environment and Climate Change Canada (ECCC) and the MeteoAlarm network.
WeatherAPP does not alter the safety instructions or severity classifications of official alerts.
3.1 Environment and Climate Change Canada (ECCC)
Canadian alerts are fetched using the Common Alerting Protocol (CAP-CP) from the ECCC Datamart.
- Source: MSC GeoMet / Datamart (ECCC Open Data).
- License: Open Government Licence – Canada.
- Attribution: Contains information licensed under the Open Government Licence – Canada.
3.2 MeteoAlarm (Europe)
European alerts are fetched via the MeteoAlarm network, which aggregates official warnings from participating European National Meteorological Services.
- Source: MeteoAlarm (meteoalarm.org) and participating National Meteorological Services.
- License / Terms: Subject to the terms of use of MeteoAlarm and the respective issuing National Meteorological Service.
- Attribution: Alerts provided by MeteoAlarm and the respective National Meteorological Service. Delays and discrepancies may exist; always refer to official national sources for critical safety information.
4. Astronomy & Algorithms
To ensure user privacy and offline capability, WeatherAPP Libre does not use external astronomy APIs or third-party ephemeris libraries. All solar and lunar calculations are performed natively on-device.
- Algorithms: Based on the mathematical formulas published in Astronomical Algorithms by Jean Meeus.
- Delta T Polynomials: Uses the official polynomial expressions for Delta T ($\Delta$T) published by Fred Espenak and Jean Meeus (NASA GSFC) in the Five Millennium Canon of Solar Eclipses.
- Implementation: Custom native Kotlin/JVM implementation using iterative topocentric root-finding for precise rise/set times and azimuths.
- Time Scales: Calculations account for Terrestrial Time (TT), Delta T ($\Delta$T), and atmospheric refraction.
5. Geocoding & Location
Location search and geocoding (converting city names to coordinates) is handled via the Open-Meteo Geocoding API.
- Source: Open-Meteo Geocoding API (sourcing from GeoNames and other open geographic databases).
- License: GeoNames data is licensed under the Creative Commons Attribution 4.0 License.
6. Open Source Libraries
WeatherAPP Libre is built using the Android SDK and several open-source libraries, primarily licensed under the Apache License 2.0.
- Jetpack / AndroidX (AppCompat, Lifecycle, RecyclerView, Coroutines) — The Android Open Source Project (Apache 2.0)
- Material Components for Android — The Android Open Source Project (Apache 2.0)
- OkHttp — Square, Inc. (Apache 2.0)
- Gson — Google Inc. (Apache 2.0)
- Google Play App Update API — Google LLC (Google Play Terms of Service)
- LeakCanary (Debug builds only) — Square, Inc. (Apache 2.0)
7. Typography & Iconography
7.1 Typography
- Inter — Designed by Rasmus Andersson. Licensed under the SIL Open Font License 1.1.
7.2 Iconography
- Feather Icons — Used for UI navigation and system icons. Licensed under the MIT License.
- Custom Weather Vector Icons — A custom 28-state vector icon set designed specifically for WeatherAPP Libre to replace standard emojis, ensuring consistent theme reactivity and visual identity across all devices.
- Moon Phase Emojis — Standard Unicode emoji characters used for moon phases, rendered natively by the device's operating system font.