Downloading weather files from a server
Show older comments
Hello
I am working on a project where i need to periodically download weather forecasts from a server. I have been experimenting with the urlread() and urlwrite() functions which is easy enough. The problem is that the url for the file includes date and time of submission. So i would like to download the most recent files.
an example url: http://dd.weatheroffice.ec.gc.ca/meteocode/ont/csv/2012-01-07T09-30-02Z_FPTO51.0_r1101_CC.csv
where the date and time portion changes. How can i specify a url such that i will get the most recent copy?
Accepted Answer
More Answers (0)
Categories
Find more on Weather and Atmospheric Science in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!