#!/bin/csh -f 

@ i = 2 
while ($i < 24)
 if ($i <10)then
   set filename = 20100706_0${i}00_nowrad.gif
 else
   set filename = 20100706_${i}00_nowrad.gif
 endif
 echo ${filename}
 wget http://www1.ncdc.noaa.gov/pub/data/nexrad/natcompnew/2010/07/${filename}
@ i ++
end 
