NOAA Weather Plus discussions

Posted on
Tue Nov 18, 2014 1:13 am
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: NOAA Weather Plus discussions

Hi.

Sorry to hear about the trouble.

Hmm... I have an idea as to where that error may be happening in the code, but I can't tell for sure without a debug log to help track it down. If you could turn on debug logging and reload the plugin then post the log up to the point where the error occurs, that'd be helpful. I suspect the problem is that the NOAA URL being used for your coordinates isn't working for some reason or another (it happens sometimes when NOAA makes changes to their systems). Still, the plugin should be giving a useful error rather than what you're seeing.

Posted on
Tue Nov 18, 2014 11:08 am
Krikee offline
Posts: 25
Joined: Jan 03, 2014

Re: NOAA Weather Plus discussions

Thanks for the quick reply!

I'll create a debug log tonight when I get home and post it here. (I'm at the office at the moment)

Posted on
Tue Nov 18, 2014 6:42 pm
Krikee offline
Posts: 25
Joined: Jan 03, 2014

Re: NOAA Weather Plus discussions

Hi Nathan,

No need to apologize (although it is appreciated). It still blows my mind that all this stuff works together in the first place.

Anyway, here is the debug log you requested. Let me know if you need more. This is a minute or two worth of logging.

2014-11-18 16:37:20.032 NOAA Weather Plus Debug logging enabled
2014-11-18 16:37:26.711 Application Reloading plugin "NOAA Weather Plus 1.1.16"
2014-11-18 16:37:26.712 Application Stopping plugin "NOAA Weather Plus 1.1.16" (pid 4837)
2014-11-18 16:37:26.762 NOAA Weather Plus Debug Stopping device: MyWeather
2014-11-18 16:37:27.824 Application Stopped plugin "NOAA Weather Plus 1.1.16"
2014-11-18 16:37:29.331 Application Starting plugin "NOAA Weather Plus 1.1.16" (pid 4932)
2014-11-18 16:37:29.686 NOAA Weather Plus Debug Initializing Plugin.
2014-11-18 16:37:29.724 Application Started plugin "NOAA Weather Plus 1.1.16"
2014-11-18 16:37:29.742 NOAA Weather Plus Debug Starting device: MyWeather
2014-11-18 16:37:29.778 NOAA Weather Plus Debug Updating weather for device: MyWeather
2014-11-18 16:37:29.779 NOAA Weather Plus Debug Device MyWeather using URL http://forecast.weather.gov/MapClick.ph ... =-122.4585
2014-11-18 16:37:29.779 NOAA Weather Plus Debug Attempt # 1 at downloading and parsing weather data.
2014-11-18 16:37:30.332 NOAA Weather Plus Debug Device MyWeather reading returned weather data.
2014-11-18 16:37:30.336 NOAA Weather Plus Debug Device MyWeather parsing weather XML data.
2014-11-18 16:37:30.344 NOAA Weather Plus Debug Device MyWeather locating "data" elements in XML.
2014-11-18 16:37:30.345 NOAA Weather Plus Debug Device MyWeather found forecast data.
2014-11-18 16:37:30.346 NOAA Weather Plus Debug Device MyWeather found current observation data.
2014-11-18 16:37:30.347 NOAA Weather Plus Debug Device MyWeather looking for observation location coordinate data.
2014-11-18 16:37:30.347 NOAA Weather Plus Debug Device MyWeather found latitude 38.70217, longitude -122.38633.
2014-11-18 16:37:30.348 NOAA Weather Plus Debug Device MyWeather looking for observation time.
2014-11-18 16:37:30.349 NOAA Weather Plus Debug Device MyWeather observation time listed is "NA."
2014-11-18 16:37:30.349 NOAA Weather Plus Debug Device MyWeather observation time (after formatting): .
2014-11-18 16:37:30.349 NOAA Weather Plus Debug Device MyWeather observastion time blank. Setting to .
2014-11-18 16:37:30.351 NOAA Weather Plus Debug updateDeviceState called.
2014-11-18 16:37:30.351 NOAA Weather Plus Debug Device MyWeather current condition element found.
2014-11-18 16:37:30.354 NOAA Weather Plus Debug Device MyWeather current condition found is .
2014-11-18 16:37:30.354 NOAA Weather Plus Debug Device MyWeather current condition is blank. Seting to .
2014-11-18 16:37:30.354 NOAA Weather Plus Debug Device MyWeather current condition is unavailable. Checking alternate data source.
2014-11-18 16:37:30.354 NOAA Weather Plus Debug getAlternateData called. Looking for a station at coordinates 38.7, -122.39.
2014-11-18 16:37:30.355 NOAA Weather Plus Debug Device MyWeather downloading weather station list from http://w1.weather.gov/xml/current_obs/index.xml
2014-11-18 16:37:30.615 NOAA Weather Plus Debug Device MyWeather reading returned weather station list file.
2014-11-18 16:37:30.859 NOAA Weather Plus Debug Closing station list file.
2014-11-18 16:37:30.860 NOAA Weather Plus Debug Device MyWeather parsing weather station list XML data.
2014-11-18 16:37:31.917 NOAA Weather Plus Debug Searching for stations with the same latitude and longitude.
2014-11-18 16:37:32.335 NOAA Weather Plus Debug getAlternateData: Data returned: {}
2014-11-18 16:37:32.335 NOAA Weather Plus Debug updateDeviceState called.
2014-11-18 16:37:32.336 NOAA Weather Plus Debug Device MyWeather current condition icon element found.
2014-11-18 16:37:32.337 NOAA Weather Plus Debug current condition icon URL: http://forecast.weather.gov/images/wtf/medium/
2014-11-18 16:37:32.338 NOAA Weather Plus Debug current condition icon now:
2014-11-18 16:37:32.338 NOAA Weather Plus Debug Device MyWeather current condition icon is unavailable. Checking alternate data source.
2014-11-18 16:37:32.338 NOAA Weather Plus Debug getAlternateData called. Looking for a station at coordinates 38.7, -122.39.
2014-11-18 16:37:32.338 NOAA Weather Plus Debug Device MyWeather weather station list already downloaded. Using existing list.
2014-11-18 16:37:32.339 NOAA Weather Plus Debug Device MyWeather parsing weather station list XML data.
2014-11-18 16:37:33.627 NOAA Weather Plus Debug Searching for stations with the same latitude and longitude.
2014-11-18 16:37:34.030 NOAA Weather Plus Debug getAlternateData: Data returned: {}
2014-11-18 16:37:34.031 NOAA Weather Plus Debug updateDeviceState called.
2014-11-18 16:37:34.032 NOAA Weather Plus Debug Device MyWeather current temperature (F) element found.
2014-11-18 16:37:34.035 NOAA Weather Plus Debug Device MyWeather current temperature (F) element type is "apparent".
2014-11-18 16:37:34.036 NOAA Weather Plus Debug Device MyWeather temperature (F) is unavailable. Checking alternate data source.
2014-11-18 16:37:34.036 NOAA Weather Plus Debug getAlternateData called. Looking for a station at coordinates 38.7, -122.39.
2014-11-18 16:37:34.036 NOAA Weather Plus Debug Device MyWeather weather station list already downloaded. Using existing list.
2014-11-18 16:37:34.036 NOAA Weather Plus Debug Device MyWeather parsing weather station list XML data.
2014-11-18 16:37:35.376 NOAA Weather Plus Debug Searching for stations with the same latitude and longitude.
2014-11-18 16:37:35.802 NOAA Weather Plus Debug getAlternateData: Data returned: {}
2014-11-18 16:37:35.802 NOAA Weather Plus Debug updateDeviceState called.
2014-11-18 16:37:35.804 NOAA Weather Plus Debug Device MyWeather current temperature (C) element found.
2014-11-18 16:37:35.804 NOAA Weather Plus Debug Device MyWeather current temperature element type is "apparent".
2014-11-18 16:37:35.811 NOAA Weather Plus Debug Device MyWeather current temperature (C) is unavailable. Checking alternate data source.
2014-11-18 16:37:35.811 NOAA Weather Plus Debug getAlternateData called. Looking for a station at coordinates 38.7, -122.39.
2014-11-18 16:37:35.812 NOAA Weather Plus Debug Device MyWeather weather station list already downloaded. Using existing list.
2014-11-18 16:37:35.812 NOAA Weather Plus Debug Device MyWeather parsing weather station list XML data.
2014-11-18 16:37:37.137 NOAA Weather Plus Debug Searching for stations with the same latitude and longitude.
2014-11-18 16:37:37.548 NOAA Weather Plus Debug getAlternateData: Data returned: {}
2014-11-18 16:37:37.549 NOAA Weather Plus Debug updateDeviceState called.
2014-11-18 16:37:37.553 NOAA Weather Plus Debug Device MyWeather relative humidity element found.
2014-11-18 16:37:37.554 NOAA Weather Plus Debug updateDeviceState called.
2014-11-18 16:37:37.555 NOAA Weather Plus Debug Device MyWeather dew point (F) element found.
2014-11-18 16:37:37.555 NOAA Weather Plus Debug updateDeviceState called.
2014-11-18 16:37:37.570 NOAA Weather Plus Debug Device MyWeather dew point (C) element found.
2014-11-18 16:37:37.571 NOAA Weather Plus Debug Device MyWeather dew point (C) is unavailable. Checking alternate data source.
2014-11-18 16:37:37.578 NOAA Weather Plus Debug getAlternateData called. Looking for a station at coordinates 38.7, -122.39.
2014-11-18 16:37:37.580 NOAA Weather Plus Debug Device MyWeather weather station list already downloaded. Using existing list.
2014-11-18 16:37:37.580 NOAA Weather Plus Debug Device MyWeather parsing weather station list XML data.
2014-11-18 16:37:38.856 NOAA Weather Plus Debug Searching for stations with the same latitude and longitude.
2014-11-18 16:37:39.262 NOAA Weather Plus Debug getAlternateData: Data returned: {}
2014-11-18 16:37:39.263 NOAA Weather Plus Debug updateDeviceState called.
2014-11-18 16:37:39.264 NOAA Weather Plus Debug Device MyWeather heat index (F) element found.
2014-11-18 16:37:39.269 NOAA Weather Plus Debug Device MyWeather heat index (F) is unavailable. Checking alternate data source.
2014-11-18 16:37:39.269 NOAA Weather Plus Debug getAlternateData called. Looking for a station at coordinates 38.7, -122.39.
2014-11-18 16:37:39.269 NOAA Weather Plus Debug Device MyWeather weather station list already downloaded. Using existing list.
2014-11-18 16:37:39.269 NOAA Weather Plus Debug Device MyWeather parsing weather station list XML data.
2014-11-18 16:37:40.631 NOAA Weather Plus Debug Searching for stations with the same latitude and longitude.
2014-11-18 16:37:41.037 NOAA Weather Plus Debug getAlternateData: Data returned: {}
2014-11-18 16:37:41.037 NOAA Weather Plus Debug updateDeviceState called.
2014-11-18 16:37:41.039 NOAA Weather Plus Debug Device MyWeather heat index (C) element found.
2014-11-18 16:37:41.040 NOAA Weather Plus Debug Device MyWeather heat index (C) is unavailable. Checking alternate data source.
2014-11-18 16:37:41.040 NOAA Weather Plus Debug getAlternateData called. Looking for a station at coordinates 38.7, -122.39.
2014-11-18 16:37:41.041 NOAA Weather Plus Debug Device MyWeather weather station list already downloaded. Using existing list.
2014-11-18 16:37:41.041 NOAA Weather Plus Debug Device MyWeather parsing weather station list XML data.
2014-11-18 16:37:42.358 NOAA Weather Plus Debug Searching for stations with the same latitude and longitude.
2014-11-18 16:37:42.783 NOAA Weather Plus Debug getAlternateData: Data returned: {}
2014-11-18 16:37:42.783 NOAA Weather Plus Debug updateDeviceState called.
2014-11-18 16:37:42.785 NOAA Weather Plus Debug Device MyWeather current water temperature (F) element found.
2014-11-18 16:37:42.785 NOAA Weather Plus Debug Device MyWeather temperature (F) is unavailable. Checking alternate data source.
2014-11-18 16:37:42.793 NOAA Weather Plus Debug getAlternateData called. Looking for a station at coordinates 38.7, -122.39.
2014-11-18 16:37:42.794 NOAA Weather Plus Debug Device MyWeather weather station list already downloaded. Using existing list.
2014-11-18 16:37:42.794 NOAA Weather Plus Debug Device MyWeather parsing weather station list XML data.
2014-11-18 16:37:44.071 NOAA Weather Plus Debug Searching for stations with the same latitude and longitude.
2014-11-18 16:37:44.507 NOAA Weather Plus Debug getAlternateData: Data returned: {}
2014-11-18 16:37:44.507 NOAA Weather Plus Debug updateDeviceState called.
2014-11-18 16:37:44.509 NOAA Weather Plus Debug Device MyWeather current water temperature (C) element found.
2014-11-18 16:37:44.509 NOAA Weather Plus Debug Device MyWeather current temperature (C) is unavailable. Checking alternate data source.
2014-11-18 16:37:44.509 NOAA Weather Plus Debug getAlternateData called. Looking for a station at coordinates 38.7, -122.39.
2014-11-18 16:37:44.510 NOAA Weather Plus Debug Device MyWeather weather station list already downloaded. Using existing list.
2014-11-18 16:37:44.510 NOAA Weather Plus Debug Device MyWeather parsing weather station list XML data.
2014-11-18 16:37:45.905 NOAA Weather Plus Debug Searching for stations with the same latitude and longitude.
2014-11-18 16:37:46.317 NOAA Weather Plus Debug getAlternateData: Data returned: {}
2014-11-18 16:37:46.318 NOAA Weather Plus Debug updateDeviceState called.
2014-11-18 16:37:46.320 NOAA Weather Plus Debug Device MyWeather visibility element found.
2014-11-18 16:37:46.321 NOAA Weather Plus Debug Device MyWeather visibility is unavailable. Checking alternate data source.
2014-11-18 16:37:46.321 NOAA Weather Plus Debug getAlternateData called. Looking for a station at coordinates 38.7, -122.39.
2014-11-18 16:37:46.321 NOAA Weather Plus Debug Device MyWeather weather station list already downloaded. Using existing list.
2014-11-18 16:37:46.321 NOAA Weather Plus Debug Device MyWeather parsing weather station list XML data.
2014-11-18 16:37:47.644 NOAA Weather Plus Debug Searching for stations with the same latitude and longitude.
2014-11-18 16:37:48.052 NOAA Weather Plus Debug getAlternateData: Data returned: {}
2014-11-18 16:37:48.053 NOAA Weather Plus Debug updateDeviceState called.
2014-11-18 16:37:48.056 NOAA Weather Plus Debug Device MyWeather wind direction element found.
2014-11-18 16:37:48.056 NOAA Weather Plus Debug updateDeviceState called.
2014-11-18 16:37:48.056 NOAA Weather Plus Debug Device MyWeather wind direction degrees element found.
2014-11-18 16:37:48.057 NOAA Weather Plus Debug Device MyWeather wind direction degrees are unavailable. Checking alternate data source.
2014-11-18 16:37:48.057 NOAA Weather Plus Debug getAlternateData called. Looking for a station at coordinates 38.7, -122.39.
2014-11-18 16:37:48.057 NOAA Weather Plus Debug Device MyWeather weather station list already downloaded. Using existing list.
2014-11-18 16:37:48.057 NOAA Weather Plus Debug Device MyWeather parsing weather station list XML data.
2014-11-18 16:37:49.325 NOAA Weather Plus Debug Searching for stations with the same latitude and longitude.
2014-11-18 16:37:49.734 NOAA Weather Plus Debug getAlternateData: Data returned: {}
2014-11-18 16:37:49.734 NOAA Weather Plus Debug updateDeviceState called.
2014-11-18 16:37:49.734 NOAA Weather Plus Debug Device MyWeather wind speed (knots) element found.
2014-11-18 16:37:49.736 NOAA Weather Plus Debug Device MyWeather wind speed (knots) is unavailable. Checking alternate data source.
2014-11-18 16:37:49.736 NOAA Weather Plus Debug getAlternateData called. Looking for a station at coordinates 38.7, -122.39.
2014-11-18 16:37:49.737 NOAA Weather Plus Debug Device MyWeather weather station list already downloaded. Using existing list.
2014-11-18 16:37:49.737 NOAA Weather Plus Debug Device MyWeather parsing weather station list XML data.
2014-11-18 16:37:51.053 NOAA Weather Plus Debug Searching for stations with the same latitude and longitude.
2014-11-18 16:37:51.462 NOAA Weather Plus Debug getAlternateData: Data returned: {}
2014-11-18 16:37:51.463 NOAA Weather Plus Debug updateDeviceState called.
2014-11-18 16:37:51.465 NOAA Weather Plus Debug Device MyWeather wind speed (MPH) element found.
2014-11-18 16:37:51.465 NOAA Weather Plus Debug Device MyWeather wind speed (MPH) is unavailable. Checking alternate data source.
2014-11-18 16:37:51.466 NOAA Weather Plus Debug getAlternateData called. Looking for a station at coordinates 38.7, -122.39.
2014-11-18 16:37:51.466 NOAA Weather Plus Debug Device MyWeather weather station list already downloaded. Using existing list.
2014-11-18 16:37:51.466 NOAA Weather Plus Debug Device MyWeather parsing weather station list XML data.
2014-11-18 16:37:52.770 NOAA Weather Plus Debug Searching for stations with the same latitude and longitude.
2014-11-18 16:37:53.175 NOAA Weather Plus Debug getAlternateData: Data returned: {}
2014-11-18 16:37:53.175 NOAA Weather Plus Debug updateDeviceState called.
2014-11-18 16:37:53.177 NOAA Weather Plus Debug Device MyWeather gust wind speed (knots) element found.
2014-11-18 16:37:53.177 NOAA Weather Plus Debug updateDeviceState called.
2014-11-18 16:37:53.187 NOAA Weather Plus Debug Device MyWeather gust wind speed (MPH) element found.
2014-11-18 16:37:53.187 NOAA Weather Plus Debug updateDeviceState called.
2014-11-18 16:37:53.188 NOAA Weather Plus Debug Device MyWeather wind chill (F) element found.
2014-11-18 16:37:53.189 NOAA Weather Plus Debug Device MyWeather wind speed for wind chill is unavailable. Checking alternate data source.
2014-11-18 16:37:53.189 NOAA Weather Plus Debug getAlternateData called. Looking for a station at coordinates 38.7, -122.39.
2014-11-18 16:37:53.189 NOAA Weather Plus Debug Device MyWeather weather station list already downloaded. Using existing list.
2014-11-18 16:37:53.189 NOAA Weather Plus Debug Device MyWeather parsing weather station list XML data.
2014-11-18 16:37:54.476 NOAA Weather Plus Debug Searching for stations with the same latitude and longitude.
2014-11-18 16:37:54.887 NOAA Weather Plus Debug getAlternateData: Data returned: {}
2014-11-18 16:37:54.888 NOAA Weather Plus Debug Device MyWeather wind chill (F): using NA as wind speed.
2014-11-18 16:37:54.888 NOAA Weather Plus Error exception in deviceStartComm(MyWeather): local variable 'e' referenced before assignment
2014-11-18 16:37:54.890 NOAA Weather Plus Debug Starting runConcurrentThread.
2014-11-18 16:38:00.380 Schedule UpdateTime
2014-11-18 16:39:00.378 Schedule UpdateTime
2014-11-18 16:39:46.631 NOAA Weather Plus Debug logging disabled

Posted on
Tue Nov 18, 2014 11:57 pm
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: NOAA Weather Plus discussions

Patch update 1.1.17 released:

(See main NOAA Weather Plus announcement thread for download link).

Changes Since Version 1.1.16

  • Fixed a bug that would cause the plugin to crash if the wind speed element didn't exist in the weather data.

Posted on
Wed Nov 19, 2014 12:10 am
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: NOAA Weather Plus discussions

Krikee wrote:
Hi Nathan,

No need to apologize (although it is appreciated). It still blows my mind that all this stuff works together in the first place.

Anyway, here is the debug log you requested. Let me know if you need more. This is a minute or two worth of logging.


That was perfect! I found the bug in the plugin right away using that info. The patched version (1.1.17) is up now. However, it only fixes the crashing of the plugin, not the underlying issue that revealed the bug. By looking at the XML files listed in that debug log, it looks like the NOAA weather source for your latitude/longitude is currently showing all blank data for the current conditions. The XML shows "NA" for everything. Trying to account for this contingency, the plugin attempts to locate an alternate XML data source using a published list of NOAA weather stations and their corresponding GPS coordinates, but can't find any stations in the published list with the same coordinates as the published coordinates listed in the original file. The crash occurred when the plugin attempted to calculate the wind speed from data that didn't exist and attempted to print out an error message that I had forgotten to define properly. So, in short, the plugin shouldn't crash any longer, but your weather device's current condition information won't get updated until NOAA fixes their weather station (or their feed). Unfortunately, I don't really have a way to get NOAA to fix their data. However, in my experience, when a station stops producing data like that, they eventually fix it (though it my take a month or so). Sorry I couldn't help more with that part.

Posted on
Wed Nov 19, 2014 8:58 am
HFTobeason offline
Posts: 297
Joined: Nov 07, 2003

Re: NOAA Weather Plus discussions

Clicking the 1.1.17 link yields this (for me):

    File Not Found. Please ensure that the URL was typed correctly or the link was formatted correctly.

Posted on
Wed Nov 19, 2014 10:20 am
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: NOAA Weather Plus discussions

Sorry about that. There was a typo in the filename on the server. The link works now.

Posted on
Wed Nov 19, 2014 10:33 am
Krikee offline
Posts: 25
Joined: Jan 03, 2014

Re: NOAA Weather Plus discussions

Well that would explain a lot of things then :) thanks so much for the update and response. I live in a relatively remote area so I may need to choose a slightly more consistent weather station or lat/long that is closer to a city/town.

Ill get the plugin updated to night and post back the results so you can rest easier.

Thanks again!

Posted on
Wed Nov 19, 2014 6:50 pm
Krikee offline
Posts: 25
Joined: Jan 03, 2014

Re: NOAA Weather Plus discussions

Hi Nathan,

The .17 update did the trick. the data is correct/current now and my 8 year old knows what to choose to wear in the morning now. :lol: Thanks again for the quick fix.

Posted on
Wed Nov 19, 2014 7:30 pm
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: NOAA Weather Plus discussions

Great! Glad that fixed it. :-D

Posted on
Sun Dec 21, 2014 1:44 pm
CraigM offline
Posts: 578
Joined: Oct 28, 2007

Re: NOAA Weather Plus discussions

Nathan, FYI I have been getting hundreds of these warnings per day in the log
Code: Select all
Dec 21, 2014 11:29:57 AM
  Weather NOAA Plus [Thermal]     Warning: Error parsing weather station list XML from NOAA: not well-formed (invalid token): line 13534, column 60
  Weather NOAA Plus [Thermal]     Warning: Error parsing weather station list XML from NOAA: not well-formed (invalid token): line 13534, column 60
  Weather NOAA Plus [Thermal]     Warning: Error parsing weather station list XML from NOAA: not well-formed (invalid token): line 13534, column 60
  Weather NOAA Plus [Thermal]     Warning: Error parsing weather station list XML from NOAA: not well-formed (invalid token): line 13534, column 60
  Weather NOAA Plus [Thermal]     Warning: Error parsing weather station list XML from NOAA: not well-formed (invalid token): line 13534, column 60
  Weather NOAA Plus [Thermal]     Warning: Error parsing weather station list XML from NOAA: not well-formed (invalid token): line 13534, column 60

I was on v1.1.16, just upgraded to v1.1.17, no change.

Reloaded w/Debug
Code: Select all
Dec 21, 2014 11:40:51 AM
  NOAA Weather Plus               Debug logging enabled
  Reloading plugin "NOAA Weather Plus 1.1.17"
  Stopping plugin "NOAA Weather Plus 1.1.17" (pid 6351)
  NOAA Weather Plus Debug         Stopping device: Weather NOAA Plus [Thermal]
  Stopped plugin "NOAA Weather Plus 1.1.17"
  Starting plugin "NOAA Weather Plus 1.1.17" (pid 6358)
  NOAA Weather Plus Debug         Initializing Plugin.
  Started plugin "NOAA Weather Plus 1.1.17"
  NOAA Weather Plus Debug         Starting device: Weather NOAA Plus [Thermal]
  NOAA Weather Plus Debug         Updating weather for device: Weather NOAA Plus [Thermal]
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] using URL http://forecast.weather.gov/MapClick.php?FcstType=dwml&lg=english&lat=33.6267&lon=-116.1594
  NOAA Weather Plus Debug         Attempt # 1 at downloading and parsing weather data.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] reading returned weather data.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] parsing weather XML data.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] locating "data" elements in XML.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] found forecast data.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] found current observation data.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] looking for observation location coordinate data.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] found latitude 33.62667, longitude -116.15944.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] looking for observation time.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] observation time listed is "2014-12-21T10:52:00."
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] observation time (after formatting): 2014-12-21 10:52:00.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] current condition element found.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] current condition found is Fair.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] current condition icon element found.
  NOAA Weather Plus Debug         current condition icon URL: http://forecast.weather.gov/images/wtf/medium/sct.png
  NOAA Weather Plus Debug         current condition icon now: sct.png
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] current temperature (F) element found.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] current temperature (F) element type is "apparent".
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] current temperature (C) element found.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] current temperature element type is "apparent".
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] relative humidity element found.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] dew point (F) element found.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] dew point (C) element found.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] heat index (F) element found.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] heat index (F) is unavailable. Checking alternate data source.
  NOAA Weather Plus Debug         getAlternateData called. Looking for a station at coordinates 33.63, -116.16.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] downloading weather station list from http://w1.weather.gov/xml/current_obs/index.xml
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] reading returned weather station list file.
  NOAA Weather Plus Debug         Closing station list file.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] parsing weather station list XML data.
  Weather NOAA Plus [Thermal]     Warning: Error parsing weather station list XML from NOAA: not well-formed (invalid token): line 13534, column 60
  NOAA Weather Plus Debug         getAlternateData: Data returned: {}
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] heat index (C) element found.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] heat index (C) is unavailable. Checking alternate data source.
  NOAA Weather Plus Debug         getAlternateData called. Looking for a station at coordinates 33.63, -116.16.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] weather station list already downloaded. Using existing list.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] parsing weather station list XML data.
  Weather NOAA Plus [Thermal]     Warning: Error parsing weather station list XML from NOAA: not well-formed (invalid token): line 13534, column 60
  NOAA Weather Plus Debug         getAlternateData: Data returned: {}
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] current water temperature (F) element found.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] temperature (F) is unavailable. Checking alternate data source.
  NOAA Weather Plus Debug         getAlternateData called. Looking for a station at coordinates 33.63, -116.16.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] weather station list already downloaded. Using existing list.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] parsing weather station list XML data.
  Weather NOAA Plus [Thermal]     Warning: Error parsing weather station list XML from NOAA: not well-formed (invalid token): line 13534, column 60
  NOAA Weather Plus Debug         getAlternateData: Data returned: {}
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] current water temperature (C) element found.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] current temperature (C) is unavailable. Checking alternate data source.
  NOAA Weather Plus Debug         getAlternateData called. Looking for a station at coordinates 33.63, -116.16.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] weather station list already downloaded. Using existing list.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] parsing weather station list XML data.
  Weather NOAA Plus [Thermal]     Warning: Error parsing weather station list XML from NOAA: not well-formed (invalid token): line 13534, column 60
  NOAA Weather Plus Debug         getAlternateData: Data returned: {}
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] visibility element found.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] wind direction element found.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] wind direction degrees element found.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] wind speed (knots) element found.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] wind speed (MPH) element found.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] gust wind speed (knots) element found.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] gust wind speed (MPH) element found.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] wind chill (F) element found.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] wind speed for wind chill is unavailable. Checking alternate data source.
  NOAA Weather Plus Debug         getAlternateData called. Looking for a station at coordinates 33.63, -116.16.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] weather station list already downloaded. Using existing list.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] parsing weather station list XML data.
  Weather NOAA Plus [Thermal]     Warning: Error parsing weather station list XML from NOAA: not well-formed (invalid token): line 13534, column 60
  NOAA Weather Plus Debug         getAlternateData: Data returned: {}
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] wind chill (F): using NA as wind speed.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] wind chill (F): using 64 as temperature.
  NOAA Weather Plus Debug         Value error. Wind speed could not be calculated: invalid literal for float(): NA
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] wind chill (C) element found.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] wind speed for wind chill is unavailable. Checking alternate data source.
  NOAA Weather Plus Debug         getAlternateData called. Looking for a station at coordinates 33.63, -116.16.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] weather station list already downloaded. Using existing list.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] parsing weather station list XML data.
  Weather NOAA Plus [Thermal]     Warning: Error parsing weather station list XML from NOAA: not well-formed (invalid token): line 13534, column 60
  NOAA Weather Plus Debug         getAlternateData: Data returned: {}
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] pressure (inches Hg) element found.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] pressure (millibars) element found.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] location element found.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] latitude element found.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] longitude element found.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] elevation element found.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Current condition processing complete.
  NOAA Weather Plus Debug         Beginning forecast data processing.
  NOAA Weather Plus Debug         Getting forecast time layout data.
  NOAA Weather Plus Debug         Getting forecast URL element.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Putting the time layout into a multi-dimensional list.
  NOAA Weather Plus Debug         Getting forecast elements.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] forecast location element found.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] forecast latitude element found.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] forecast longitude element found.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Device Weather NOAA Plus [Thermal] forecast elevation element found.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Getting probability of precipitation data.
  NOAA Weather Plus Debug         Getting time layout for PoP data.
  NOAA Weather Plus Debug         Time layout is "k-p12h-n13-1".
  NOAA Weather Plus Debug         Found matching layout in time layout list.
  NOAA Weather Plus Debug         Looping through each PoP element.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Getting forecast condition elements.
  NOAA Weather Plus Debug         Getting forecast condition icon elements.
  NOAA Weather Plus Debug         Getting worded forecast elements.
  NOAA Weather Plus Debug         Getting the time layout for weather conditions.
  NOAA Weather Plus Debug         Found matching layout in time layout list.
  NOAA Weather Plus Debug         Looping through each forecast condition time element.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Looking through forecast period name elements for the current period.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Looping through each forecast condition element.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Looping through each forecast condition icon element.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Looping through each worded forecast element.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Getting forecasted hazardouns weather advisory elements.
  NOAA Weather Plus Debug         Getting the time layout for hazardous weather advisory elements.
  NOAA Weather Plus Debug         Looking through time layout for weather advisory layouts.
  NOAA Weather Plus Debug         Looping through each hazard (weather advisory) element.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Looping through each worded forecast element.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Getting forecast temperature elements.
  NOAA Weather Plus Debug         Found high temperatures.
  NOAA Weather Plus Debug         Found low temperatures.
  NOAA Weather Plus Debug         Getting high temperature time loyout.
  NOAA Weather Plus Debug         Looking for matching time layout in multi-dimensional list.
  NOAA Weather Plus Debug         Found matching time layout k-p24h-n7-1
  NOAA Weather Plus Debug         Populating high temperatures and time preiods and assigning them to device stats.
  NOAA Weather Plus Debug         Matching high temperature element 0 to time period from layout.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Matching high temperature element 1 to time period from layout.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Matching high temperature element 2 to time period from layout.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Matching high temperature element 3 to time period from layout.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Matching high temperature element 4 to time period from layout.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Matching high temperature element 5 to time period from layout.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Matching high temperature element 6 to time period from layout.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Matching high temperature element 7 to time period from layout.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Getting low temperature time loyout.
  NOAA Weather Plus Debug         Looking for matching time layout in multi-dimensional list.
  NOAA Weather Plus Debug         Found matching time layout k-p24h-n6-2
  NOAA Weather Plus Debug         Populating low temperatures and assigning them to device stats.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         updateDeviceState called.
  NOAA Weather Plus Debug         Starting runConcurrentThread.

Posted on
Sun Dec 21, 2014 2:35 pm
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: NOAA Weather Plus discussions

Thanks for the report. I'll see if I can track it down.

Posted on
Sun Dec 21, 2014 4:29 pm
hamw offline
Posts: 1212
Joined: Mar 31, 2008

Re: NOAA Weather Plus discussions

I'm getting these about every 15 min. I did a search, and it doesn't seem to be the same error some others are getting? Any suggestions?


Code: Select all
Warning: Error parsing weather station list XML from NOAA: not well-formed (invalid token): line 13534, column 60

Posted on
Sun Dec 21, 2014 5:15 pm
automaton offline
Posts: 88
Joined: May 23, 2008

Re: NOAA Weather Plus discussions

I'm seeing the same messages in my log:
Code: Select all
Warning: Error parsing weather station list XML from NOAA: not well-formed (invalid token): line 13534, column 60


I get 6 of these messages each time the plugin checks the weather. I am seeing valid data returned from the plug-in, but perhaps a few of the measurements may be missing or are incorrect.

Posted on
Sun Dec 21, 2014 5:24 pm
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: NOAA Weather Plus discussions

I suspect NOAA is either doing work on their XML generation servers or they changed the output format. I'll know more when I look closer at the output from their system.

Who is online

Users browsing this forum: No registered users and 1 guest

cron