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:
WindDirectionWind direction in degrees.
Output path: weather.wind.directionOutput type: floatOutput value: original value converted to float number WindSpeedWind speed in meters per second.
Output path: weather.wind.speedOutput type: floatOutput value: original value converted to float number GustNumber in range
[0,8,10,12]which defines strength of wind gusts.Output path: weather.gustOutput type: complex gust constant TurbulenceNumber in range
[0,3,4,5,6]which defines strength of wind turbulence.Output path: weather.turbulenceOutput type: complex turbulence constant