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:
Hope Slide, Canada  (CWKV)  674 m (2211 ft)     49.2750° N, 121.2364° W     (location info grabbed from http://weather.gladstonefamily.net/site/CWKV?showall=1)
http://weather.gladstonefamily.net/site/CWKV?showall=1
http://weather.gc.ca/past_conditions/index_e.html?station=wkv

Hope Slide  (CWKV)
674 m (2211 ft)
49.275° N, 121.236° W
Data provided by: Environment Canada
(As of: 23:26:00 PDT, Mon, May 21, 2018)
 Date    
 
 Time
(PDT)
 Air
  Temp
(°F)
 Wind
  Speed
(mph)
 Wind
 Direction
 
 Rel
 Humid
(%)
20 May 2018    23:00         —        —
21 May 2018    00:00         —        —
21 May 2018    01:00         —        —
21 May 2018    02:00         —        —
21 May 2018    03:00         —        —
21 May 2018    04:00         —        —
21 May 2018    05:00         —        —
21 May 2018    06:00     48.2    3    SE    89
21 May 2018    07:00     48.6    2    SE    88
21 May 2018    08:00     50.0    3    SE    81
21 May 2018    09:00     53.2    calm        69
21 May 2018    10:00     57.2    calm        61
21 May 2018    11:00     62.2    9    NW    58
21 May 2018    12:00     61.2    17    NW    59
21 May 2018    13:00     61.7    17    NW    57
21 May 2018    14:00     64.4    11    NW    55
21 May 2018    15:00     65.8    11    NW    54
21 May 2018    16:00     63.9    14    NW    57
21 May 2018    17:00         —        —
21 May 2018    18:00         —        —
21 May 2018    19:00         —        —
21 May 2018    20:00         —        —
21 May 2018    21:00         —        —
21 May 2018    22:00         —        —

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