Imported from archive.

* Release 1.5.

* (all): Updated copyright notices for 2010.

* FAQ, INSTALL, LICENSE, README: Reformatted as ReStructuredText.

* FAQ: Updated to mention alternative sources for NOAA's stations
list, in case the recommended one is unavailable (thanks Celejar!).

* NEWS: Renamed to ChangeLog and refactored into GNU format.

* weather: Added some comment padding between the shebang line and
the copyright, so that distributions wishing to carry patches which
modify the interpreter path don't have to refresh them every year
when the copyright line changes in their context.

* weather, weather.1, weatherrc.5, weather.py: Added experimental
alert, atypes, aurl and zones options to support retrieval,
filtering and formatting of unexpired NWS severe weather advisories.

* weather.1, weatherrc.5: Minor cosmetic fixes to option
descriptions.

* weather.1, weatherrc.5, weather.py: Added imperial and metric
options to filter/convert display units (thanks to Andrew Carter for
this suggestion!).

* weather.py: Fixed a METAR parsing error which would trigger an
IndexError exception if the NWS didn't have a station description on
file (thanks to Celejar for reporting the bug!). Fixed METAR title
line parsing to look for human-readable city and state in the first
line--previous code stopped showing the city name after NWS made
slight format mods. Upped the version to 1.5.

* weatherrc: Additional PIE (Saint Petersburg, FL), PNC (Ponca City,
OK), and PNS (Pensacola, FL) aliases.
This commit is contained in:
Jeremy Stanley
2010-03-19 13:30:22 +00:00
parent 8349654b7c
commit 4d25a49d5a
9 changed files with 522 additions and 197 deletions

View File

@@ -1,5 +1,5 @@
.TH WEATHER 1 "July 13, 2008" "" \" -*- nroff -*-
\" Copyright (c) 2006-2008 Jeremy Stanley <fungi@yuggoth.org>.
.TH WEATHER 1 "March 15, 2010" "" \" -*- nroff -*-
\" Copyright (c) 2006-2010 Jeremy Stanley <fungi@yuggoth.org>.
\" Permission to use, copy, modify, and distribute this software is
\" granted under terms provided in the LICENSE file distributed with
\" this software.
@@ -29,7 +29,16 @@ show program's version number and exit
.B \-h, \-\-help
show a help message and exit
.TP
.B \-cCITY, \-\-city=CITY
.B \-a, \-\-alert
include local alert notices
.TP
.B \-\-atypes=ATYPES
alert notification types to display
.TP
.B \-\-aurl=AURL
alert URL (including %atype% and %zone%)
.TP
.B \-c CITY, \-\-city=CITY
the city name (ex: "Raleigh Durham")
.TP
.B \-\-flines=FLINES
@@ -44,12 +53,18 @@ forecast URL (including %city% and %st%)
.B \-\-headers=HEADERS
the conditions headers to display
.TP
.B \-iID, \-\-id=ID
.B \-i ID, \-\-id=ID
the METAR station ID (ex: KRDU)
.TP
.B \-\-imperial
filter/convert for US/UK units
.TP
.B \-l, \-\-list
print a list of configured aliases
.TP
.B \-m, \-\-metric
filter/convert for metric units
.TP
.B \-\-murl=MURL
METAR URL (including %id%)
.TP
@@ -62,11 +77,14 @@ omit the local forecast (cancels \-f)
.B \-\-quiet
skip preambles and don't indent
.TP
.B \-sST, \-\-st=ST
.B \-s ST, \-\-st=ST
the state abbreviation (ex: NC)
.TP
.B \-v, \-\-verbose
show full decoded feeds (cancels \-q)
.TP
.B \-z ZONES, \-\-zones=ZONES
alert zones (ex: nc/ncc183,nc/ncz041)
.SH FILES
.B weather
may additionally obtain configuration data from a system\-wide