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.

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.255 - 13-Mar-2018 (Base-USA) removed wxnoaaiod.php/get-nnvl-iod.php from distribution as the NNVL has stopped publishing "Image of the Day" in March, 2018.
    (Base-*) updated check-fetch-times.php V1.22 to remove NOAA IOD checking for versions.
  • Version 3.254 - 11-Mar-2018 (AWN-plugin) added full multilanguage support, new Wind Gust Rose display, wind rose(s) now display in site units (not just mph)
  • Version 3.253 - 07-Mar-2018 (AWN-plugin) added trends and Highcharts graphs capability
  • Version 3.252 - 02-Mar-2018 (AWN-plugin) updated AWNtags.php V1.02 to force uppercase of macAddress and fix $WX['utctime'] on some systems
  • Version 3.251 - 01-Mar-2018 (Base-*) updated check-fetch-times.php V1.21 for improved diagnostics and fixes to USA/World forecast tests
  • Version 3.250 - 27-Feb-2018 (Base-USA) updated advforecast2.php (JSON) V5.05 with better handling of redirects for point/zone forecasts.
  • Version 3.249 - 27-Feb-2018 (Base-*) updated check-fetch-times.php V1.20 with AWN support
    (Base-World) updated WU-forecast.php V3.04 for query of /weather/country/city/lat,long/ support
  • Version 3.248 - 26-Feb-2018 (Base-*,AWN-plugin) Updates to support new Plugin (allows a template website for weather stations that submit data to
  • Version 3.247 - 27-Jan-2018 (Base-USA) updated nws-alerts.php scripts V1.42 with PHP7+ changes
  • Version 3.246 - 24-Jan-2018 (Base-Canada) updated wxindex.php with CSS changes for ec-forecast.php V3+ alerts display
  • Version 3.245 - 09-Jan-2018 (Base-*,WLCOM-Plugin) updated WLCOM plugin to use new API. Now requires DeviceID and Key in Settings-weather.php for operation.
  • Version 3.244 - 20-Nov-2017 (Base-Canada) updated ec-forecast.php V5.02 to display wind gust in conditions and hourly forecasts, fix blank icon issue for no conditions reported
  • Version 3.243 - 11-Nov-2017 (Base-*) updated get-UV-forecast-inc.php V1.08 to use curl fetch and fix notice errata
  • Version 3.242 - 07-Nov-2017 (Base-Canada) updated ec-forecast.php V5.01 to add missing windchill display to conditions box
  • Version 3.241 - 20-Oct-2017 (Base-*) updated get-USNO-sunmoon.php V3.01 with fix for DMY calculated date format
  • Version 3.240 - 17-Oct-2017 (Base-*) updated check-fetch-times.php V1.19 with improved show=info diagnostics
  • Version 3.239 - 15-Oct-2017 (Base-Canada) updated ec-lightning.php V1.02 to correct missing function call error
  • Version 3.238 - 13-Oct-2017 (Base-Canada) updated ec-lightning.php V1.01 to use cURL and HTTPS access to EC website
  • Version 3.237 - 11-Oct-2017 (Base-*) updated get-USNO-sunmoon.php V3.00 for curl fetch and $SITE['useUSNO'] = false; to perform internal calculations instead of data;
    (Base-*) updated get-metar-conditions-inc.php V1.16 to use curl for fetch, fix fractional visibility calculation for kilometers;
    (Base-USA) updated advforecast2.php V5.03 with fix for stale point-forecast via API to cause failover to Zone forecast
  • Version 3.236 - 30-Sep-2017 (CU-Plugin) updated CU-trends-inc.php V1.10 to add Dew Point trends and note about data currency
    (MB-Plugin) updated MB-trends-inc.php V1.09 to add Dew Point trends and note about data currency
    (Base-*) updated ajaxCUwx.js V3.05 and ajaxMBwx.js V4.03 to support Dew Point updates on trends+fix Baro decimals display.

A full version history is available here.