CommonWeatherData (STRUCT)¶
TYPE CommonWeatherData : STRUCT
Contains data, that every API result for weather data contains.
- InOut:
Name
Type
Initial
Comment
i_weather_condition_code
INT
A code defined by OpenWeather to describe a specific weather condition. See their API documentation for more information.
ws_weather_group_description
WSTRING
A short, general description of a specific weather condition, defined by OpenWeather. See their API documentation for more information.
ws_weather_description
WSTRING
A short, more concrete description of a specific weather condition, defined by OpenWeather. See their API documentation for more information.
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.
r_temperature
REAL
Temperature in °C/°F/K
r_temperature_feels_like
REAL
Temperature in °C/°F/K
i_pressure_sea_level
INT
in hPa, max. around 1090 hPa on earth
si_cloudiness
SINT
Percentage -> [0;100]
si_humidity
SINT
Percentage -> [0;100]
i_visibility
INT
in metres, [0;10,000]
r_dew_point
REAL
Temperature in °C/°F/K
r_wind_speed
REAL
in m/s or mph
i_wind_direction
INT
in degrees -> [0;359]
r_wind_gust
REAL
-1
(( OPTIONAL )) in m/s or mph
r_rain_last_hour
REAL
0
(( OPTIONAL )) in mm/h (= l/m² per hour)
r_snow_last_hour
REAL
0
(( OPTIONAL )) in mm/h (= l/m² per hour)
li_data_timestamp
LINT
Unix UTC Time for which the data inside this structure is valid
r_uv_index
REAL
UV index ranging from 0 to around 11 usually, but can be much higher!