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:
Whistler  (CWAE)  658 m (2159 ft)     50.129° N, 122.955° W     (location info from stored values in internal table)
http://weather.gladstonefamily.net/site/CWAE?showall=1
http://weather.gc.ca/past_conditions/index_e.html?station=wae

Whistler  (CWAE)
658 m (2159 ft)
50.129° N, 122.955° W
Data provided by: Environment Canada
(As of: 7:44:53 PDT, Wed, Jul 8, 2020)
 Date    
 
 Time
(PDT)
 Air
  Temp
(°F)
 Wind
  Speed
(mph)
 Wind
 Direction
 
 Rel
 Humid
(%)
 Sea Level
 Pressure
(in Hg)
07 July 2020    08:00     52.2    6    S    94    30.0
07 July 2020    09:00     52.0    5    S    95    30.0
07 July 2020    10:00     52.5    3    S    94    30.0
07 July 2020    11:00     52.9    6    S    92    30.0
07 July 2020    12:00     54.3        r>    90    30.0
07 July 2020    13:00     54.9        r>    82    30.0
07 July 2020    14:00     55.0    6    N    78    30.0
07 July 2020    15:00     56.5        r>    74    30.0
07 July 2020    16:00     55.8        r>    73    30.1
07 July 2020    17:00     55.9    6    N    72    30.1
07 July 2020    18:00     56.8        r>    72    30.1
07 July 2020    19:00     55.6    —        76    30.1
07 July 2020    20:00     54.9    —        78    30.1
07 July 2020    21:00     54.0    —        81    30.1
07 July 2020    22:00     53.1    —        85    30.1
07 July 2020    23:00     52.7    —        86    30.1
08 July 2020    00:00     52.9    —        86    30.1
08 July 2020    01:00     52.2    —        89    30.1
08 July 2020    02:00     52.3    —        87    30.1
08 July 2020    03:00     52.3    —        88    30.1
08 July 2020    04:00     52.2    —        88    30.1
08 July 2020    05:00     51.6    —        89    30.1
08 July 2020    06:00     51.3    calm        91    30.1
08 July 2020    07:00     52.3    calm        88    30.1

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