5.3. WEATHER sectionΒΆ
Note
WeatherSectionParser
is
responsible for parsing WEATHER
section. This section describes additional
weather conditions and contains one key-value pair per each line.
Section example:
[WEATHER]
WindDirection 120.0
WindSpeed 3.0
Gust 0
Turbulence 4
Output example:
{
'weather': {
'wind': {
'direction': 120.0,
'speed': 3.0,
},
'gust': Gust.none,
'turbulence': Turbulence.very_strong,
},
}
Output contains a dict
with weather
element.
Description:
WindDirection
Wind direction in degrees.
Output path: weather.wind.direction
Output type: float
Output value: original value converted to float number WindSpeed
Wind speed in meters per second.
Output path: weather.wind.speed
Output type: float
Output value: original value converted to float number Gust
Number in range
[0,8,10,12]
which defines strength of wind gusts.Output path: weather.gust
Output type: complex gust constant Turbulence
Number in range
[0,3,4,5,6]
which defines strength of wind turbulence.Output path: weather.turbulence
Output type: complex turbulence constant