Since you are new, let us show you how Trendy works.

Close-button

Ten Day Forecast Highs for Natick, MA

  • Created by: Ned Gulley
  • Last ran: about 3 hours ago.
  • Auto-run in: about 21 hours.
  • Created on: 18 May 2012
  • Liked: 1 time

267

data points

Description:

Natick weather data gathered from this URL at Weather.com.

Recently Collected Data (last 5 of 267) Show All Data

Time Recorded (time1655) Data (data1655)
28 Jul 2014 11:30:09 [81 80 80 81 82 76 80 79 81 79]
27 Jul 2014 11:30:08 [79 83 81 81 82 82 80 78 81 84]
26 Jul 2014 11:30:08 [85 79 83 80 80 80 81 77 78 79]
25 Jul 2014 11:30:09 [85 86 83 84 81 80 82 79 78 77]
24 Jul 2014 11:30:09 [76 85 86 80 85 82 81 83 78 78]
url = 'http://www.weather.com/weather/tenday/Natick+MA+01760:4:US';
html = urlread(url);

target = 'class="wx-temp">\s(\d+)<sup>';
tk = regexp(html,target,'tokens');
hitemp = zeros(size(tk));
for i = 1:length(tk)
    hitemp(i) = str2num(tk{i}{1});
end

updatetrend(hitemp)
Tags:

    Add Tags


    0 comments