How I can use urlread to read a .dat file from a 'real-time' web source
2 次查看(过去 30 天)
显示 更早的评论
I am trying to use urlread to read the information contained here (raw data updated every hour):
This is weather information which is comma separated. I require it to draw a sun path diagram for a solar project.
I have tried the following prompt:
str = urlread('http://xweb.geos.ed.ac.uk/~weather/jcmb_ws/CR10X1.DAT');
But I get the following error:
??? Error using ==> urlread at 111 Error downloading URL. Your network connection may be down or your proxy settings improperly configured.
I have heard this can be a security issue however the same web page stores past data per month as csv's and those files read fine:
Eventually I would like to store this data as a matrix so that it can be accessed/continually updated with the new weather info.
Thanks in advance.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Weather and Atmospheric Science 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!