Wednesday, November 01, 2006

scandinavia's radar map for gnome weather applet

Here is how to download the scandinavian radar map for rain and snow from the swedish meterologic institute and put it into your gnome weather applet:

put this into your $HOME/bin

codeblob=$(wget "" --output-document=-)

url=$(echo $codeblob | sed -e "s/.*\(https[^\']*\).*/\1/")

wget $url --output-document=/tmp/smhi-radar.png

and this into your user's crontab:

30 */2 * * * $HOME/bin/ >/dev/null 2>&1

and this into your gnome weather applet's radar url:


Here you see the area covered:


At 5:49 PM, Blogger Marcus said...

Worked like a charm! Thanks!


Post a Comment

<< Home