curl-ing the weather

wttr.in

In need for quick weather forecast? Use:

curl wttr.in/<your city>

Excellent little web service based on wego and wttr.in, a web frontend for wego.

You can also use installed wego directly by obtaining  API key from here and editing ~/.wegorc like:

{
"APIKey": "",
"City": "",
"Numdays": 5,
"Imperial": false,
"Lang": "en"
}

….and you get weather forecast for five days.

wego

Happy hacking….

inxi weather

archlinux-logo-dark-200dpi.b42bd35d5916

inxi, very versatile script to get various hardware and software data, have also interesting option -w which display local weather data:
Weather: Conditions: 36 F (2 C) - Clear Time: February 4, 8:15 PM CET

…or if you use verbose variante with -x, -xx or -xxx, the output contains more data:
inxi -wxxx
Weather: Conditions: 36 F (2 C) - Clear Wind: From the South at 2 MPH Humidity: 87%
Pressure: 30.21 in (1023 mb) Location: None None (SVN) Altitude: 280 ft
Time: February 4, 8:20 PM CET (Europe/Ljubljana) Observation Time: February 4, 8:00 PM CET

…and with option -W you can change location input:
inxi -wxxx -W vienna,austria
Weather: Conditions: 39 F (4 C) - Mostly Cloudy Wind: From the West at 13 MPH Humidity: 70%
Pressure: 30.15 in (1021 mb) Wind Chill: 32 F (0 C)
Location: Vienna (OS) Altitude: 171 ft
Time: February 4, 8:24 PM CET Observation Time: February 4, 7:50 PM CET

Happy hacking…

Weather in Console

weather

Weather is app which shows decoded METAR (Meteorological Aerodrome Reports) data from NOAA (the USA National Oceanic and Meteorological Administration) and forecasts or alerts from NWS (the USA National Weather Service) and is part of weather-utils pack.The usage is strait forward, first get your weather station code from NOAA and then just run command:

$ weather -l NOAA code

…and that’s it for start. There are a few more options like using config files for various places, aliases with a plenty of options. help can be found with weather -h or man weather with additional help using various configured variants.
The second one is Weatherman that displays weather from weatherbug and is written in bash so it will run on almost any UNIX/Linux system. The usage, simple and efficient:

 $ weatherman "city, country"

…and if you are satisfied with output just add option -S and save unit and location setting to ~/.weathermanrc. The options and help can be found with weatherman -h or man weatherman.

cursetheweather

cursetheweather – ncurses client for retrieving weather forecasts with use of the weather.com code:

 ctw --refresh=15 city code

Related apps:
atpdec – console NOAA and POES weather satelite image software decoder,
cliweather and cweather – simple CLI for Google weather API,
weathercli – bash script to retrieve weather from weatherbug.com,