Edit

Share via


Add a real-time weather source to an eventstream (preview)

The real-time weather connector allows you to ingest live weather data from a selected location into Eventstream. It provides real-time weather conditions such as precipitation, temperature, and wind for a specified set of coordinates. This data is updated every minute to ensure timely insights.

Weather data is powered by the Azure Maps Weather service. The cost of using Azure Maps is included in the connector's capacity consumption, so there's no need to set up a separate Azure Maps account or service within your Azure subscription. To learn more about Azure Maps, refer to What is Azure Maps?.

Prerequisites

  • Access to a workspace in the Fabric capacity license mode (or) the Trial license mode with Contributor or higher permissions.

Add a real-time weather as a source

If you haven't added any source to your eventstream yet, select Use external source tile.

Screenshot that shows the selection of Use external source tile.

If you're adding the source to an already published eventstream, switch to Edit mode, select Add source on the ribbon, and then select External sources.

Screenshot that shows the selection of Add source to External sources menu.

On the Select a data source page, search for and select Connect on the real-time weather tile.

Screenshot that shows the selection of real-time weather as the source type in the Select a data source wizard.

Configure real-time weather

  1. On the Configured connection settings screen, you can select on the location you need on the map or search for a location.

    Screenshot that shows selecting location in the Connection setting page.

  2. Select Next.

  3. On the Review + connect page, review the summary, and then select Add (Eventstream) or Connect (Real-time hub).

    Screenshot that shows the Review + connect page for the real-time weather source.

View updated eventstream

  1. You see the real-time weather source added to your eventstream in Edit mode. Select Publish to publish the changes and begin streaming real-time weather data to the eventstream.

    A screenshot of the added real-time weather source in Edit mode with the Publish button highlighted.

  2. After you complete these steps, the source is available for visualization in the Live view. Select the real-time weather tile in the diagram to see the page similar to the following one.

    A screenshot of the published eventstream with real-time weather source in Live View.

Currently, this source doesn't support Data preview. You can preview data in the stream node.

Weather data fields

The Weather connector retrieves a structured set of fields for each weather update. Here's a description of the key fields:

Name Type Description
dateTime string (date-time) Date and time of the current observation displayed in ISO 8601 format, for example, 2019-10-27T19:39:57-08:00.
description string Phrase description of the current weather condition. Displayed in specified language.
iconCode IconCode (int32) Numeric value representing an image that displays the iconPhrase.
hasPrecipitation boolean Indicates the presence or absence of precipitation. True indicates the presence of precipitation; false indicates the absence of precipitation.
temperature WeatherUnit Temperature being returned.
realFeelTemperature WeatherUnit RealFeel™ Temperature being returned.
realFeelTemperatureShade WeatherUnit RealFeel™ Temperature being returned. Describes what the temperature really feels like in the shade.
relativeHumidity integer (int32) Relative humidity is the amount of water vapor present in air expressed as a percentage of the amount needed for saturation at the same temperature.
dewPoint WeatherUnit The dewpoint temperature in specified unit. The dewpoint temperature is the temperature that the air must be cooled to in order to reach saturation.
wind WindDetails Wind details being returned including speed and direction.
windGust WindDetails Wind gust. Wind gust is a sudden, brief increase in speed of the wind.
uvIndex integer (int32) Measure of the strength of the ultraviolet radiation from the sun.
uvIndexDescription WeatherUnit Description of the strength of the ultraviolet radiation from the sun.
visibility WeatherUnit Visibility in specified unit. A measure of the distance at which an object or light can be clearly discerned.
obstructionsToVisibility string Cause of limited visibility.
cloudCover integer (int32) Percent representing cloud cover.
cloudCeiling WeatherUnit Cloud ceiling in specified unit. The ceiling is a measurement of the height of the base of the lowest clouds.
pressure WeatherUnit Atmospheric pressure in specified unit.
pressureTendency PressureTendency Atmospheric pressure change.
pastTwentyFourHourTemperatureDeparture WeatherUnit Departure from the temperature observed 24 hours ago in specified unit.
apparentTemperature WeatherUnit Perceived outdoor temperature caused by the combination of air temperature, relative humidity, and wind speed in specified unit.
windChillTemperature WeatherUnit Perceived air temperature on exposed skin due to wind.
wetBulbTemperature WeatherUnit Measures the temperature air can reach when water evaporates into it at constant pressure until it reaches saturation.
precipitationSummary PrecipitationSummary Summary of precipitation amounts over the past 24 hours.
temperatureSummary TemperatureSummary Summary of temperature fluctuations over the past 6, 12, and 24 hours.
daytime boolean Indicates the time of the day. True indicates 'day,' false indicates 'night.'

To learn more about weather data fields and concepts, check out: