It is currently December 11th, 2018, 2:35 pm

Info: Weather.com Location Codes Have Changed

General topics related to Rainmeter.
User avatar
jsmorley
Developer
Posts: 18451
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Info: Weather.com Location Codes Have Changed

jsmorley » June 7th, 2018, 1:30 pm

balala wrote:So, the old format for US, too?
Yes.
User avatar
balala
Rainmeter Sage
Posts: 7155
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Info: Weather.com Location Codes Have Changed

balala » June 7th, 2018, 1:40 pm

I got now the new format, as SilverAzide have described it here. It seems he head right and this indeed is a working format, at least on the site. But the xml is still working with the old codes, because as I said before, my skin is still working.
User avatar
jsmorley
Developer
Posts: 18451
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Info: Weather.com Location Codes Have Changed

jsmorley » June 7th, 2018, 2:58 pm

Hm.. Well it does seem like the most reliable way to get the code is to use http://wxdata.weather.com/wxdata/search/search?where=xxx and do "View source" to see the code.
User avatar
Aethrios
Posts: 50
Joined: February 25th, 2014, 1:45 am

Re: Info: Weather.com Location Codes Have Changed

Aethrios » July 29th, 2018, 3:17 am

Has this situation developed at all? Just today, using the old standard (and even trying again with a US zip code) my weather skin has broken. Been going strong for ~5 years, webparser unchanged.

I'm able to pull up the xml in a web browser just fine, but Rainmeter seems grumpy.

I did a search using the wxdata url as well, tried that code, and continued to get just about the same xml, with no change in Rainmeter's behavior.

URL:

Code: Select all

http://wxdata.weather.com/wxdata/weather/local/USWA0395?cc=*&unit=f&dayf=3
Error:

Code: Select all

RegExp matching error (-1)
Minimalist Enthusiast
iron2000
Posts: 8
Joined: June 6th, 2011, 3:47 am

Re: Info: Weather.com Location Codes Have Changed

iron2000 » July 29th, 2018, 8:22 am

Aethrios wrote:Has this situation developed at all? Just today, using the old standard (and even trying again with a US zip code) my weather skin has broken. Been going strong for ~5 years, webparser unchanged.

I'm able to pull up the xml in a web browser just fine, but Rainmeter seems grumpy.

I did a search using the wxdata url as well, tried that code, and continued to get just about the same xml, with no change in Rainmeter's behavior.

URL:

Code: Select all

http://wxdata.weather.com/wxdata/weather/local/USWA0395?cc=*&unit=f&dayf=3
Error:

Code: Select all

RegExp matching error (-1)
Some tags I was looking for with my RegExp disappeared from the XML.
The current temperature and conditions are missing.
That is whats causing the error.

Not sure if its a problem on their side or its a change they put out today.
nmdelrio
Posts: 47
Joined: June 28th, 2015, 12:51 pm
Location: Paranaque City, Philippines

Re: Info: Weather.com Location Codes Have Changed

nmdelrio » July 29th, 2018, 9:14 am

I am experiencing the same problem, just today.
User avatar
Aethrios
Posts: 50
Joined: February 25th, 2014, 1:45 am

Re: Info: Weather.com Location Codes Have Changed

Aethrios » July 29th, 2018, 7:40 pm

iron2000 wrote:Some tags I was looking for with my RegExp disappeared from the XML.
The current temperature and conditions are missing.
FFS, you're absolutely right. I noticed that I couldn't find the first child measure output (current temp), but dismissed it as just having overlooked something. But since it's a change on their end, it is broken, borking the whole skin.

That's outrageous. Why even bother displaying weather information if you're not going to include the current weather information?

Anyone have sauce for a different source XML?
Minimalist Enthusiast
User avatar
jsmorley
Developer
Posts: 18451
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Info: Weather.com Location Codes Have Changed

jsmorley » July 29th, 2018, 8:03 pm

Aethrios wrote:FFS, you're absolutely right. I noticed that I couldn't find the first child measure output (current temp), but dismissed it as just having overlooked something. But since it's a change on their end, it is broken, borking the whole skin.

That's outrageous. Why even bother displaying weather information if you're not going to include the current weather information?

Anyone have sauce for a different source XML?
My skin using the same source is fine, so I suspect it is some temporary regional problem on their end.
nmdelrio
Posts: 47
Joined: June 28th, 2015, 12:51 pm
Location: Paranaque City, Philippines

Re: Info: Weather.com Location Codes Have Changed

nmdelrio » July 30th, 2018, 4:41 pm

Mine has started working again. :thumbup:
iron2000
Posts: 8
Joined: June 6th, 2011, 3:47 am

Re: Info: Weather.com Location Codes Have Changed

iron2000 » July 30th, 2018, 11:50 pm

Mine too have returned to working condition.
The tags are back!