It is currently March 29th, 2024, 6:51 am

Info: Weather.com Location Codes Have Changed

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

Re: Info: Weather.com Location Codes Have Changed

Post by jsmorley »

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

Re: Info: Weather.com Location Codes Have Changed

Post by balala »

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: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Info: Weather.com Location Codes Have Changed

Post by jsmorley »

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

Post by Aethrios »

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: 15
Joined: June 6th, 2011, 3:47 am

Re: Info: Weather.com Location Codes Have Changed

Post by iron2000 »

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.
User avatar
nmdelrio
Posts: 74
Joined: June 28th, 2015, 12:51 pm
Location: Paranaque City, Philippines

Re: Info: Weather.com Location Codes Have Changed

Post by nmdelrio »

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

Post by Aethrios »

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: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Info: Weather.com Location Codes Have Changed

Post by jsmorley »

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.
User avatar
nmdelrio
Posts: 74
Joined: June 28th, 2015, 12:51 pm
Location: Paranaque City, Philippines

Re: Info: Weather.com Location Codes Have Changed

Post by nmdelrio »

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

Re: Info: Weather.com Location Codes Have Changed

Post by iron2000 »

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