How I can use urlread to read a .dat file from a 'real-time' web source
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Weather and Atmospheric Science dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!