From: Dan White Date: Thu, 15 Sep 2011 20:43:56 +0000 (-0500) Subject: Add script to dump METAR observations X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=49366bf1883829248e820d530dde2553a5fb17ee;p=pubbin.git Add script to dump METAR observations --- diff --git a/metar.sh b/metar.sh new file mode 100755 index 0000000..f027381 --- /dev/null +++ b/metar.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +STATION=$1 + +wget -q -O - http://weather.noaa.gov/mgetmetar.php?cccc=$STATION \ + | grep -i $STATION \ + | tail -1