descriptionRetrieve conditions and forecasts.
ownerJeremy Stanley <>
last changeSat, 16 Sep 2017 15:47:03 +0000 (15:47 +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.

2017-09-16 Jeremy StanleyAdd FAQ entry about --headers values master
2017-03-10 Jeremy StanleyFix Py3K compatibility for compressed correlation
2016-11-08 Jeremy StanleyUpdate release notes and docs for 2.3 release 2.3
2016-11-07 Jeremy StanleyCorrect NOAA WX weather product URL regression
2016-10-05 Jeremy StanleyUpdate release notes and docs for 2.2 release 2.2
2016-10-05 Jeremy StanleyCorrelation set update
2016-10-05 Jeremy StanleyUpdate correlation logic for 2015 Gazetteer
2016-09-19 Jeremy StanleyCorrect setpath search order
2016-09-13 Jeremy StanleyFix minor typo in NEWS file
2016-09-13 Jeremy StanleyUpdate release notes and docs for 2.1 release 2.1
2016-08-24 Jeremy StanleyUpdate NOAA WX weather products URLs
2014-11-10 Jeremy StanleyCorrelation set update
2014-10-30 Jeremy StanleySupport more recent data sources
2014-02-13 Jeremy StanleyDocument correlation set rebuilding process
2014-02-13 Jeremy StanleyCorrelation set update
2014-02-13 Jeremy StanleyCorrelation building fixes
2 years ago 2.3 2.3 release
2 years ago 2.2 2.2 release
2 years ago 2.1 2.1 release
6 years ago 2.0 2.0 release
6 years ago 1.5 1.5 release
6 years ago 1.4 1.4 release
6 years ago 1.3 1.3 release
6 years ago 1.2 1.2 release
6 years ago 1.1 1.1 release
6 years ago 1.0 1.0 release
18 months ago master