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:
Port Mellon  (CVOM)  123 m (404 ft)     49.526° N, 123.496° W     (location info from stored values in internal table)
http://weather.gladstonefamily.net/site/CVOM?showall=1
http://weather.gc.ca/past_conditions/index_e.html?station=vom

Port Mellon  (CVOM)
123 m (404 ft)
49.526° N, 123.496° W
Data provided by: Environment Canada
(As of: 7:50:19 PST, Tue, Nov 13, 2018)
 Date    
 
 Time
(PST)
 Air
  Temp
(°F)
 Wind
  Speed
(mph)
 Wind
 Direction
 
 Rel
 Humid
(%)
 Sea Level
 Pressure
(in Hg)
12 November 2018    08:00     38.7    2    N    79    30.4
12 November 2018    09:00     42.6    calm        70    30.4
12 November 2018    10:00     45.7    calm        66    30.5
12 November 2018    11:00     46.8    calm        63    30.4
12 November 2018    12:00     48.9    calm        60    30.4
12 November 2018    13:00     47.8    calm        57    30.4
12 November 2018    14:00     50.0    calm        51    30.4
12 November 2018    15:00     49.3    calm        61    30.4
12 November 2018    16:00     45.5    calm        74    30.4
12 November 2018    17:00     41.7    3    NNW    81    30.4
12 November 2018    18:00     43.9    2    NNW    69    30.4
12 November 2018    19:00     42.4    calm        69    30.4
12 November 2018    20:00     42.8    calm        66    30.4
12 November 2018    21:00     42.8    calm        65    30.4
12 November 2018    22:00     41.5    2    WNW    71    30.4
12 November 2018    23:00     40.1    2    NNW    79    30.4
13 November 2018    00:00     41.0    calm        73    30.4
13 November 2018    01:00     41.0    3    NNW    74    30.4
13 November 2018    02:00     41.9    calm        70    30.4
13 November 2018    03:00     42.8    calm        66    30.4
13 November 2018    04:00     43.2    calm        67    30.4
13 November 2018    05:00     42.3    calm        72    30.3
13 November 2018    06:00     40.6    calm        73    30.3
13 November 2018    07:00     39.9    calm        71    30.3

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