Visibility Data Logic Block

Description

The Visibility Data Logic Block outputs the local visibility level on a scale of 1-10, based on the visibility conditions of the local weather service provider. Data is retrieved every three hours, with low values indicating poor visibility, and higher values indicating excellent visibility. An 18-hour visibility forecast is also available.

Data Source: World Weather Online (http://www.worldweatheronline.com/premium-weather.aspx?menu=features)

Functionality

The Logic Block will provide the visibility data of the nearest weather station, as a scale from 1-10 every three hours.

  • Geographical coverage: Canada, US, and world.
  • Data Intervals: ONLY 3-hour data available.
  • History and Forecast: ONLY Historical and 18-hour visibility forecast data available.

Block Configuration

The Visibility Block Logic Block is easy to set-up, with the only two requested parameters being Name and Postal Code:

Name: changes the name of the block as it appears in the Logic Flow. It is best practice to use a concise, descriptive name.

Postal Code (Data request): Does not have to be only postal code, airport code (IATA), city name, latitude/longitude, IP address are also acceptable. See the examples below:

  • Postal Code: is used to locate the nearest relevant weather station.
  • Airport code, e.g. LHR (London Heathrow Airport)
  • City name, e.g. Stuttgart, Germany
  • Latitude/Longitude, e.g. 49.1947, -123.1839 (Vancouver’s Latitude and Longitude)
  • IP address, e.g. 206.122.22.101