It is currently December 15th, 2019, 6:25 am

WXData Location issues

General topics related to Rainmeter.
xenium
Posts: 422
Joined: January 4th, 2018, 9:52 pm

Re: WXData Location issues

xenium » October 2nd, 2019, 1:45 pm

Try this skin Windows 10 Weather Enterprise or mini variants MINIWeatherHD, ASTRO Weather and it will work.
Follow the instructions for entering the location at the end of the description.
In the next days I will change in the settings menu, the source for the location code, from wxdata to https: //weather.codes
At the moment I am a little sick and I do not have the availability to make this change.
Yincognito
Posts: 684
Joined: February 27th, 2015, 2:38 pm

Re: WXData Location issues

Yincognito » October 2nd, 2019, 3:35 pm

xenium wrote:
October 2nd, 2019, 1:45 pm
Try this skin Windows 10 Weather Enterprise or mini variants MINIWeatherHD, ASTRO Weather and it will work.
Hehe, seems like someone already parsed the weather.com site instead of wxdata's XML feed, I'm not the first who thought about it :D Just a quick question, if you don't mind: am I right that you didn't make any unit conversion yourself in the skin? If so, how did weather.com provide you with already converted values (e.g. in Fahrenheit or Celsius, etc.) for the fields you're populating? Maybe the page source parsed by WebParser is slightly different than the one showing in the browser?
Apparently one can get reliable weather data to be parsed from wunderground.com (WeatherUnderground) too, just that it uses different codes. And, of course, the source is not the light XML feed wxdata accustomed us with.
User avatar
balala
Rainmeter Sage
Posts: 9267
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: WXData Location issues

balala » October 2nd, 2019, 3:55 pm

Yincognito wrote:
October 2nd, 2019, 3:35 pm
am I right that you didn't make any unit conversion yourself in the skin?
As far as I know unfortunately all (or at least most of) those conversions must be done manually.
xenium
Posts: 422
Joined: January 4th, 2018, 9:52 pm

Re: WXData Location issues

xenium » October 2nd, 2019, 4:02 pm

Yincognito wrote:
October 2nd, 2019, 3:35 pm
Hehe, seems like someone already parsed the weather.com site instead of wxdata's XML feed, I'm not the first who thought about it :D Just a quick question, if you don't mind: am I right that you didn't make any unit conversion yourself in the skin? If so, how did weather.com provide you with already converted values (e.g. in Fahrenheit or Celsius, etc.) for the fields you're populating? Maybe the page source parsed by WebParser is slightly different than the one showing in the browser?
Apparently one can get reliable weather data to be parsed from wunderground.com (WeatherUnderground) too, just that it uses different codes. And, of course, the source is not the light XML feed wxdata accustomed us with.
TWC website, displays the data by default in Fahrenheit. A script is used to convert into Celsius.
But .. the website also has versions in other languages that display the data by default in Celsius (including English).
So, there are data sources for both Fahrenheit and Celsius
User avatar
jsmorley
Developer
Posts: 19870
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: WXData Location issues

jsmorley » October 2nd, 2019, 4:20 pm

xenium wrote:
October 2nd, 2019, 4:02 pm
TWC website, displays the data by default in Fahrenheit. A script is used to convert into Celsius.
But .. the website also has versions in other languages that display the data by default in Celsius (including English).
So, there are data sources for both Fahrenheit and Celsius
Is there a parameter on the URL to get the different unit types?
xenium
Posts: 422
Joined: January 4th, 2018, 9:52 pm

Re: WXData Location issues

xenium » October 2nd, 2019, 4:37 pm

jsmorley wrote:
October 2nd, 2019, 4:20 pm
Is there a parameter on the URL to get the different unit types?
Not.
For Fahrenheit Url is: https://weather.com (data is default in Fahrenheit)
For Celsius URL is: https: //weather.com/en-GB or https://weather.com/fr-FR or https://weather.com/de-DE/ (data is default in Celsius)
User avatar
jsmorley
Developer
Posts: 19870
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: WXData Location issues

jsmorley » October 2nd, 2019, 4:42 pm

xenium wrote:
October 2nd, 2019, 4:37 pm
Not.
For Fahrenheit Url is: https://weather.com (data is default in Fahrenheit)
For Celsius URL is: https: //weather.com/en-GB/ or https://weather.com/fr-FR or https://weather.com/de-DE/ (data is default in Celsius)
Ah ok. So probably the best URL for Fahrenheit might be https://weather.com/en-US/weather/today/l/#LocationCode#, just to ensure it doesn't pick something up from your IP / VPN address and make assumptions.
User avatar
jsmorley
Developer
Posts: 19870
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: WXData Location issues

jsmorley » October 2nd, 2019, 4:46 pm

Uhm... My wxdata skin just came back to life... ;-)


1.jpg
You do not have the required permissions to view the files attached to this post.
SCR
Posts: 27
Joined: April 15th, 2015, 11:13 pm

Re: WXData Location issues

SCR » October 2nd, 2019, 4:50 pm

jsmorley wrote:
October 2nd, 2019, 4:46 pm
Uhm... My wxdata skin just came back to life... ;-)
Same here :thumbup:
Vertigo_43
Posts: 13
Joined: October 2nd, 2019, 1:39 pm

Re: WXData Location issues

Vertigo_43 » October 2nd, 2019, 4:52 pm

jsmorley wrote:
October 2nd, 2019, 4:46 pm
Uhm... My wxdata skin just came back to life... ;-)



1.jpg
After reading this, I checked mine and what do you know, ALIVE AGAIN :o