It is currently March 28th, 2024, 11:05 am

Weather of my city is not working

Get help with installing and using Rainmeter.
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather of my city is not working

Post by balala »

SiriusEye wrote:Yup, not it shows the forecast for 3 days, but doesn't show current condition. :???:
As I wrote those information don't exist right now for your location (RSXX0043, Kazan, Russia). If you'll give a try to the new code, using another weather code, for another location, I think it'll return including the current day information. If weather.com will fix its code for your location, the skin will automatically start to return including the currently missing information. But up to then, we can't do more. Eventually, as jsmorley suggested in his last reply, try to find a nearby location, for which the current information are returned and use that one:
jsmorley wrote:pick another location code that is close to you and give that a try.
User avatar
rlnoonan
Posts: 26
Joined: July 30th, 2018, 10:37 pm

Re: Weather of my city is not working

Post by rlnoonan »

I know this is an old topic, but it seemed appropriate for my question.

I am using JSMorley's JSMeterVIII\WXDataWeather skin, version Feb 7, 2017 (awesome skin, BTW). The skin is displaying all the data fine. Today I happened to notice that the temperature does not match what my phone was showing. If it was off by a degree or so I wouldn't have noted it, but it is by 4 to 6 degrees, which seemed big enough to tell me something wasn't quite right.

Left clicking on the skin will open weather.com for the correct location. The weather information there pretty much matches my phone, but it doesn't match what the skin is displaying. I did a little digging to learn how the weather data is gathered and found out about the WXDATA weather feed. Using the like in the skin code, I opened the feed in my browser and think I see why the data is not matching. It looks like even with the correct location code, the WXDATA feed information is coming from a different location.

Correct location information:

Code: Select all

<loc id="USIL0280">
<dnam>Crystal Lake, IL</dnam>
<tm>11:49 AM</tm>
<lat>42.25</lat>
<lon>-88.32</lon>
<sunr>6:23 AM</sunr>
<suns>7:20 PM</suns>
<zone>-5</zone>
</loc>
Incorrect observation station(?):

Code: Select all

<cc>
<lsup>9/05/18 10:52 AM CDT</lsup>
<obst>Wheeling, IL, US</obst>
<tmp>86</tmp>
<flik>91</flik>
<t>Fair</t>
<icon>34</icon>
On the weather.com website I put in Wheeling, IL and sure enough, the data matches. I also tried changing my location code to some neighboring towns and they all seem to use Wheeling's data.

So I guess my question is, is this just a situation where weather.com has a limited number of locations that it uses for the WXDATA feed? I would have thought, since they have the data for all the different towns, that there would be a WXDATA feed for each one. I'm just wondering if this is just the way it is and there is nothing I can do about it to get my actual location's weather. Also, it looks like the WXDATA feed gets updated much less frequently than the actual website. Is that normal as well?

Thanks for any insight into how this works.
Bob
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather of my city is not working

Post by balala »

rlnoonan wrote:I am using JSMorley's JSMeterVIII\WXDataWeather skin, version Feb 7, 2017 (awesome skin, BTW). The skin is displaying all the data fine. Today I happened to notice that the temperature does not match what my phone was showing. If it was off by a degree or so I wouldn't have noted it, but it is by 4 to 6 degrees, which seemed big enough to tell me something wasn't quite right.
First of all, try completely restart Rainmeter. This is the very first step which should have to be done, because the the WebParser measures hang sometimes: https://forum.rainmeter.net/viewtopic.php?p=136507#p136507
Let us know if this fixed the issue.
User avatar
rlnoonan
Posts: 26
Joined: July 30th, 2018, 10:37 pm

Re: Weather of my city is not working

Post by rlnoonan »

Thanks balala. I did try restarting RainMeter (and actually ended up restarting my whole system since somehow RainMeter crashed when I tried to start it back up), but it didn't change anything.

It doesn't seem like this is a RainMeter issue at all, but instead just an issue with what weather.com is putting into its data feed. The skin seems to be correctly passing the location code to WXDATA, but the weather data coming back is just from a different location. Here is the full feed being parsed:

Code: Select all

<weather ver="2.0">
<head>
<locale>en_US</locale>
<form>MEDIUM</form>
<ut>F</ut>
<ud>mi</ud>
<us>mph</us>
<up>in</up>
<ur>in</ur>
</head>
<loc id="USIL0280">
<dnam>Crystal Lake, IL</dnam>
<tm>3:18 PM</tm>
<lat>42.25</lat>
<lon>-88.32</lon>
<sunr>6:23 AM</sunr>
<suns>7:20 PM</suns>
<zone>-5</zone>
</loc>
<swa>
<a id="383d3e78-c96c-3347-afb9-f186353c5add" uc="3">
<t>River Flood Warning until Fri Sep 07 2018 01:00 AM</t>
<l>
http://www.weather.com/weather/alerts/localalerts/USIL0280?phenomena=FL&significance=W&areaid=ILC111&office=KLOT&etn=0101
</l>
</a>
</swa>
<cc>
<lsup>9/05/18 2:59 PM CDT</lsup>
<obst>Wheeling, IL, US</obst>
<tmp>86</tmp>
<flik>89</flik>
<t>Thunder in the Vicinity</t>
<icon>38</icon>
<bar>
<r>29.35</r>
<d/>
</bar>
<wind>
<s>17</s>
<gust>25</gust>
<d>280</d>
<t>W</t>
</wind>
<hmid>55</hmid>
<vis>10.0</vis>
<uv>
<i>3</i>
<t>Moderate</t>
</uv>
<dewp>68</dewp>
<moon>
<icon>24</icon>
<t>Waning Crescent</t>
</moon>
</cc>
<dayf>
<lsup>9/05/18 7:00 AM CDT</lsup>
<day d="0" t="Wednesday" dt="Sep 5">
<hi>78</hi>
<low>60</low>
<sunr>6:23 AM</sunr>
<suns>7:20 PM</suns>
<part p="d">
<icon>37</icon>
<t>Isolated T-Storms</t>
<wind>
<s>13</s>
<gust>N/A</gust>
<d>314</d>
<t>NW</t>
</wind>
<bt>Iso T-Storms</bt>
<ppcp>30</ppcp>
<hmid>87</hmid>
</part>
<part p="n">
<icon>12</icon>
<t>Rain</t>
<wind>
<s>13</s>
<gust>N/A</gust>
<d>314</d>
<t>NW</t>
</wind>
<bt>Rain</bt>
<ppcp>80</ppcp>
<hmid>94</hmid>
</part>
</day>
<day d="1" t="Thursday" dt="Sep 6">
<hi>70</hi>
<low>56</low>
<sunr>6:23 AM</sunr>
<suns>7:20 PM</suns>
<part p="d">
<icon>39</icon>
<t>AM Showers</t>
<wind>
<s>11</s>
<gust>N/A</gust>
<d>47</d>
<t>NE</t>
</wind>
<bt>AM Showers</bt>
<ppcp>30</ppcp>
<hmid>69</hmid>
</part>
<part p="n">
<icon>27</icon>
<t>Mostly Cloudy</t>
<wind>
<s>11</s>
<gust>N/A</gust>
<d>47</d>
<t>NE</t>
</wind>
<bt>M Cloudy</bt>
<ppcp>10</ppcp>
<hmid>83</hmid>
</part>
</day>
<day d="2" t="Friday" dt="Sep 7">
<hi>71</hi>
<low>56</low>
<sunr>6:23 AM</sunr>
<suns>7:20 PM</suns>
<part p="d">
<icon>28</icon>
<t>Mostly Cloudy</t>
<wind>
<s>11</s>
<gust>N/A</gust>
<d>60</d>
<t>ENE</t>
</wind>
<bt>M Cloudy</bt>
<ppcp>10</ppcp>
<hmid>70</hmid>
</part>
<part p="n">
<icon>29</icon>
<t>Partly Cloudy</t>
<wind>
<s>11</s>
<gust>N/A</gust>
<d>60</d>
<t>ENE</t>
</wind>
<bt>P Cloudy</bt>
<ppcp>0</ppcp>
<hmid>76</hmid>
</part>
</day>
<day d="3" t="Saturday" dt="Sep 8">
<hi>68</hi>
<low>58</low>
<sunr>6:23 AM</sunr>
<suns>7:20 PM</suns>
<part p="d">
<icon>28</icon>
<t>Mostly Cloudy</t>
<wind>
<s>13</s>
<gust>N/A</gust>
<d>74</d>
<t>ENE</t>
</wind>
<bt>M Cloudy</bt>
<ppcp>0</ppcp>
<hmid>69</hmid>
</part>
<part p="n">
<icon>26</icon>
<t>Cloudy</t>
<wind>
<s>13</s>
<gust>N/A</gust>
<d>74</d>
<t>ENE</t>
</wind>
<bt>Cloudy</bt>
<ppcp>10</ppcp>
<hmid>81</hmid>
</part>
</day>
<day d="4" t="Sunday" dt="Sep 9">
<hi>69</hi>
<low>57</low>
<sunr>6:23 AM</sunr>
<suns>7:20 PM</suns>
<part p="d">
<icon>39</icon>
<t>PM Showers</t>
<wind>
<s>14</s>
<gust>N/A</gust>
<d>72</d>
<t>ENE</t>
</wind>
<bt>PM Showers</bt>
<ppcp>50</ppcp>
<hmid>74</hmid>
</part>
<part p="n">
<icon>45</icon>
<t>Showers Early</t>
<wind>
<s>14</s>
<gust>N/A</gust>
<d>72</d>
<t>ENE</t>
</wind>
<bt>Shwrs Early</bt>
<ppcp>40</ppcp>
<hmid>91</hmid>
</part>
</day>
<day d="5" t="Monday" dt="Sep 10">
<hi>75</hi>
<low>55</low>
<sunr>6:23 AM</sunr>
<suns>7:20 PM</suns>
<part p="d">
<icon>34</icon>
<t>Mostly Sunny</t>
<wind>
<s>7</s>
<gust>N/A</gust>
<d>6</d>
<t>N</t>
</wind>
<bt>M Sunny</bt>
<ppcp>10</ppcp>
<hmid>74</hmid>
</part>
<part p="n">
<icon>31</icon>
<t>Clear</t>
<wind>
<s>7</s>
<gust>N/A</gust>
<d>6</d>
<t>N</t>
</wind>
<bt>Clear</bt>
<ppcp>10</ppcp>
<hmid>88</hmid>
</part>
</day>
</dayf>
</weather>
The skin seems to successfully parse this, but the info matches Wheeling (notice the message about thunderstorms):
wxdata_skin.PNG
This data is fairly different from what weather.com says for Crystal Lake:
weather_com.PNG
So I don't think there is any RainMeter or skin issue, I was just wondering if this was expected of the feed from weather.com. And also wondering if it is something that might get fixed, or is this always the way it operates.
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather of my city is not working

Post by balala »

It seems lately weather.com has sometimes this kind of issues. Sometimes the information are not accurate, or even totally missing.
I'm not sure this is the situation in your case, but if the skin worked, then suddenly stopped, wait a few days, to see if weather.com fixes the issue.
User avatar
rlnoonan
Posts: 26
Joined: July 30th, 2018, 10:37 pm

Re: Weather of my city is not working

Post by rlnoonan »

Yeah, I think you are right. I have used this skin for a little while and it always seemed fairly accurate. Thanks.
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather of my city is not working

Post by balala »

rlnoonan wrote:I have used this skin for a little while and it always seemed fairly accurate.
Ok, then I hope in a few days they'll fix the issue. Sooner or later they usually do.
Post Reply