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: 10:55:50 PST, Thu, Feb 22, 2018)
 Date    
 
 Time
(PST)
 Air
  Temp
(°F)
 Wind
  Speed
(mph)
 Wind
 Direction
 
 Rel
 Humid
(%)
 Sea Level
 Pressure
(in Hg)
21 February 2018    11:00     15.8    2    SSW    81    30.2
21 February 2018    12:00     17.2    2    SSW    81    30.2
21 February 2018    13:00     19.2    2    SW    81    30.2
21 February 2018    14:00     20.8    calm        84    30.2
21 February 2018    15:00     20.3    calm        83    30.2
21 February 2018    16:00     19.2    2    SSW    86    30.2
21 February 2018    17:00     18.3    calm        91    30.2
21 February 2018    18:00     16.0    calm        96    30.2
21 February 2018    19:00     13.5    calm        96    30.2
21 February 2018    20:00     11.8    calm        95    30.2
21 February 2018    21:00     10.8    calm        94    30.2
21 February 2018    22:00     9.7    2    E    94    30.2
21 February 2018    23:00     9.5    calm        95    30.2
22 February 2018    00:00     8.4    3    E    93    30.2
22 February 2018    01:00     7.5    calm        93    30.2
22 February 2018    02:00     8.6    calm        95    30.3
22 February 2018    03:00     9.5    2    NNE    93    30.3
22 February 2018    04:00     8.8    2    NE    95    30.3
22 February 2018    05:00     9.3    calm        94    30.3
22 February 2018    06:00     8.6    calm        94    30.3
22 February 2018    07:00     9.7    3    ENE    92    30.3
22 February 2018    08:00     8.4    2    ENE    91    30.4
22 February 2018    09:00     11.3    4    NE    89    30.4
22 February 2018    10:00     18.1    3    E    78    30.4

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