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:
Callaghan Valley  (CVOD)  884 m (2900 ft)     50.144° N, 123.111° W     (location info from stored values in internal table)
http://weather.gladstonefamily.net/site/CVOD?showall=1
http://weather.gc.ca/past_conditions/index_e.html?station=vod

Callaghan Valley  (CVOD)
884 m (2900 ft)
50.144° N, 123.111° W
Data provided by: Environment Canada
(As of: 0:29:34 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     57.4    calm        76    30.2
19 August 2018    02:00     57.0    calm        73    30.1
19 August 2018    03:00     56.7    2    ENE    71    30.1
19 August 2018    04:00     56.5    3    E    69    30.1
19 August 2018    05:00     55.0    calm        71    30.2
19 August 2018    06:00     54.9    2    ENE    69    30.2
19 August 2018    07:00     54.5    2    ENE    69    30.2
19 August 2018    08:00     54.9    2    E    70    30.2
19 August 2018    09:00     58.1    3    E    70    30.2
19 August 2018    10:00     62.8    calm        65    30.2
19 August 2018    11:00     67.1    calm        42    30.2
19 August 2018    12:00     70.3    calm        39    30.1
19 August 2018    13:00     72.9    2    W    37    30.1
19 August 2018    14:00     76.3    3    WSW    30    30.1
19 August 2018    15:00     78.1    2    SW    26    30.1
19 August 2018    16:00     78.4    2    SSW    25    30.0
19 August 2018    17:00     79.0    2    SW    24    30.0
19 August 2018    18:00     73.9    calm        49    30.0
19 August 2018    19:00     68.5    2    E    57    30.1
19 August 2018    20:00     63.7    2    E    62    30.1
19 August 2018    21:00     61.0    2    E    58    30.1
19 August 2018    22:00     58.1    calm        63    30.1
19 August 2018    23:00     57.7    calm        60    30.1
20 August 2018    00:00     57.6    calm        60    30.1

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