windcan
THIS PROGRAM USES THE URLWRITE COMMAND (LIBCURL) TO DOWNLOAD HOURLY CLIMATE DATA FROM THE ENVIRONMENT CANADA WEBSITE. CURL SUPPORTS HTTP, FTP AND FILE PROTOCOLS.
WIND DATA IS THEN PLUCKED FROM THE DOWNLOADED FILES AND SAVED IN A CSV FILE WHICH CAN LATER BE ANALYSED IN WRPLOT OR A SIMILAR PROGRAM, SEE http://www.weblakes.com/products/wrplot/index.html
OUTPUT FILE COLUMN ORDER IS YEAR, MONTH, DAY, HOUR, DIRECTION, SPEED
GO TO http://climate.weatheroffice.ec.gc.ca/climateData/canada_e.html TO FIND THE STATION ID OF THE LOCATION OF INTEREST
THE USER IS BOUND BY THE LICENSE AGREEMENT FOR USE OF ENVIRONMENT CANADA DATA, SEE http://climate.weatheroffice.ec.gc.ca/prods_servs/tables/attachment1_e.html
THIS CODE CAN BE EASILY MODIFIED TO PLUCK HOURLY TEMPERATURE DATA INSTEAD OF OR IN ADDITION TO WIND DATA.
Cite As
Josh Wiebe (2024). windcan (https://www.mathworks.com/matlabcentral/fileexchange/25764-windcan), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Sciences > Earth, Ocean, and Atmospheric Sciences > Weather and Atmospheric Science >
- Sciences > Earth, Ocean, and Atmospheric Sciences > Climate Science and Analysis >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.