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: 10:59:29 PST, Thu, Dec 14, 2017)
 Date    
 
 Time
(PST)
 Air
  Temp
(°F)
 Wind
  Speed
(mph)
 Wind
 Direction
 
 Rel
 Humid
(%)
 Sea Level
 Pressure
(in Hg)
13 December 2017    11:00     34.3    calm        99    30.6
13 December 2017    12:00     36.5    calm        87    30.5
13 December 2017    13:00     37.0    2    NW    83    30.5
13 December 2017    14:00     36.9    2    N    82    30.5
13 December 2017    15:00     35.6    2    NW    86    30.5
13 December 2017    16:00     33.8    calm        91    30.5
13 December 2017    17:00     31.6    calm        95    30.5
13 December 2017    18:00     30.6    —        98    30.5
13 December 2017    19:00     30.6    —        98    30.5
13 December 2017    20:00     30.4    —        98    30.5
13 December 2017    21:00     29.5    —        99    30.5
13 December 2017    22:00     29.5    —        99    30.5
13 December 2017    23:00     29.1    —        99    30.5
14 December 2017    00:00     29.1    —        99    30.5
14 December 2017    01:00     28.2    —        99    30.5
14 December 2017    02:00     28.0    —        100    30.5
14 December 2017    03:00     28.2    —        99    30.4
14 December 2017    04:00     28.8    —        99    30.4
14 December 2017    05:00     28.2    —        100    30.4
14 December 2017    06:00     29.3    —        100    30.4
14 December 2017    07:00     28.6    calm        99    30.4
14 December 2017    08:00     28.6    calm        99    30.4
14 December 2017    09:00     30.0    calm        99    30.4
14 December 2017    10:00     30.7    calm        99    30.4

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