GetEC.php
This PHP script grabs data for any Environment Canada site and formats it to roughly match the MesoWest data from GetMesoWest.php and the SNOTEL data from GetSNOTEL.php.
Data provided by Environment Canada   https://weather.gc.ca
PHP script by Amar Andalkar, January 2016   (current version 1.1 of 12 Mar 2016)   http://www.skimountaineer.com/

Search for a Site by Station ID:   (Enter a full Station ID, 4 characters only, case-insensitive)        
Number of Days: (Limit: 365 if logged in, or only 1 if not logged in)     End Date: (Format: yyyy-mm-dd, or current date/time if blank)     Show hidden data columns    
Plain Version (just the data table)     Smaller Font     Fixed-Width Font     Table Border     Table Dividers (between days or months)     Table Cell Padding: (if blank, then 0 if plain, 1 otherwise)            
Site Info, Location:
Site Location Info Page:
Full URL for Data Shown Below:
Whistler  (CWAE)  658 m (2159 ft)     50.129° N, 122.955° W     (location info from stored values in internal table)
http://weather.gladstonefamily.net/site/CWAE?showall=1
http://weather.gc.ca/past_conditions/index_e.html?station=wae

Whistler  (CWAE)
658 m (2159 ft)
50.129° N, 122.955° W
Data provided by: Environment Canada
(As of: 7:46:22 PDT, Fri, Mar 29, 2024)
 Date    
 
 Time
(PDT)
 Air
  Temp
(°F)
 Wind
  Speed
(mph)
 Wind
 Direction
 
 Rel
 Humid
(%)
 Sea Level
 Pressure
(in Hg)
28 March 2024    08:00     33.1    calm        100    29.7
28 March 2024    09:00     34.0    calm        100    29.7
28 March 2024    10:00     36.0    calm        100    29.7
28 March 2024    11:00     39.2    calm        100    29.7
28 March 2024    12:00     41.2    calm        91    29.7
28 March 2024    13:00     41.4    2    S    83    29.7
28 March 2024    14:00     44.1    2    S    67    29.7
28 March 2024    15:00     46.6    2    S    65    29.7
28 March 2024    16:00     45.0    6    S    67    29.7
28 March 2024    17:00     45.1    2    S    63    29.7
28 March 2024    18:00     43.0    calm        73    29.7
28 March 2024    19:00     41.4    —        76    29.7
28 March 2024    20:00     39.4    —        85    29.7
28 March 2024    21:00     39.6    —        84    29.8
28 March 2024    22:00     37.4    —        89    29.8
28 March 2024    23:00     35.8    —        93    29.8
29 March 2024    00:00     35.6    —        95    29.8
29 March 2024    01:00     35.2    —        95    29.8
29 March 2024    02:00     35.6    —        95    29.8
29 March 2024    03:00     35.6    —        95    29.8
29 March 2024    04:00     35.8    —        96    29.9
29 March 2024    05:00     35.8    —        96    29.9
29 March 2024    06:00     35.6    —        97    29.9
29 March 2024    07:00     35.2    calm        100    29.9

Run time: 0.816 seconds
Requested data: 24 rows, columns, values
Received data: rows