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: 9:33:02 PST, Mon, Nov 19, 2018)
 Date    
 
 Time
(PST)
 Air
  Temp
(°F)
 Wind
  Speed
(mph)
 Wind
 Gust
(mph)
 Wind
 Direction
 
 Rel
 Humid
(%)
 Sea Level
 Pressure
(in Hg)
18 November 2018    10:00     42.6    15        NNW    69    30.1
18 November 2018    11:00     42.6    7        NW    71    30.1
18 November 2018    12:00     44.4    4        NNW    66    30.1
18 November 2018    13:00     46.6    4        N    62    30.0
18 November 2018    14:00     47.7    2        NNE    59    30.0
18 November 2018    15:00     46.9    calm            63    30.0
18 November 2018    16:00     43.5    2        SW    78    30.0
18 November 2018    17:00     43.0    4        W    85    30.0
18 November 2018    18:00     43.2    4        W    79    30.1
18 November 2018    19:00     42.6    4        W    81    30.1
18 November 2018    20:00     43.9    8        NNW    79    30.1
18 November 2018    21:00     44.2    12        NNW    74    30.1
18 November 2018    22:00     43.3    9        NW    78    30.1
18 November 2018    23:00     43.5    9     17    NW    79    30.1
19 November 2018    00:00     43.9    10        NNW    74    30.1
19 November 2018    01:00     42.6    12        NW    84    30.1
19 November 2018    02:00     44.2    8        NW    72    30.1
19 November 2018    03:00     43.7    19        NNE    77    30.0
19 November 2018    04:00     45.0    15     22    NW    71    30.0
19 November 2018    05:00     43.3    13        NW    80    30.0
19 November 2018    06:00     43.9    7     17    WNW    77    30.0
19 November 2018    07:00     44.2    10        NNE    77    30.0
19 November 2018    08:00     43.7    12     19    NW    78    30.0
19 November 2018    09:00     44.8    15        N    77    30.0

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