WU Ten Day forecast, Hot Summer: Day 1 gives -18 C / -0.4 F

Posted on
Wed May 09, 2018 3:10 am
McJohn offline
User avatar
Posts: 463
Joined: Dec 18, 2012
Location: The Netherlands

WU Ten Day forecast, Hot Summer: Day 1 gives -18 C / -0.4 F

Outside temperature at this moment is 23 C / 73.4 F.

But the WU Day Forecast at day 1 gives a minus digit. It says -18C / -0.4 F outside, but it's hot summer here...
How is this possible? This happens sometimes more (normally this 1 day forecast device is ok).
Attachments
Screen Shot 2018-05-09 at 10.53.58.png
Screen Shot 2018-05-09 at 10.53.58.png (35.47 KiB) Viewed 983 times
Screen Shot 2018-05-09 at 10.51.24.png
Screen Shot 2018-05-09 at 10.51.24.png (46.62 KiB) Viewed 983 times

Posted on
Wed May 09, 2018 3:30 am
McJohn offline
User avatar
Posts: 463
Joined: Dec 18, 2012
Location: The Netherlands

Re: WU Ten Day forecast, Hot Summer: Day 1 gives -18 C / -0.

We changed totally nothing at the settings and spontaneous after ~ 45 minutes it gives the right temperature; 24C.
Attachments
Screen Shot 2018-05-09 at 11.27.54.png
Screen Shot 2018-05-09 at 11.27.54.png (48.31 KiB) Viewed 982 times

Posted on
Wed May 09, 2018 4:46 am
DaveL17 offline
User avatar
Posts: 5363
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: WU Ten Day forecast, Hot Summer: Day 1 gives -18 C / -0.

That's on Weather Underground I'm afraid. The plugin doesn't change the forecast temperature data WU provide except to convert it from a string to an integer.

I haven't seen anything like that on the PWS sites that I use, but I have seen other weirdness. One PWS I watch will periodically freeze and then start again.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Wed May 09, 2018 8:36 am
McJohn offline
User avatar
Posts: 463
Joined: Dec 18, 2012
Location: The Netherlands

Re: WU Ten Day forecast, Hot Summer: Day 1 gives -18 C / -0.

Thanks for the fast explanation Dave.
We now know that we can't do anything about this.

(Every morning when our alarm system is switched off, Indigo speaks to the whole hose the forecast temperature for the day and it's a little bit strange when you hear that it will freeze outside in the middle of a hot summer day... :lol: )

Posted on
Wed May 09, 2018 8:45 am
DaveL17 offline
User avatar
Posts: 5363
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: WU Ten Day forecast, Hot Summer: Day 1 gives -18 C / -0.

If there is a more "official" weather site or a site that uses "Smart Forecasts" (if those are available in your area), you may want to give those a try. I would hope that a "Smart Forecast" would be smart enough to spot the error you experienced.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Fri May 11, 2018 7:40 am
McJohn offline
User avatar
Posts: 463
Joined: Dec 18, 2012
Location: The Netherlands

Re: WU Ten Day forecast, Hot Summer: Day 1 gives -18 C / -0.

I know see that also the date is wrong...
Today it's January 3.....
(But the observation date is correct; May 11).
Attachments
Screen Shot 2018-05-11 at 15.33.37.png
Screen Shot 2018-05-11 at 15.33.37.png (56.29 KiB) Viewed 855 times

Posted on
Fri May 11, 2018 7:47 am
McJohn offline
User avatar
Posts: 463
Joined: Dec 18, 2012
Location: The Netherlands

Re: WU Ten Day forecast, Hot Summer: Day 1 gives -18 C / -0.

WUnderground site forecast is OK:
Attachments
Screen Shot 2018-05-11 at 15.44.01.png
Screen Shot 2018-05-11 at 15.44.01.png (117.03 KiB) Viewed 853 times

Posted on
Fri May 11, 2018 7:50 am
DaveL17 offline
User avatar
Posts: 5363
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: WU Ten Day forecast, Hot Summer: Day 1 gives -18 C / -0.

Is it only Day 1 that's wrong? That's truly odd.

I do a little bit of refactoring on that value to convert the date to local time. It is supposed to account only for local preference of how the date is displayed--it should not be changing the date in any other way. In other words, WU provides "05-11-2018" and the local preference is "2018-05-11". Mine is displaying correctly here. I suspect--but don't know for sure--that the data element you received was wrong.

You can examine the weather data by selecting "Write Weather Data to File" from the plugin menu. There's a lot of data, but the 10-day forecast data should be in there. If you can post it to DropBox or another sharing site, I can inspect it.

I saw your most recent post and, unfortunately, we can't compare the API data to the website data for any clues. They can be (legitimately) different at times.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Fri May 11, 2018 8:29 am
McJohn offline
User avatar
Posts: 463
Joined: Dec 18, 2012
Location: The Netherlands

Re: WU Ten Day forecast, Hot Summer: Day 1 gives -18 C / -0.

Thanks for your fast help.
As you could see in the last Indigo Device screendump (post before) day 2 is January 4... (or 1 April in European settings?)

Could you tell me where the "Data to file" is placed and what is the name of this file?

Posted on
Fri May 11, 2018 8:55 am
DaveL17 offline
User avatar
Posts: 5363
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: WU Ten Day forecast, Hot Summer: Day 1 gives -18 C / -0.

Can and did are two separate things! :D

Perhaps if I opened my eyes wider...

I would recommend selecting "Refresh Data Now" to ensure that you have the most up-to-date API data and then select "Write Weather Data to File". When you do the latter, there should be a message written to the Indigo Event Log with the location and name of the file. Mine is:

Code: Select all
   WUnderground 7                  Weather data written to: /Library/Application Support/Perceptive Automation/Indigo 7/Logs/2018-05-11 Wunderground.txt

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Fri May 11, 2018 1:31 pm
McJohn offline
User avatar
Posts: 463
Joined: Dec 18, 2012
Location: The Netherlands

Re: WU Ten Day forecast, Hot Summer: Day 1 gives -18 C / -0.

Thanks for the hint of the location of the file. (In our Indigo log there was no such message).
Send you a message.

Posted on
Fri May 11, 2018 1:41 pm
DaveL17 offline
User avatar
Posts: 5363
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: WU Ten Day forecast, Hot Summer: Day 1 gives -18 C / -0.

McJohn wrote:
Thanks for the hint of the location of the file. (In our Indigo log there was no such message).
Send you a message.

Thanks for the feedback. That message is probably set to appear only when informational or debug logging is selected. I'll make a note to change that in an upcoming version.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sat May 12, 2018 12:18 pm
DaveL17 offline
User avatar
Posts: 5363
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: WU Ten Day forecast, Hot Summer: Day 1 gives -18 C / -0.

Unfortunately, I don’t think that there’s anything I can do about the odd date issue. I was able to replicate the result you’re seeing and the data coming from Weather Underground is wrong at the source:

Code: Select all
>>> print(x['forecast']['simpleforecast']['forecastday'][0]['date’])

{u'isdst': u'0', u'pretty': u'11:00 AM CST op 03 januari 2018', u'hour': 11, u'min': u'00', u'ampm': u'AM', u'tz_long': u'America/Chicago', u'month': 1, u'epoch': u'1514998800', u'weekday_short': u'wo', u'weekday': u'woensdag', u'monthname': u'januari', u'year': 2018, u'sec': 0, u'yday': 2, u'tz_short': u'CST', u'day': 3, u'monthname_short': u'jan'}

It may warrant a note to Weather Underground, though, as it could be an issue with whatever code they use when constructing the API data in Dutch.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest