Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking for a command line program that takes the current weather condition from a website and prints it out in a human readable format.

Actually, I have a Linux box which is connected to my TV and is always on. Sometimes the TV is not on but I want to know about the weather condition without turning the TV on. My idea is to pipe the output of the weather command to the text to speech command, e.g., weather-condition | espeak and assign a short-cut to the command.

So, I can get the info from the speakers rather than the screen. A python script would be perfect, but any other linux-runnable command would suffice.

share|improve this question
what about a so called Radio ? – Endoro May 16 '13 at 18:16
@Endoro: Link to it's website, please. – Helium May 16 '13 at 19:03
simply put the word RADIO in your favorite search engine. – Endoro May 16 '13 at 19:28
up vote 2 down vote accepted

This Linux utility seems to be exactly what you asked for.

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.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .