weather-NwsWeatherProvider

Each WeatherReport component has a “Provider” child that interfaces with the weather data source. When adding a new WeatherReport (locale), the default type is the Nws Weather Provider, for the NWS (National Weather Service). You select a specific NWS station using two drop-down selection lists, typically specifying a state, then city.
 NOTE: Apart from the default Nws Weather Provider, one or more other providers may be available.
  • The “Fox Weather Provider” type is available—useful if a JACE station without Internet access, but on a NiagaraNetwork with a Supervisor station using the WeatherService.
  • The “Wunderground Weather Provider” is available (in AX-3.7U1and later), providing both the weather module and weatherUnderground module is installed.
For related details, see “weather-FoxWeatherProvider”, “weatherUnderground-WundergroundWeatherProvider”. 

NwsWeatherProvider properties include the “station ID” for the selected weather station, the number of outlook days for the weather report, as well as read-only properties reflecting the locale’s longitude and latitude. Also included is an “Advisories Alarm Ext” that allows for alarms when hazardous conditions exist or are expected.

For more details, see the following sections:

  • NwsWeatherProvider properties
  • “weather-NwsAdvisoryAlarmExt”
Figure 8.   NwsWeatherProvider (property sheet)
Image
Name Value Description
Station Id text string Station ID is automatically determined when you pick a report (location), using the Weather Manager view.
Outlook numeric, 7 (default) Number of days outlook—by default, 7 days. The maximum recommended Outlook value is 7 (days). Any greater number generates additional Forecast components upon a report update, however, they do not contain usable data.
Location read-only
Displays the location as received from the weather API, resolved for the latitude and longitude values entered.
Longitude degrees
Configures the geographical longitude of the target location in decimal degrees (both minutes and seconds in decimal format).
 NOTE: Values for latitude and longitude are useful if you are using a SunPosition component for this location. You must enter them in the corresponding properties of that component. 
Latitude degrees
Configures the geographical latitude of the target location in decimal degrees (both minutes and seconds in decimal format).
 NOTE: An online converter for going from degrees, minutes, and seconds, to decimal degrees can be found at: http://www.fcc.gov/mb/audio/bickel/DDDMMSS-decimal.html (at this document time). 
Air Quality Enabled true (default), false Enabled by default. Configures the display of an air quality value.

true configures the views (available for both Current and Forecast components) to include support for use on Px pages, provide color indication of air quality, based on an AQI (air quality index) calculation.