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: 8:45:35 PST, Sat, Feb 23, 2019)
 Date    
 
 Time
(PST)
 Air
  Temp
(°F)
 Wind
  Speed
(mph)
 Wind
 Direction
 
 Rel
 Humid
(%)
 Sea Level
 Pressure
(in Hg)
22 February 2019    09:00     23.2    calm        97    29.8
22 February 2019    10:00     24.4    calm        95    29.8
22 February 2019    11:00     25.0    calm        95    29.8
22 February 2019    12:00     27.5    calm        88    29.8
22 February 2019    13:00     28.4    calm        83    29.8
22 February 2019    14:00     34.0    2    SW    67    29.7
22 February 2019    15:00     32.5    2    SW    75    29.8
22 February 2019    16:00     33.3    calm        79    29.8
22 February 2019    17:00     26.6    calm        89    29.8
22 February 2019    18:00     23.9    calm        96    29.8
22 February 2019    19:00     21.2    calm        97    29.9
22 February 2019    20:00     19.0    2    E    96    29.9
22 February 2019    21:00     20.1    2    ENE    96    29.9
22 February 2019    22:00     20.5    calm        95    29.9
22 February 2019    23:00     20.8    2    E    96    29.9
23 February 2019    00:00     21.4    2    E    97    29.9
23 February 2019    01:00     21.4    calm        97    29.9
23 February 2019    02:00     20.7    calm        97    30.0
23 February 2019    03:00     20.7    2    E    97    30.0
23 February 2019    04:00     21.0    calm        97    30.0
23 February 2019    05:00     21.6    calm        97    30.0
23 February 2019    06:00     21.6    calm        98    30.0
23 February 2019    07:00     21.4    calm        97    30.0
23 February 2019    08:00     22.3    calm        96    30.0

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