CurrentWeatherData (STRUCT)

TYPE CurrentWeatherData EXTENDS CommonWeatherData : STRUCT

Contains all available data for the current weather situation for a specific location.

InOut:

Name

Type

Initial

Comment

Inherited from

i_weather_condition_code

INT

A code defined by OpenWeather to describe a specific weather condition. See their API documentation for more information.

CommonWeatherData

ws_weather_group_description

WSTRING

A short, general description of a specific weather condition, defined by OpenWeather. See their API documentation for more information.

CommonWeatherData

ws_weather_description

WSTRING

A short, more concrete description of a specific weather condition, defined by OpenWeather. See their API documentation for more information.

CommonWeatherData

ws_weather_icon_code

WSTRING(3)

A 3 characters long icon code, that referres to a specific weather icon, provided by OpenWeather. See their API documentation for more information.

CommonWeatherData

r_temperature

REAL

Temperature in °C/°F/K

CommonWeatherData

r_temperature_feels_like

REAL

Temperature in °C/°F/K

CommonWeatherData

i_pressure_sea_level

INT

in hPa, max. around 1090 hPa on earth

CommonWeatherData

si_cloudiness

SINT

Percentage -> [0;100]

CommonWeatherData

si_humidity

SINT

Percentage -> [0;100]

CommonWeatherData

i_visibility

INT

in metres, [0;10,000]

CommonWeatherData

r_dew_point

REAL

Temperature in °C/°F/K

CommonWeatherData

r_wind_speed

REAL

in m/s or mph

CommonWeatherData

i_wind_direction

INT

in degrees -> [0;359]

CommonWeatherData

r_wind_gust

REAL

-1

(( OPTIONAL )) in m/s or mph

CommonWeatherData

r_rain_last_hour

REAL

0

(( OPTIONAL )) in mm/h (= l/m² per hour)

CommonWeatherData

r_snow_last_hour

REAL

0

(( OPTIONAL )) in mm/h (= l/m² per hour)

CommonWeatherData

li_data_timestamp

LINT

Unix UTC Time for which the data inside this structure is valid

CommonWeatherData

r_uv_index

REAL

UV index ranging from 0 to around 11 usually, but can be much higher!

CommonWeatherData

eUnits

UNIT_OPTION

geoLocation

GeoLocation

li_sunrise_time

LINT

li_sunset_time

LINT