Provided by: weather-util_1.2-1ubuntu2_all
weather - command-line tool to obtain weather conditions and forecasts
weather [ options ] [ alias [ alias [...] ] ]
This utility is intended to provide quick access to current weather
conditions and forecasts. Presently, it is capable of providing data
for localities throughout the United States of America by retrieving
and processing METAR data from the National Oceanic and Atmospheric
Administration and forecasts from the National Weather Service.
Behavior can be determined by command-line options and specification of
zero or more aliases. Aliases are defined in weatherrc files, as a
convenient means of grouping option combinations together using a short
name. Specifying multiple aliases on the command line causes the
utility to output data for each, as if it had been invoked multiple
times. If no alias is specified, then an alias of "default" is used
(assuming it has been defined) or the built-in default values are
chosen (if it has not).
A summary of options is included below.
show program’s version number and exit
show a help message and exit
the city name (ex: "Raleigh Durham")
include a local forecast
the METAR station ID (ex: KRDU)
print a list of configured aliases
disable output of current conditions (forces -f)
omit the local forecast (cancels -f)
the state abbreviation (ex: NC)
show full decoded feeds
weather may additionally obtain configuration data from a system-wide
configuration file, a per-user configuration file, and a local
directory configuration file. The file format and configuration options
are described in weatherrc(5). They are aggregated in the following
the system-wide configuration
the per-user configuration (can be used to override the above)
the local directory configuration (can be used to override the
View output for the defined default alias, or the built-in
default values if there is no default alias defined in the
weather -i kavl
Display current conditions at the KAVL METAR station.
weather -n -c asheville -s nc
See a forecast for the Asheville, NC area.
weather -fv gso
Get the full decoded METAR for the station associated with the
gso alias, and the forecast data for the city/state associated
with the gso alias, without filtering or fancy formatting.
weather home work
Show current conditions for both the home and work aliases in
Utility and manual written by Jeremy Stanley <email@example.com>.
March 26, 2006 WEATHER(1)