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: 10:50:46 PST, Thu, Feb 22, 2018)
 Date    
 
 Time
(PST)
 Air
  Temp
(°F)
 Wind
  Speed
(mph)
 Wind
 Gust
(mph)
 Wind
 Direction
 
 Rel
 Humid
(%)
 Sea Level
 Pressure
(in Hg)
21 February 2018    11:00     30.4    15        E    52    30.3
21 February 2018    12:00     30.7    10        E    59    30.3
21 February 2018    13:00     29.8    15        E    76    30.2
21 February 2018    14:00     29.1    15        ESE    87    30.2
21 February 2018    15:00     30.0    15     20    E    89    30.2
21 February 2018    16:00     29.1    16        E    92    30.2
21 February 2018    17:00     29.1    15        E    89    30.2
21 February 2018    18:00     29.3    16        E    90    30.2
21 February 2018    19:00     29.1    13        E    90    30.2
21 February 2018    20:00     29.7    4        ENE    88    30.2
21 February 2018    21:00     29.1    calm            92    30.2
21 February 2018    22:00     29.8    calm            89    30.2
21 February 2018    23:00     29.7    4        NW    85    30.2
22 February 2018    00:00     29.5    2        NE    81    30.2
22 February 2018    01:00     29.3    calm            77    30.2
22 February 2018    02:00     30.0    3        NNW    72    30.2
22 February 2018    03:00     29.5    2        E    71    30.3
22 February 2018    04:00     28.2    3        ENE    81    30.3
22 February 2018    05:00     28.0    4        ENE    83    30.3
22 February 2018    06:00     28.0    2        ENE    84    30.3
22 February 2018    07:00     27.7    2        ENE    75    30.3
22 February 2018    08:00     30.2    calm            77    30.3
22 February 2018    09:00     32.0    4        E    78    30.4
22 February 2018    10:00     32.0    7        ESE    72    30.4

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