'''TclWeather''' is a simple weather applet that periodically downloads meteorological data from NOAA's web site[http://weather.noaa.gov]. The program first grabs the ''METAR''[http://weather.noaa.gov/weather/metar.shtml] report for the selected location. The location is selected from the application's control panel (which is selected by right clicking the ticker). [http://tcl.jtang.org/tclweather/tclweather-config1.png] [http://www.eteamz.com/HCYM/images/tclweather_loc.gif] ''(Screenshots of TclWeather running under Tcl/Tk 8.3 in Linux/x86 and MsWindows.)'' It then pushes the data through a home-made scanner (written as a ''[Fickle] specification file'') and then displays it on a home-made ticker widget. It is to Tcl what gweather[http://freshmeat.net/projects/gnomeweather/?topic_id=58] is to Gnome[http://www.gnome.org]. Here's a screenshot of it in action (first on Linux then on MsWindows). [http://tcl.jtang.org/tclweather/tclweather-ticker0.png] [http://www.eteamz.com/HCYM/images/tclweather.gif] The applet is fairly customizable, from the color choices to scrolling speed and direction. One feature it supports, that I find lacking by many others, is that it allows for HTTP proxies as well as proxy authentication. This is useful if one wishes to run TclWeather behind, for example, a corporation's proxy server. [http://tcl.jtang.org/tclweather/tclweather-config0.png] [http://www.eteamz.com/HCYM/images/tclweather_con.gif] ''If your browser does not support PNG images you can get the JPG versions at http://tcl.jtang.org/tclweather'' '''Downloads''' * '''TclWeather 1.10''' from http://tcl.jtang.org/tclweather/tclweather-1.10.tar.gz ''(cosmetic changes, left clicks enabled)'' * '''TclWeather 1.0''' from http://tcl.jtang.org/tclweather/tclweather-1.0.tar.gz ''(initial release)'' So you want to do some METAR data decoding? Look at the file utils/METAR_decoding. For your convenience, the file is replicated at http://tcl.jtang.org/tclweather/METAR_decoding. Post your flamebait and trollings below. ---- how far below? Using Netscape 4.77 on RedHat linux 6.2, the black pixel in your PNG files is rendered as white... I'm not sure why this is. I've encountered this in an endless number of places, although PNG files generated by xv look just fine in netscape, and the PNG files that netscape screws up look just fine in xv. [Jason Tang]: Odd. The images appear fine on my screen, under Mozilla (stable) and Debian/Woody. I had used the gimp to generate the PNG files, so perhaps it's a problem with that? Frans Houweling writes, ''Just one detail: I had to change line 356 [[of tclweather.tcl]'' named {set cmd [[$tw(browser) $url &]} ''into'' named {set cmd [[list $tw(browser) $url &]} To this I claim guilty as charged. ---- Return to [Jason Tang] ---- [Category Application] [Category Internet]Just one detail: I had to change line 356 named {set cmd [$tw(browser) $url &]} into named {set cmd [list $tw(browser) $url &]}