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:
Point Atkinson  (CWSB)  35 m (115 ft)     49.330° N, 123.265° W     (location info from stored values in internal table)
http://weather.gladstonefamily.net/site/CWSB?showall=1
http://weather.gc.ca/past_conditions/index_e.html?station=wsb

Point Atkinson  (CWSB)
35 m (115 ft)
49.330° N, 123.265° W
Data provided by: Environment Canada
(As of: 15:13:59 PST, Fri, Feb 22, 2019)
 Date    
 
 Time
(PST)
 Air
  Temp
(°F)
 Wind
  Speed
(mph)
 Wind
 Gust
(mph)
 Wind
 Direction
 
 Rel
 Humid
(%)
 Sea Level
 Pressure
(in Hg)
21 February 2019    15:00     41.7    4        W    56    30.1
21 February 2019    16:00     40.6    4        WNW    57    30.1
21 February 2019    17:00     40.8    calm            55    30.1
21 February 2019    18:00     39.6    calm            56    30.1
21 February 2019    19:00     39.4    calm            44    30.1
21 February 2019    20:00     39.4    calm            40    30.1
21 February 2019    21:00     38.8    6        E    57    30.1
21 February 2019    22:00     38.8    9        E    66    30.0
21 February 2019    23:00     39.7    13        ESE    59    30.0
22 February 2019    00:00     40.3    14        E    53    30.0
22 February 2019    01:00     40.3    16        E    55    30.0
22 February 2019    02:00     40.3    15        E    60    30.0
22 February 2019    03:00     40.1    16        ESE    65    30.0
22 February 2019    04:00     38.1    16        E    71    30.0
22 February 2019    05:00     37.2    25        E    84    29.9
22 February 2019    06:00     36.9    24     30    E    86    29.9
22 February 2019    07:00     38.5    28        E    76    29.9
22 February 2019    08:00     38.5    33     43    E    77    29.8
22 February 2019    09:00     37.0    29     41    E    86    29.8
22 February 2019    10:00     36.0    27     34    E    89    29.8
22 February 2019    11:00     35.8    24     30    E    91    29.8
22 February 2019    12:00     35.4    17     24    E    91    29.8
22 February 2019    13:00     34.0    4        WNW    93    29.8
22 February 2019    14:00     37.4    6        WNW    91    29.8

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