Yes weather!!!! Need I say more. yes. OK I am working on displaying the radar from that Government so that it can be watched in a way that will display the weather of the USA and zoom in on NY state. I am hoping to have some captions so that it will tell what has happened like snow-days and so forth.
The objective was to get the data then play it on the lair wall then add some nice titles and information that displays on the screen. Like the weather channel. With more information being able to play a hole years worth of images or just the last weeks or todays weather.
Materials
Reading
Prerequisites
The different pieces of the project.
Getting the data from the weather.gov. What the data was how it is presented to the public. Some info on gifs. Some info on xload image. Some info on the lair wall.
ssh root@wall##
~~~~~~~Stuff~~~~~~~~~
~~~~~~~End of Stuff~~~~~~
What should happen is that it's going to display the first image that meets the requirements and then the next in order. This makes a image by image display that moves. Like a cartoon.
xloadimage -global -delay 1 /src/wall/pic/2011?????????????[##]0.gif ←this is the US
xloadimage -geometry 2790×1506+0+0 -global -clip 2550,270,700,300 -global -Zoom 450 -global -delay 1 /src/wall/pic/2011?????????????[##]0.gif ←this is for NY.
xloadimage -geometry 2790×1506+0+0 -global -clip 2550,270,700,300 -global -zoom 450 -global -delay 1 /src/wall/pic/2011(##)←month(##)←day[##]0.gif ←this is for NY.
xloadimage -geometry 2790×1506+0+0 -global -Zoom 450 -global -delay 1 /src/wall/pic/2011?????????????[##]0.gif
Both Toilet and Figlet where used to display text in xterm.
This code is for the top banner that says weather.
xterm -fa "-*-dejavu sans-mono-r-*-*-*-*-*-*-*-*-*-*" -geometry 230x+8-1+0 -fg white -bg cadetblue4 -e "toilet -f mono9 -w 1000 ' ~~~~ W e a t h e r ~~~~'; sleep 120" &
This code is for the bottom banner that is for the second snowday that happened in 2011 at the college.
xterm -rv -fa "-*-dejavu sans-mono-r-*-*-*-*-*-*-*-*-*-*" -geometry 230x10-1+1400 -fg red -bg green -e "figlet -f mono9 -w 1000 ' SnowDay 2 ' 03-0 7-11 ; sleep 120" &
toilet -f mono12 -F gay (Word)
figlet -f mono12 -F metal (Word)
#!/bin/sh cd /home/pics for wall wget -q -O 'date +%Y%m%d%H%M'.gif website mv *.gif pic/
Zooming in just zooms in so you can see one part of the pitcher closer it doesn't move to other places on the screen that you have to do your self.