They're free, but use at your own risk
The scripts referenced here are used in the operation of this weather station, and may be freely copied and used to support your station. Please note that you use these scripts at your own risk. No warranty is expressed or implied. I accept no liability for any damages that may ensue from their use.
You will need to configure them for your own particular weather station website.
A RSS Feed is available to help keep you informed on updates to the scripts.
A Version History is available -- check back from time to time to see if there are updates to scripts you have downloaded earlier.
Announcements of version updates and new scripts are made on
and saratogaWXPHP Twitter account as they become available.
This page was updated
Saturday, 17-Jul-2010 9:45 AM
Using AJAX for near real-time updates with Weather-Display
and Carter Lake HTML templates
Weather-Display software offers a near real-time update capability for the clientraw.txt file (a space-delimited text file of current conditions that's primarily used as a data source for the add-on WD-Live and MesoMapLive Flash displays). The contents of the clientraw.txt file (layout/field meanings and current values can be seen at http://www.tnetweather.com/wd-parser.php and docs in the clientrawdescription.txt in your wdisplay directory).
Tom at carterlake.org created and released a set of HTML templates for Weather-Display websites that have been very popular among weather enthusiasts. With Tom's permission, I've used his template set and added AJAX functionality to each page. The main page (wxlocal.html) has AJAX updated conditions throughout the page. The secondary pages (wxlocal[2..9].html) have an AJAX driven gizmo in the top right of the page. The gizmo will rotate display of current conditions.
New users to the carterlake templates can unpack the zip file, and follow Tom's readme.doc file to get their new site running with the templates. For current users of the carterlake templates, a set of detailed instructions is included to allow you to refit the AJAX mods into your existing template set.
Included with the package are a set of wind direction icons, rising and falling arrows, and a set of weather condition icons. Thanks to Larry at anolecomputer.com for his permission to redistribute his weather condition icons from his PHP Weather graphic software.
The functions have been tested with IE6-SP2, IE7, Firefox 2.0, Opera 8, Netscape 7 and seem to work ok and as a bonus, it validates to XHTML-1.0 Transitional at validator.w3.org.
I have a set of pages produced from the templates here, but are NOT uploaded via WD (so you can see which areas are AJAX enabled).
[ wxlocal-metric ]
Also available are the one-page carterlake templates with AJAX (samples not WD updated to show AJAX action)
[ onepage-US(English) | onepage-Metric ]
The full (customized) live set of pages is also available showing WD substitution [ wx.html ]
AJAX Weather-Display carterlake HTML templates: [v2.14] download [see version history]
View AJAX installation guide(readme) | View AJAX-FAQ | View the carterlake WD instructions (PDF)
Download just ajaxWDwx.js V2.20 script (updated 16-Jul-2010)
Download just ajaxgizmo.js V1.02 script (updated 20-Mar-2009)
Download new ajax-images updates for V2.08 (included in main .zip file)
Note: If your weather website supports PHP, I'd recommend you try the WD/AJAX/PHP templates instead -- they offer many more features (including multilingual capability) and are customized for USA, Canada or World websites.
Special thanks goes to 'pinto' (http://www.joske-online.be/clientraw/index.php) and
Tom (carterlake) who together pioneered the AJAX techniques
with Weather-Display and shared it with the world on the Weather-Display forum. My efforts here are based on their work and they have my gratitude for allowing other websites to use it.
This list of websites is maintained by Tom at Carterlake.org.
If you'd like your website listed, please contact him at email@example.com.
0 AJAX websites out of 0 carterlake template websites.
The data on this page is derived from Tom's Template Users Links page.