Be the first to rate this file! 16 downloads (last 30 days) File Size: 3.83 KB File ID: #22520

Weather in Boston

by Doug Hull

 

23 Dec 2008

Code covered by BSD License  

Weather in Boston from weather.boston.com

Download Now | Watch this File

File Information
Description

This is likely to break as weather.boston.com updates their website, but as of Dec 2008, this file will scrape the page with URLREAD to pull out the historical highs and lows along with the current temperature and put them on a thermometer. REGEXP is used to pull the data from the URLREAD data.

This is not a useful, or well written file. It is hear to supplement a blog entry on blogs.mathworks.com/videos

 

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Thermometer plot

MATLAB release MATLAB 7.7 (R2008b)
Zip File Content  
Other Files thermometer.m,
weather.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
24 Dec 2008 Tom Cunningham

Uh, in the example, why is the 1883 High lower than the 1883 low? Still, it's a neat idea, I'll have to try it out! N/R till then!

& Merry Christmas!

24 Dec 2008 Doug Hull

That is an excellent question. I can not get the data that produced that example (it was yesterday, no archives are on the site). Looking at the code, I don't know why it would be wrong.

I put this in the category of ireproducible errors!

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
urlread Doug Hull 23 Dec 2008 16:25:07
kludge Doug Hull 23 Dec 2008 16:25:07
thermometer Doug Hull 23 Dec 2008 16:25:07
visualization Doug Hull 23 Dec 2008 16:25:07
weather Doug Hull 23 Dec 2008 16:25:07
web Doug Hull 23 Dec 2008 16:25:07
url Doug Hull 23 Dec 2008 16:25:07
html Doug Hull 23 Dec 2008 16:25:07
regular expression Doug Hull 23 Dec 2008 16:25:07
regexp Doug Hull 23 Dec 2008 16:25:07
regexpi Doug Hull 23 Dec 2008 16:25:07
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com