How I can use urlread to read a .dat file from a 'real-time' web source

2 visualizaciones (últimos 30 días)
P
P el 6 de Mzo. de 2013
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.

Respuestas (0)

Categorías

Más información sobre Weather and Atmospheric Science en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by