by Ray Patrick
(other software)
View National Weather Service Doppler radar from your command line!
I host radar at my Git server. To download radar, simply run:
git clone git://git.raypatrick.xyz/radar.git
cd radar
sudo make install
If you'd prefer to view radar in your browser, check out my ultralight Web-based version here.
radar - NWS Doppler radar on the command line
radar [sitecode|city] [-l, --list] [-s, --search regex] [-u, --url sitecode|city] [-h, --help]
radar is a tool for retrieving National Weather Service (NWS) Doppler radar imagery from the command line. It links to the "lite" version of the NWS RIDGE site and retrieves the animated .GIF file showing about the last 30 minutes of precipitation at the site you select. You can specify an ICAO code directly (such as KNQA for Memphis International Airport) or you can type a city name. If there's a WSR-88 site in that city, radar will find it and retrieve its imagery. Cities with spaces in their names should be encapsulated in quotes, for example "Los Angeles".
radar "New York"
gives identical results to radar KNQA
.
Requires dmenu.
If you run radar -l
or radar --list
, radar will print a list of all NEXRAD doppler radar sites that it can query. You can parse this list with dmenu
to get a fuzzy-search capability:
radar $(radar --list | dmenu)
When the dmenu
bar comes up, start typing your city or your state's postal abbreviation and see what comes up!
radar is a POSIX shell script. On your system, /bin/sh must be a POSIX-compliant shell (or a link to one) for radar to work.
GPLv3
Written by Ray Patrick in 2020.
https://raypatrick.xyz
ray@raypatrick.xyz
mpv(1)