Skip to Content
Observations

WeatherBlox - Observations

Object
aeris.wxblox.views.Observations
Data Usage
/observations (1)
/alerts (1, when enabled)
/threats (1, when enabled)

The Observations view displays the current weather conditions for a single location. Additionally, current active weather advisories and threats can be displayed.

Observations

Examples

Display the current observations for Minneapolis, MN including advisories and threats as needed:

const view = new aeris.wxblox.views.Observations('#wxblox'); view.load({ p: 'minneapolis,mn' });

Display the current observations for Houston, TX including advisories but without threats:

const view = new aeris.wxblox.views.Observations('#wxblox', { threats: { enabled: false } }); view.load({ p: 'houston,tx' });

Configuration

The following configuration options are supported by this view:

OptionDescriptionDefault
advisoriesType: object ()
advisories.enabledType: boolean ()true
threatsType: object ()
threats.enabledType: boolean ()true
enabledType: boolean ()true
metricType: boolean ()false
renderNoDataType: boolean ()true
requestType: object ()

Methods

The following methods are supported by instances of this view:

Events

The following events are triggered by instances of this view:

© 2026 Xweather (opens in a new tab)Terms of Service (opens in a new tab)Privacy Policy (opens in a new tab)