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: 14:23:31 PST, Fri, Feb 22, 2019)
 Date    
 
 Time
(PST)
 Air
  Temp
(°F)
 Wind
  Speed
(mph)
 Wind
 Direction
 
 Rel
 Humid
(%)
 Sea Level
 Pressure
(in Hg)
21 February 2019    15:00     42.8    10    SE    51    29.9
21 February 2019    16:00     42.1    7    SSE    53    29.9
21 February 2019    17:00     41.5    6    SE    56    29.9
21 February 2019    18:00     40.1    4    SW    57    29.9
21 February 2019    19:00     39.7    2    NNW    62    29.9
21 February 2019    20:00     39.0    6    WNW    65    29.9
21 February 2019    21:00     39.0    6    WNW    68    29.9
21 February 2019    22:00     38.5    5    W    63    29.9
21 February 2019    23:00     38.3    7    WNW    69    29.9
22 February 2019    00:00     38.8    3    NW    64    29.9
22 February 2019    01:00     38.7    6    NW    70    29.9
22 February 2019    02:00     38.5    7    WNW    70    29.9
22 February 2019    03:00     38.7    3    WSW    69    29.9
22 February 2019    04:00     38.1    6    WSW    72    29.9
22 February 2019    05:00     35.1    10    WNW    91    29.8
22 February 2019    06:00     35.2    7    WNW    93    29.8
22 February 2019    07:00     35.8    11    WNW    92    29.8
22 February 2019    08:00     34.9    12    NNW    92    29.7
22 February 2019    09:00     34.7    14    NNW    95    29.7
22 February 2019    10:00     34.5    14    NNW    96    29.7
22 February 2019    11:00     34.7    13    NNW    97    29.7
22 February 2019    12:00     34.9    11    NW    97    29.7
22 February 2019    13:00     34.9    15    WNW    96    29.7
22 February 2019    14:00     36.9    21    NNW    93    29.7

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