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:
Blackcomb Base Sliding Center  (CVOI)  937 m (3074 ft)     50.103° N, 122.936° W     (location info from stored values in internal table)
http://weather.gladstonefamily.net/site/CVOI?showall=1
http://weather.gc.ca/past_conditions/index_e.html?station=voi

Blackcomb Base Sliding Center  (CVOI)
937 m (3074 ft)
50.103° N, 122.936° W
Data provided by: Environment Canada
(As of: 0:28:39 PDT, Mon, Aug 20, 2018)


Environment Canada server message:
The past 24 hour conditions table is not available for this location.

















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