Weather information provided through the weather module in I/A Series G3 is no longer updating.

Issue

Weather information provided through the weather module in I/A Series G3 is no longer updating.

Product Line

TAC I/A Series

Environment

I/A Series G3 Enterprise Network Server, ENC-410, ENC-520

Cause

The National Weather Service hosts the data service used by the Niagara weather module's default provider, the "NWS Weather Provider".

At some point during the week of September 26th, the National Weather Service moved the location of their forecasted weather conditions service.  No advanced warning of the change was provided.

The error message encountered may include:

WARNING [10:04:20 30-Sep-11 EDT][weather] Updating forecast failed for WeatherReport
javax.baja.sys.BajaException: 404 Not Found
at com.tridium.weather.nws.NwsForecastReader.getFeed(NwsForecastReader.java)
at com.tridium.weather.nws.NwsForecastReader.getFeed(NwsForecastReader.java)
at com.tridium.weather.nws.NwsForecastReader.getFeed(NwsForecastReader.java)
at com.tridium.weather.nws.NwsForecastReader.getForecast(NwsForecastReader.java)
at com.tridium.weather.nws.BNwsWeatherProvider.updateReport(BNwsWeatherProvider.java)
at javax.baja.weather.BWeatherReport.doUpdateWeatherReport(BWeatherReport.java)
at auto.javax_baja_weather_BWeatherReport.invoke(AutoGenerated)
at com.tridium.sys.schema.ComponentSlotMap.invoke(ComponentSlotMap.java)
at com.tridium.sys.engine.EngineUtil.doInvoke(EngineUtil.java)
at javax.baja.sys.BComponent.doInvoke(BComponent.java)
at javax.baja.util.Invocation.run(Invocation.java)
at javax.baja.util.Worker.process(Worker.java)
at javax.baja.util.Worker$Processor.run(Worker.java)
at java.lang.Thread.run(Thread.java:823)

Resolution

The weather service has been updated in patched weather modules to use the new data service location.  A number of other enhancements have also been made to better detect this situation and attempt to automatically resolve the issue by better following the 'HTTP Moved Permanently' error response messages. This may help reduce the impact of future unannounced National Weather Service data service changes.

Although some users may wish to work around this problem by making changes to hidden fields on the weather provider, this is not recommended because it leaves stations exposed problems resulting from future data feed changes.

forecast server: graphical.weather.gov
forecast path: /xml/sample_products/browser_interface/ndfdBrowserClientByDay.php

The NWS has also deprecated the current condition feeds previous retrieved from the www.nws.noaa.gov servers. These are now being replaced by feeds made available at www.weather.gov.  The new patched weather module will automatically use the feeds at the new location. As a temporary workaround, the Nws Weather Provider's hidden slot "conditions server" can be modified with the new value "www.weather.gov".

It is recommended that weather service users upgrade to the most recent weather module for their release.  The modules can be downloaded from The Exchange Download Center.

weather-3.4.67.3 or higher
weather-3.5.39.5 or higher
weather-3.6.37.4 or higher