General Information About the Weather Utility


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:

  • retrieve current data on-demand
  • provide both current conditions and short-term forecasts
  • simple, human-readable output
  • easy to configure and use
  • flexible command-line switches and options


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.

NameLast modifiedSizeDescription
Parent Directory  -  
FAQ2017-09-16 15:48 3.5K 
INSTALL2014-10-05 16:20 4.7K 
LICENSE2021-11-24 15:00 1.8K 
NEWS2020-06-21 20:23 4.2K 
README2014-10-05 16:20 2.1K 
airports2022-06-11 18:03 87K 
overrides.conf2022-06-11 18:03 44K 
overrides.log2022-06-11 18:03 13K 
places2022-06-11 18:03 9.9M 
qa.log2022-06-11 18:03 2.0K 
slist2022-06-11 18:03 29K 
stations2022-06-11 18:03 1.0M 
weather2014-10-05 16:20 4.2K 
weather.12020-08-30 18:13 6.6K 
weather.py2022-09-22 13:29 84K 
weatherrc2014-10-05 16:20 420  
weatherrc.52020-08-30 18:13 3.3K 
zctas2022-06-11 18:03 3.3M 
zlist2022-06-11 18:03 27K 
zones2022-06-11 18:03 5.1M