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

Close-button

Ten Day Forecast Highs for Natick, MA

This trend is disabled.

This value is being sent to Trendy: [33 41 34 35 46 61 58 46 43 46]

This trend is disabled and will not collect data until re-enabled.

  • Created by: Ned Gulley
  • Last ran: 29 days ago.
  • Auto-run in: 27 days.
  • Created on: 18 May 2012
  • Liked: 1 time

381

data points

Disabled

Description:

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

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

Time Recorded (time1655) Data (data1655)
19 Nov 2014 12:30:08 [33 41 34 35 46 61 58 46 43 46]
18 Nov 2014 12:30:08 [35 33 42 34 36 51 63 56 45 41]
17 Nov 2014 12:30:08 [53 35 33 42 36 39 49 61 59 50]
16 Nov 2014 12:30:08 [43 53 37 34 42 43 39 47 53 56]
15 Nov 2014 12:30:10 [39 46 46 37 35 40 40 39 41 50]
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


    1 comment

    Ned Gulley 27 days ago

    Weather.com changed their API dramatically.