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: 0:29:56 PDT, Mon, Aug 20, 2018)
 Date    
 
 Time
(PDT)
 Air
  Temp
(°F)
 Wind
  Speed
(mph)
 Wind
 Direction
 
 Rel
 Humid
(%)
 Sea Level
 Pressure
(in Hg)
19 August 2018    01:00     64.6    calm        76    30.1
19 August 2018    02:00     64.0    calm        84    30.1
19 August 2018    03:00     63.9    3    NNW    81    30.1
19 August 2018    04:00     63.7    3    ENE    83    30.1
19 August 2018    05:00     63.0    calm        86    30.1
19 August 2018    06:00     62.4    calm        87    30.1
19 August 2018    07:00     62.4    3    NW    88    30.1
19 August 2018    08:00     63.1    2    E    86    30.1
19 August 2018    09:00     63.1    calm        87    30.1
19 August 2018    10:00     63.3    2    ESE    86    30.1
19 August 2018    11:00     64.9    2    SE    84    30.1
19 August 2018    12:00     65.7    3    ESE    82    30.1
19 August 2018    13:00     65.1    6    W    83    30.1
19 August 2018    14:00     64.6    10    W    85    30.0
19 August 2018    15:00     65.7    8    WNW    85    30.0
19 August 2018    16:00     67.1    2    WSW    80    30.0
19 August 2018    17:00     66.0    5    W    85    30.0
19 August 2018    18:00     67.1    5    E    83    30.0
19 August 2018    19:00     66.7    5    E    82    30.0
19 August 2018    20:00     66.7    4    E    83    30.0
19 August 2018    21:00     65.7    3    E    86    30.0
19 August 2018    22:00     65.8    calm        78    30.0
19 August 2018    23:00     65.5    calm        80    30.0
20 August 2018    00:00     65.8    calm        82    30.0

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