It’s advisable to check the weather forecast before going out on a long drive. If you need a gorgeous app to do that check out Typhoon. However, the ability to check the weather from the terminal is a bonus. We explored weatherman earlier but it is broken at the moment and needs a significant rewrite. Enter weather-util.
The utility is very accurate for USA as it get the information from the USA National Oceanic and Atmospheric Administration and by decoding Meteorological Aerodrome Reports. The results are not so impressive outside USA. A key information like human-readable forecast is missing in all the places I tried. inxi results are better.
The results take some extra time to appear because of the amount of plain text parsing done. The program design could have been better.
- Search by airports, places, stations, zctas and zones
- If available at your place, the results are quite accurate
To install on Ubuntu, run:
$ sudo apt-get install weather-util
There are a lot of search options for a simple weather app, and it’s not always possible to look up the codes or latitude/longitude for a new place you want to visit. to check in detail, run:
$ man weather
The simplest for of search is:
$ weather tokyo Searching via name... Your search is ambiguous, returning 3 matches: [rjaa] New Tokyo Inter-National Airport, Japan [rjti] Tokyo Heliport, Japan [rjtt] Tokyo International Airport, Japan $ weather rjaa Searching via station... [caching result New Tokyo Inter-National Airport, Japan] Current conditions at New Tokyo Inter-National Airport, Japan (RJAA) 35-46N 140-23E 44M Last updated Nov 26, 2015 - 12:00 AM EST / 2015.11.26 0500 UTC Temperature: 50 F (10 C) Relative Humidity: 87% Wind: from the WNW (300 degrees) at 8 MPH (7 KT) Sky conditions: mostly cloudy
As you can see, you need to remember or use an alias.
Again, brief current weather conditions is missing for Bangalore:
$ weather bengaluru Searching via name... [using result Bengaluru, IN] Current conditions at <UNKNOWN> Last updated Nov 26, 2015 - 12:00 AM EST / 2015.11.26 0500 UTC Temperature: 82 F (28 C) Relative Humidity: 61% Wind: from the E (090 degrees) at 8 MPH (7 KT)