{"id":51085177,"url":"https://github.com/maandree/metar","last_synced_at":"2026-06-23T21:02:10.264Z","repository":{"id":54408503,"uuid":"56603417","full_name":"maandree/metar","owner":"maandree","description":"Trivial, yet fully fledged, weather report","archived":false,"fork":false,"pushed_at":"2026-05-09T14:19:38.000Z","size":34,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-09T16:33:57.890Z","etag":null,"topics":["application","humidity","metar","temperature","weather","wind"],"latest_commit_sha":null,"homepage":"https://codeberg.org/maandree/metar","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maandree.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-19T14:22:20.000Z","updated_at":"2026-05-09T14:19:42.000Z","dependencies_parsed_at":"2022-08-13T14:50:18.674Z","dependency_job_id":null,"html_url":"https://github.com/maandree/metar","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/maandree/metar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maandree%2Fmetar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maandree%2Fmetar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maandree%2Fmetar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maandree%2Fmetar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maandree","download_url":"https://codeload.github.com/maandree/metar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maandree%2Fmetar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34706579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["application","humidity","metar","temperature","weather","wind"],"created_at":"2026-06-23T21:02:05.396Z","updated_at":"2026-06-23T21:02:10.250Z","avatar_url":"https://github.com/maandree.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"NAME\n\tmetar - Trivial weather report\n\nSYNOPSIS\n\tmetar 'get'\n\tmetar 'print'\n\tmetar 'set' station\n\tmetar 'list' [prefix]\n\tmetar 'closest' [latitude longitude] [list]\n\nDESCRIPTION\n\tmetar is a simple utility for finding weather stations (hence referred\n\tto as METAR stations,) and getting METAR reports. Most METAR stations\n\tare airports.\n\nACTIONS\n\tget\n\t\tGets the most recent weather report from the selected METAR\n\t\tstation. The first line in the report will contain the station's\n\t\tname, country, ICAO station identifier, and location. There are\n\t\thowever some station there this information is missing.\n\n\tprint\n\t\tPrint the ICAO station identifier of the selected METAR station,\n\t\tthe station from which weather reports are retrieved. This is\n\t\tequivalent to running\n\n\t\t(cat ~/.config/metar || cat /etc/metar) 2\u003e /dev/null | head -n 1\n\n\tset station\n\t\tStores the station as the METAR station from which weather\n\t\treports shall be retrieved. station shall be the stations's\n\t\tICAO station identifier. This is equivalent to running\n\n\t\tprintf '%s\\n' station \u003e ~/.config/metar\n\n\tlist [prefix]\n\t\tPrint all METAR stations. This can take a very long time. You\n\t\tare strongly encouraged to store the output to a file. For a,\n\t\tnot as good, list you can look at\n\t\thttp://www.aviationweather.gov/static/adds/metars/stations.txt\n\n\t\tTo speed up the listing process, you can filter the output\n\t\tby select the prefix of the ICAO station identifiers. If you\n\t\tlook at the page with the URL above, you will find the prefix\n\t\tfor your country. prefix may be a regular expression. These\n\t\tregular expressions are listed in\n\t\t\u003chttps://codeberg.org/maandree/metar/raw/branch/master/prefixes\u003e.\n\t\tNote however, this list is not guaranteed to be up to date.\n\n\t\tEach station is will be printed on a line, containing the its\n\t\tname, country, ICAO station identifier, and location. The\n\t\tICAO station identifier is in parenthesis.\n\n\tclosest [latitude longitude] [list]\n\t\tGiven a latitude and longitude in decimal format, print the\n\t\tICAO station identifier of the closest METAR station. If you\n\t\thave already created a list of all stations using the action\n\t\tlist, specify the filename of that list as the list argument.\n\t\tIf latitude and longitude are omitted, ~/.config/geolocation,\n\t\tor /etc/geolocation, is used.\n\nFILES\n\t~/.config/metar\n\t\tContains the ICAO station identifier for the selected weather\n\t\tstation, and nothing else, except an LF at the end. This will\n\t\tnever change. Other programs are encouraged to use this file\n\t\ttoo.\n\n\t\tIf the file contains more than one line, only the first line,\n\t\teven if it is empty, is used.\n\n\t/etc/metar\n\t\tFallback file use if ~/.config/metar is missing. Other\n\t\tprograms are encouraged to use this file too.\n\n\t~/.config/geolocation\n\t\tUsed to get your location in case 'metar closest' is invoked\n\t\twithout LATITUDE and LONGITUDE. This file contains your\n\t\tgeographical location using the Global Positioning System in\n\t\tdecimal format. This will never change. Other programs are\n\t\tencouraged to use this file too.\n\n\t\tIf the file contains more than one line, only the first line,\n\t\teven if it is empty, is used.\n\n\t/etc/geolocation\n\t\tFallback file use if ~/.config/geolocation is missing. Other\n\t\tprograms are encouraged to use this file too.\n\nNOTES\n\tUS Americans, remember, you are on the Western Hemisphere. Therefore,\n\tyou should specify a negative longitude when using the action closest.\n\nSEE ALSO\n\txpybar(1), localeme(1)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaandree%2Fmetar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaandree%2Fmetar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaandree%2Fmetar/lists"}