metar is a simple utility to find weather stations and get METAR reports. Most METAR stations are airports.
This is free and open source software.
Actions available:
- Get – gets the most recent weather report from the selected METAR station. The first line in the report will contain the station’s name, country, ICAO station identifier, and location. There are however some station there this information is missing.
- Print – Print the ICAO station identifier of the selected METAR station, the station from which weather reports are retrieved.
- Set station – Stores the station as the METAR station from which weather reports shall be retrieved. station shall be the stations’s ICAO station identifier.
- List – Print all METAR stations. This can take a very long time. To speed up the listing process, you can filter the output by selecting the prefix of the ICAO station identifiers.
- Closest – Given a latitude and longitude in decimal format, print the ICAO station identifier of the closest METAR station. If you have already created a list of all stations using the action list, specify the filename of that list as the list argument. If latitude and longitude are omitted, ~/.config/geolocation, or /etc/geolocation, is used.
Website: codeberg.org/maandree/metar
Support:
Developer: Mattias Andrée
License: ISC License

metar is written in Bash. Learn Bash with our recommended free books and free tutorials.
Related Software
| Terminal-Based Weather Tools | |
|---|---|
| wttr.in | Curl the weather |
| Wego | ASCII weather app for the terminal written in Go |
| AnsiWeather | Current weather conditions in your terminal |
| girouette | Sources its data from OpenWeather |
| wthrr | Weather companion for the terminal |
| weather | Quick access to current weather conditions and forecasts |
| tempy | Visually pleasing weather report |
| stormy | neofetch-like weather CLI |
| rainy | neofetch-like, minimalistic, and customizable weather-fetching tool |
| wevva | Terminal-based weather application built with Textua |
| weather-cli | Uses the Open-Meteo API |
| starlit | Minimal and customizable weather CLI |
| outside | Multi-purpose weather client |
| metar | Weather report tool |
| rustormy | neofetch-like weather CLI |
| termrain | Combines detailed forecasts with an interactive rain radar |
| linecast | Weather, radar, solar and tide visualisations |
| terminal-weather | Animated terminal weather dashboard |
| weather | Go-based tool |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.