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: 4:06:13 PDT, Sun, Aug 19, 2018)
 Date    
 
 Time
(PDT)
 Air
  Temp
(°F)
 Wind
  Speed
(mph)
 Wind
 Direction
 
 Rel
 Humid
(%)
 Sea Level
 Pressure
(in Hg)
18 August 2018    04:00     63.0    6    NW    86    30.1
18 August 2018    05:00     62.4    9    NNW    85    30.1
18 August 2018    06:00     62.4    3    WNW    84    30.1
18 August 2018    07:00     61.7    11    N    87    30.1
18 August 2018    08:00     62.2    10    N    85    30.1
18 August 2018    09:00     63.9    4    NE    80    30.1
18 August 2018    10:00     64.0    3    N    78    30.1
18 August 2018    11:00     64.9    3    E    76    30.1
18 August 2018    12:00     65.8    5    ESE    78    30.1
18 August 2018    13:00     66.7    8    SE    78    30.1
18 August 2018    14:00     68.0    5    SSE    73    30.0
18 August 2018    15:00     69.4    8    SSE    73    30.0
18 August 2018    16:00     69.8    calm        73    30.0
18 August 2018    17:00     68.2    10    SE    77    30.0
18 August 2018    18:00     68.0    11    SE    77    30.0
18 August 2018    19:00     67.6    12    SE    84    30.0
18 August 2018    20:00     66.9    7    ESE    84    30.0
18 August 2018    21:00     66.2    2    SW    85    30.0
18 August 2018    22:00     66.0    5    E    87    30.0
18 August 2018    23:00     64.4    3    WSW    90    30.0
19 August 2018    00:00     64.6    4    NW    90    30.0
19 August 2018    01:00     63.7    4    WNW    92    30.0
19 August 2018    02:00     63.3    5    NNW    92    30.0
19 August 2018    03:00     63.1    3    WNW    92    30.0

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