PHP Weather Station Scripts Page

Below are some PHP scripts I have written or modified for use on this site and for others to use on their web sites.
The scripts are designed as add-on pages for the WD-AJAX-PHP-Canada package available from Saratoga Weather.

These pages use the data available from:

Environment Canada Public Weather Warnings and Special Weather Statements
Air Quality Ontario AQI for select cities
WXSIM Updated to display either Environment Canada icons or NWS icons
Ministry of Natural Resources Added to compliment the weather station with a fire rating feature


Script Version Date Example Download
Air Quality Index Dashboard 1.10 June 17, 2011 Example ZIP []
WXSIM with Environment Canada or NWS icons 1.27 February 23, 2011 Example ZIP []
Environment Canada & WXSIM forecasts with Environment Canada or NWS icons 1.27 February 23, 2011 Example ZIP []
Ministry of Natural Resources Fire Rating Index with Google Map 1.0 April 07, 2011 Example ZIP []
Ministry of Natural Resources Current Fire Situation with Google Map 1.0 April 30, 2011 Example ZIP []

Random Weather Facts

Rainbows occur when sunlight is reflected by raindrops. The raindrops act like a prism, breaking the light into the colors of a rainbow, with red on the outer edge, and blue on the inner edge. On occasion, the light is reflected from both the front and back of the raindrops and two rainbows are visible. The color bands in the second rainbow are opposite to those in the primary rainbow.

Rainbows can be seen when the sun is shining and the air contains water spray or raindrops. This condition occurs frequently during or immediately following showers. Rainbows are always observed in the portion of the sky opposite the sun. The sun, the observer's eye, and the center of the rainbow arc, always fall in a straight line. The colors of the rainbow are violet, indigo, blue, green, yellow, orange, and red.