descriptionRetrieve conditions and forecasts.
ownerJeremy Stanley <>
last changeThu, 22 Sep 2022 13:28:01 +0000 (13:28 +0000)

This command-line utility is intended to provide quick access to current weather conditions and forecasts. Presently, it is capable of returning data for localities throughout the USA and some select locations globally by retrieving and formatting decoded METARs (Meteorological Aerodrome Reports) from NOAA (the USA National Oceanic and Atmospheric Administration) and forecasts/alerts from NWS (the USA National Weather Service). The tool is written to function in the same spirit as other command-line informational utilities like cal(1), calendar(1) and dict(1). It retrieves arbitrary weather data via precompiled correlations or custom-tailored aliases (system-wide or on a per-user basis). It can be freely used and redistributed under the terms of a BSD-like License.

My girlfriend had a long commute to/from work and school, and often wanted to check the weather both for home and her office. Unfortunately, starting a Web browser, pulling up a weather site, entering multiple ZIP codes and waiting for them to load is time-consuming for the marginally-impatient. Since she tended to stay logged into a shell server most of the time, I figured I'd install a quick command-line tool to retrieve weather info for her commute. To my surprise, a quick search turned up little that met my basic requirements:

A tarball for the most recent version of the weather utility can be had here:

Alternatively, Debian and Ubuntu users can install the weather-util package from any mirror.

2022-09-22 Jeremy StanleyDrop vestigial import of the tarfile module master
2022-06-11 Jeremy StanleyRefresh correlation data
2022-06-11 Jeremy StanleyClean up .gitignore file
2021-12-17 Jeremy StanleyForce UTF-8 locale when reading configs and data
2021-11-24 Jeremy StanleyRefresh correlation data and update copyright year 2.4.2
2021-11-10 Jeremy StanleyCorrect handling of boolean selections
2021-08-29 Jeremy StanleyRefresh active station list and correlation data
2021-06-01 Jeremy StanleyCorrect and simplify URLError exception handling
2020-08-30 Jeremy StanleyPrepare for 2.4.1 release 2.4.1
2020-08-30 Jeremy StanleyRefresh correlation data
2020-08-01 Jeremy StanleyUpdate correlation data
2020-07-26 Jeremy StanleyRefresh active station list and correlation data
2020-07-26 Jeremy StanleyMake missing alert URLs non-fatal
2020-07-26 Jeremy StanleyCorrect default_atypes to match what's generated
2020-07-25 Chris LambMake the build reproducible
2020-06-21 Jeremy StanleyUpdate release notes and docs for 2.4 release 2.4
14 months ago 2.4.2 2.4.2 release
2 years ago 2.4.1 2.4.1 release
2 years ago 2.4 2.4 release
6 years ago 2.3 2.3 release
6 years ago 2.2 2.2 release
6 years ago 2.1 2.1 release
10 years ago 2.0 2.0 release
10 years ago 1.5 1.5 release
10 years ago 1.4 1.4 release
10 years ago 1.3 1.3 release
10 years ago 1.2 1.2 release
10 years ago 1.1 1.1 release
10 years ago 1.0 1.0 release
4 months ago master