Here we go. We need to collect some historical data (i.e. radar screens). You can get these from the radar.weather.gov using the 3 letter designation for the area you are interested in. For example, I believe the Dallas Fort Worth area is supposed to be FWS. You do not have to collect data just for your area. Collect data for several areas and get an overview of the weather all around.
You need to collect data. Cron is the perfect tool for the job. We need to create a batch file that will collect the pictures using cron. You will need to find the three letter designation of your area. You can get that from the national weather service. Note we put d.sh in the bin directory because it is in the executable directory path.
DAY=$(date +"%m%d%y%H%M%S") # picfn="pic$DAY.png" # echo $picfn wget http://radar.weather.gov/ridge/Thumbs/FWS.png -O fws$DAY.png
We will set it to grab a picture once a minute. AT most once a hour is fine unless you know you have inclement weather coming. Set the collection at 1 per minute for our example. That will fill up a hard drive quickly so be careful.
$ chmod +x d.sh
$ crontab -e to add d.sh to your cronfile.
You should be collecting radar images once you have that set up. We are beginning to collect a few pictures. Now we need to convert the picture(s) to a text file.
for g in fws*.png do echo $g img2txt -W 80 -f utf8 img2txt -W 80 -H 25 utf8 $g > $g.txt done
$ chmod +x convert.sh
You see the file names to be converted on the screen as they are processed. Then you should be able to to list the generated text.files.
$ ls fws*.txt
We could examine each txt file to see what the weather was at the moment, but that is time consuming. Better to have sort of a page flipping to see how the weather was over time. So far so good. Now we need to create a batch file to show the animation. This is also a good start to a text based slide show.
for g in fws*.txt do tput cup 0 0 cat $g done
Watch the show. If there is not much weather change or you have only collected a few frames, you not see the whiz boom you might want to. Definitely try it when a storm is coming your way (if it is safe to do so!!)