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.
Many of these scripts are now available on GitHub at https://github.com/ktrue
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
WXForum.net and
Weather-Watch forums
and saratogaWXPHP Twitter account as they become available.
Note: Twitter widget has been disabled 3-Jul-2023 since it no longer displays the recent update Tweets.
This page was updated
Friday, 11-Aug-2017 10:11 AM
PHP Scripts (run on webserver)
These scripts have run on PHP 4.1.2, and PHP 4.4.1. I don't have access to PHP 3.x, so it is not known if they will work on versions below PHP 4.1.2. If you try them and they work (or not) on earlier versions of PHP, please send me a message at webmaster[at]saratoga-weather.org and let me know the results.
Display .TXT NOAA style forecasts PHP
I needed to safely display a series of .TXT files (NOAA style climate reports) using the overall style of the website. My WeatherLink software produces regular reports (NOAAMO.TXT, NOAAPRMO.TXT, NOAAYR.TXT, NOAAPRYR.TXT) as part of the 5-minute update. I've also produced reports and named them NOAAyyyy.TXT for yearly reports and NOAAyyyy-mm.TXT for monthly reports. These I've uploaded (monthly) to a sub-directory on the website /NOAA-reports.
Version 1.04 (01-Dec-2007) adds a new feature for WeatherLink users to create new NOAAyyyy-mm.TXT and NOAAyyyy.TXT files from the respective NOAAPRMO.TXT and NOAAPRYR.TXT files when the month/year rolls over. It will copy the appropriate file to the $NOAAdir and name it so you have no monthly maintenance to do (except to view the NOAA reports page on the first of each month).
The NOAA-reports.php will read the sub-directory, sort the filenames produce a menu of available names, and display the file requested. It automatically uses NOAAMO.TXT and NOAAYR.TXT (WeatherLink version) for the current monthly and current yearly files. The nice thing about the script is it strictly controls what can be displayed (existing files only, no directory browsing). The following is a live display of WeatherLink produced NOAA style reports for this station.
<?php $doInclude = true; require("NOAA-reports-test.php"); ?>
2024: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2023: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2022: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2021: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2020: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2019: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2018: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2017: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2016: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2015: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2014: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2013: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2012: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2011: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2010: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2009: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2008: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2007: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2006: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2005: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2004: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
Report for 2016 11
MONTHLY CLIMATOLOGICAL SUMMARY for NOV. 2016
NAME: KCASARAT1 CITY: Saratoga STATE: CA
ELEV: 375 ft LAT: 37° 16' 28" N LONG: 122° 01' 23" W
TEMPERATURE (°F), RAIN (in), WIND SPEED (mph)
HEAT COOL AVG
MEAN DEG DEG WIND DOM
DAY TEMP HIGH TIME LOW TIME DAYS DAYS RAIN SPEED HIGH TIME DIR
------------------------------------------------------------------------------------
1 55.9 64.7 3:05p 48.8 11:55p 9.1 0.0 0.05 1.3 12.0 3:05p WSW
2 54.9 69.8 3:15p 44.4 6:20a 10.6 0.6 0.00 1.1 8.0 2:50p WSW
3 56.2 71.1 3:20p 45.9 7:20a 9.7 0.9 0.00 1.0 10.0 3:55p SSW
4 57.4 72.9 3:35p 47.6 7:35a 8.9 1.3 0.00 1.0 10.0 3:45p WSW
5 56.2 69.0 1:30p 45.4 7:30a 9.2 0.4 0.00 1.2 10.0 2:45p SW
6 59.7 70.1 2:05p 51.9 2:45a 6.1 0.7 0.00 0.5 6.0 12:55p W
7 60.9 72.2 1:40p 52.4 6:40a 5.4 1.3 0.00 0.7 8.0 2:50p W
8 61.3 74.6 2:40p 52.2 6:15a 5.7 2.0 0.00 1.0 10.0 3:00p W
9 60.6 74.9 2:30p 50.9 6:40a 6.3 1.9 0.00 1.0 8.0 1:40p W
10 61.4 75.6 2:30p 51.2 5:50a 6.0 2.4 0.00 0.8 7.0 12:40p N
11 61.8 76.3 1:30p 50.1 6:25a 5.5 2.4 0.00 1.1 11.0 12:45p WNW
12 60.7 72.9 1:15p 51.3 4:10a 5.9 1.6 0.00 1.0 10.0 1:35p SW
13 58.1 72.2 2:55p 48.8 6:00a 8.0 1.1 0.00 0.8 8.0 12:30p N
14 55.2 68.0 3:45p 46.3 6:30a 10.1 0.2 0.01 0.5 6.0 1:10p NW
15 58.7 69.3 2:15p 52.2 11:55p 6.7 0.4 0.00 1.2 14.0 3:50p W
16 52.3 60.6 1:05p 43.0 12:00m 12.7 0.0 0.00 2.9 18.0 1:10p NW
17 48.0 60.3 2:30p 39.3 6:45a 16.9 0.0 0.00 1.3 11.0 12:25p SW
18 52.5 66.8 12:45p 37.8 6:10a 12.6 0.1 0.00 2.6 18.0 1:50p E
19 56.2 59.1 10:20a 53.4 1:40a 8.8 0.0 0.33 3.5 22.0 8:55a E
20 55.4 60.9 11:25a 47.8 11:45p 9.6 0.0 0.53 1.2 11.0 12:15a ESE
21 51.4 62.3 2:45p 44.1 10:45p 13.6 0.0 0.01 1.4 13.0 12:25p SSW
22 50.5 61.4 3:15p 40.8 6:40a 14.5 0.0 0.00 1.3 14.0 10:05p SW
23 50.0 59.2 2:45p 42.3 12:00m 15.0 0.0 0.04 1.4 14.0 12:20a W
24 46.3 59.2 2:40p 38.2 6:00a 18.7 0.0 0.00 1.1 8.0 2:40p SW
25 48.9 59.1 2:45p 38.2 3:40a 16.1 0.0 0.00 1.2 12.0 11:40p SSW
26 51.0 57.8 1:15p 48.1 7:10p 14.0 0.0 0.47 2.0 22.0 4:00a ESE
27 51.0 57.7 1:35p 45.0 8:15p 14.0 0.0 0.23 2.4 20.0 12:50p NW
28 51.1 58.9 1:45p 42.5 11:50p 13.9 0.0 0.01 2.4 20.0 1:50p NW
29 46.5 58.2 2:10p 38.4 6:50a 18.5 0.0 0.00 1.8 13.0 2:25p SW
30 47.7 58.8 1:50p 37.5 4:15a 17.3 0.0 0.03 0.9 13.0 2:40p SSW
-------------------------------------------------------------------------------------
54.6 76.3 11 37.5 30 329.4 17.3 1.71 1.4 22.0 19 SW
Max >= 90.0: 0
Max <= 32.0: 0
Min <= 32.0: 0
Min <= 0.0: 0
Max Rain: 0.53 ON 11/20/16
Days of Rain: 7 (>.01 in) 4 (>.1 in) 0 (>1 in)
Heat Base: 65.0 Cool Base: 65.0 Method: Integration
Downloads .. please customize for your directory and file naming convention ( WL or VWS).
Download WeatherLink/ VWS version (V1.07 - 11-Aug-2017) [ see version history ]