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:
Howe Sound - Pam Rocks  (CWAS)  10 m (33 ft)     49.488° N, 123.299° W     (location info from stored values in internal table)
http://weather.gladstonefamily.net/site/CWAS?showall=1
http://weather.gc.ca/past_conditions/index_e.html?station=was

Howe Sound - Pam Rocks  (CWAS)
10 m (33 ft)
49.488° N, 123.299° W
Data provided by: Environment Canada
(As of: 10:40:33 PDT, Sun, May 27, 2018)
 Date    
 
 Time
(PDT)
 Air
  Temp
(°F)
 Wind
  Speed
(mph)
 Wind
 Direction
 
 Rel
 Humid
(%)
 Sea Level
 Pressure
(in Hg)
26 May 2018    11:00     58.6    17    SSE    70    30.1
26 May 2018    12:00     59.9    16    SSE    70    30.1
26 May 2018    13:00     61.0    16    SSE    70    30.1
26 May 2018    14:00     62.6    13    SSE    63    30.1
26 May 2018    15:00     62.4    14    SSE    69    30.1
26 May 2018    16:00     62.4    15    SSE    69    30.1
26 May 2018    17:00     63.5    5    S    60    30.2
26 May 2018    18:00     63.1    8    ESE    63    30.2
26 May 2018    19:00     63.5    3    SSE    62    30.2
26 May 2018    20:00     63.0    4    SE    62    30.2
26 May 2018    21:00     61.9    2    W    62    30.2
26 May 2018    22:00     61.2    2    W    70    30.2
26 May 2018    23:00     59.5    5    WSW    71    30.2
27 May 2018    00:00     59.7    4    SW    74    30.2
27 May 2018    01:00     60.1    5    W    72    30.2
27 May 2018    02:00     59.9    7    WSW    66    30.2
27 May 2018    03:00     59.2    6    WSW    71    30.2
27 May 2018    04:00     59.0    calm        71    30.2
27 May 2018    05:00     58.5    6    WSW    72    30.2
27 May 2018    06:00     58.1    9    WSW    72    30.2
27 May 2018    07:00     58.6    3    WSW    72    30.2
27 May 2018    08:00     58.8    3    SW    66    30.2
27 May 2018    09:00     61.7    calm        63    30.2
27 May 2018    10:00     61.9    7    ESE    66    30.2

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