Free Weather Website Templates

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.
RSS feed for Scripts Updates A RSS Feed is available to help keep you informed on updates to the scripts.

Many of these scripts are now available on GitHub at

If you find one or more of the scripts useful to you, please consider making a donation to help offset the routine expenses of operation of this website.
Thanks for your kind support!

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 Weather-Watch forums and saratogaWXPHP Twitter account as they become available.

This page was updated Thursday, 09-Feb-2017 11:27 AM

PHP/AJAX Website Template Set - Updates

Note: this page should be used to upgrade V2 Weather-Display/AJAX/PHP templates only to new V3 templates with the WD-plugin.

Select the current V2 template you are using on your weather website, then press "Create Upgrade File" to see the list of files needing update to convert your website to a V3 template. Click on the "Download a ZIP file of updates" and save the file locally -- it contains all the files needed for the upgrade.
Carefully follow the Recommend: instructions for each file listed when doing the website update.

Checking the "Save selections?" checkbox and clicking on "Create Upgrade File" button will store your selections in a browser cookie so it will be available the next time you visit this page.
Note: Browser cookies must be enabled to save your selections.

If you would like your site listed as using the templates, please contact me with your weather website URL, location, Base and Plugin used.

The dates in the distribution files are stored using Pacific time (GMT-8hrs).


V3 template version history (latest 20 updates)

  • Version 3.343 - 02-Jun-2021 (Base-*) update common.php V1.12 to add cookie for persistent language selection (lang=)
  • Version 3.342 - 28-May-2021 (CU-plugin) update ./cumx/cumulusmxcharts.js V1.01 to add cuDir variable for CumulusMX .json files not in same directory as wxgraphs.php
  • Version 3.341 - 14-May-2021 (Base-*) updated multiple scripts for WeeWX support check-fetch-times.php V1.43, include-wxstatus.php V1.12, thermometer.php V1.17, top.php V3.06, wxgraphs.php V1.07, ajaxWEEWXwx.js v2.26; (WEEWX-plugin) Version 1.00 initial release
  • Version 3.340 - 02-May-2021 (Base-USA) updated wxnwsradar-inc.php, wxnwsradar-iframe.php V2.01 to add composite radar images to list for display
  • Version 3.339 - 19-Apr-2021 (Base-Canada) updated wxecradar-iframe.php V1.01 to have additional diagnostics for image list fetch from Environment Canada site
  • Version 3.338 - 14-Apr-2021 (Base-*) updated check-fetch-times.php V1.42 for additional version checks;
    (Base-Canada) added wxecradar*.php script set to display Environment Canada radar .gif images using HAniS JavaScript
  • Version 3.337 - 06-Apr-2021 (Base-*) updated check-fetch-times.php V1.41 for additional version checks;
    (Base-USA) updated USA-regional-maps-inc.php V1.03 to use NWS regional loops from, updated wxnwsradar.php V2.01, wxnwsradar-inc.php V2.00, wxnwsradar-iframe.php V2.00 to use NEXRAD images from
  • Version 3.336 - 12-Feb-2021 (Base-*) updated get-UV-forecast-inc.php V1.09 to use https to site
  • Version 3.335 - 08-Feb-2021 (Base-USA) updated NWS-regional-radar-animate.php V1.03 to add cache busting / expires headers and fix one typo in tables
  • Version 3.334 - 01-Feb-2021 (Base-*) updated get-metar-conditions-inc.php V1.19 to correct code for Ice Pellets from 'PE' to 'PL' (thanks to Jim of
  • Version 3.333 - 27-Jan-2021 (Base-Canada) updated ec-radar.php V2.06 with allowed sites listing and a parse fix for source page charset
  • Version 3.332 - 26-Jan-2021 (Base-*) updated check-fetch-times.php V1.40 to show additional PHP/site info; (Base-USA) updated NWS-regional-radar-animate.php V1.02 to add error messages on "Not Available" image
  • Version 3.331 - 12-Jan-2021 (Base-*) deprecated swfobject.js, wxlive.php as Adobe Flash is discontinued, update check-fetch-times.php V1.39 for Flash deprecation;
    (Base-USA) update NWS-regional-radar-animate.php V1.01 to fix issues with null parameters and add Last-modified header
  • Version 3.330 - 06-Jan-2021 (Base-USA) add NWS-regional-radar-animate.php V1.00, update USA-regional-maps-inc.php V1.02, update wxnwsradar.php V2.00, deprecate wxnwsradar-inc.php and wxnwsradar-iframe.php, update check-fetch-times.php V1.38 for new animated GIF regional radar maps from
  • Version 3.329 - 01-Jan-2021 (Base-World) update WC-forecast.php V1.05 to fix PoP display on forecast icon (by rounding PoP to nearest tens)
  • Version 3.328 - 17-Dec-2020 (Base-USA) update USA-regional-maps-inc.php V1.01 to address loss of regional composite radar images from
  • Version 3.327 - 07-Dec-2020 (Base-*) update common.php V1.11 and flyout-menu.php V1.09 for PHP 8.0.0 compatibility
  • Version 3.326 - 15-Jul-2020 (Base-USA) update advforecast2.php (JSON) V5.17 for improved error handling, curl logging capability and to use GeoJSON queries w/new cache filenames
  • Version 3.325 - 07-Jul-2020 (Base-*) update quake-json.js V1.01 to fix window.onload interference with sorttable function
  • Version 3.324 - 30-Jun-2020 (Base-*) update quake-json.php V3.03 to fix translation HTML validation and add $SITE['USGStranslate'] Settings.php capability

A full version history is available here.