descriptionRetrieve conditions and forecasts.
ownerJeremy Stanley <fungi@yuggoth.org>
last changeTue, 14 Mar 2023 13:27:24 +0000 (13:27 +0000)
readme

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.

shortlog
2023-03-14 Jeremy StanleyRefresh correlation data master
2023-02-09 Jeremy StanleyRestore missing WX zones 2.4.4
2023-02-09 Jeremy StanleyPrepare for 2.4.3 release 2.4.3
2023-02-09 Jeremy StanleyDon't use U mode, removed in python3.11
2022-09-22 Jeremy StanleyDrop vestigial import of the tarfile module
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
...
tags
14 months ago 2.4.4 2.4.4 release
14 months ago 2.4.3 2.4.3 release
2 years ago 2.4.2 2.4.2 release
3 years ago 2.4.1 2.4.1 release
3 years ago 2.4 2.4 release
7 years ago 2.3 2.3 release
7 years ago 2.2 2.2 release
7 years ago 2.1 2.1 release
11 years ago 2.0 2.0 release
11 years ago 1.5 1.5 release
11 years ago 1.4 1.4 release
11 years ago 1.3 1.3 release
11 years ago 1.2 1.2 release
11 years ago 1.1 1.1 release
11 years ago 1.0 1.0 release
heads
13 months ago master