Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

up vote 2 down vote accepted

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

http://fungi.yuggoth.org/weather

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.