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"); ?>
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 2022 03
MONTHLY CLIMATOLOGICAL SUMMARY for MAR. 2022
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.7 72.1 3:05p 42.9 6:15a 10.6 1.3 0.00 0.9 10.0 10:45a WSW
2 55.0 70.8 3:20p 43.2 6:35a 10.8 0.9 0.00 0.7 8.0 3:45p N
3 52.2 59.3 12:55p 46.0 2:15a 12.8 0.0 0.06 0.3 6.0 12:35p N
4 51.6 60.5 2:30p 44.3 12:00m 13.4 0.0 0.10 2.0 21.0 4:15p W
5 47.4 56.0 2:35p 40.1 12:00m 17.6 0.0 0.01 1.8 13.0 3:25a W
6 47.9 62.3 2:30p 35.9 6:50a 17.1 0.0 0.00 1.1 13.0 3:10p WSW
7 49.5 65.2 4:00p 35.8 6:45a 15.5 0.0 0.00 1.5 14.0 3:40p WSW
8 54.7 71.5 3:15p 39.5 6:40a 11.6 1.3 0.00 1.3 13.0 2:05p SW
9 52.6 68.6 2:20p 40.8 6:20a 12.8 0.4 0.00 1.6 17.0 4:10p WSW
10 51.7 65.6 3:35p 39.3 6:05a 13.4 0.0 0.00 2.0 17.0 12:25p S
11 53.4 72.8 3:30p 37.2 6:45a 12.9 1.4 0.00 1.2 12.0 2:35p SW
12 52.4 69.4 3:15p 37.9 6:35a 13.2 0.5 0.00 1.2 12.0 4:10p S
13 55.4 66.3 2:55p 45.8 12:00m 9.2 0.1 0.00 1.3 13.0 3:35p N
14 54.2 72.8 4:20p 39.2 7:45a 12.1 1.3 0.00 1.2 11.0 5:00p W
15 59.3 68.9 2:50p 50.5 12:00m 6.3 0.7 0.00 1.3 13.0 5:40p N
16 54.3 69.9 4:00p 42.1 6:35a 11.3 0.7 0.00 1.3 13.0 12:15p W
17 53.7 67.1 1:40p 44.8 7:15a 11.4 0.1 0.00 1.2 12.0 1:35p N
18 54.8 71.3 4:55p 41.6 7:30a 11.3 1.1 0.00 1.3 12.0 3:10p W
19 52.3 56.6 12:35p 48.9 6:40a 12.7 0.0 0.16 0.7 13.0 9:30a W
20 53.2 67.4 4:50p 41.2 7:30a 12.0 0.2 0.01 1.7 13.0 11:55a N
21 55.9 73.2 5:00p 41.8 6:40a 10.6 1.5 0.00 1.5 16.0 3:40p ENE
22 65.1 81.6 4:00p 51.0 2:50a 5.4 5.5 0.00 1.7 12.0 10:15a N
23 59.2 74.0 3:20p 49.4 6:55a 7.3 1.4 0.00 1.0 11.0 4:10p N
24 56.4 73.5 3:45p 42.6 7:05a 10.1 1.5 0.00 1.5 11.0 1:20p N
25 57.8 72.0 4:10p 50.4 12:00m 8.2 1.0 0.00 1.3 10.0 5:20p N
26 56.3 70.6 4:30p 43.2 7:15a 9.8 1.2 0.00 1.4 11.0 5:10p NNE
27 56.4 65.2 3:40p 49.8 7:20a 8.6 0.0 0.74 3.0 25.0 4:00p SSE
28 54.0 59.6 1:20p 48.9 12:00m 11.0 0.0 0.66 1.5 17.0 12:15a NNW
29 53.3 63.2 4:10p 43.3 6:55a 11.7 0.0 0.01 1.7 13.0 1:15p WSW
30 54.5 64.8 4:10p 47.9 12:00m 10.5 0.0 0.00 1.5 13.0 5:25p W
31 54.3 69.6 3:40p 43.1 7:05a 11.2 0.5 0.00 1.3 13.0 3:55p S
-------------------------------------------------------------------------------------
54.3 81.6 22 35.8 7 352.4 22.6 1.75 1.4 25.0 27 N
Max >= 90.0: 0
Max <= 32.0: 0
Min <= 32.0: 0
Min <= 0.0: 0
Max Rain: 0.74 ON 03/27/22
Days of Rain: 5 (>.01 in) 3 (>.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 ]