Dataref Search
sim/
sim/weather/
sim/weather/region/
Weather data for the surrounding region. These form the basis of the environmental weather, which will also vary slightly over distance. Mostly modifiable.
sim/weather/region/atmosphere_alt_levels_m[13]
float
in meters
The altitudes for the thirteen atmospheric layers returned in other sim/weather/region datarefs.
sim/weather/region/change_mode
int
in enum
How the weather is changing. 0 = Rapidly Improving, 1 = Improving, 2 = Gradually Improving, 3 = Static, 4 = Gradually Deteriorating, 5 = Deteriorating, 6 = Rapidly Deteriorating, 7 = Using Real Weather
sim/weather/region/cloud_base_msl_m[3]
float
in meters
MSL >= 0. The base altitude for this cloud layer.
sim/weather/region/cloud_coverage_percent[3]
float
in float
Cloud coverage per layer, range 0 - 1.
sim/weather/region/cloud_tops_msl_m[3]
float
in meters
>= 0. The tops for this cloud layer.
sim/weather/region/cloud_type[3]
float
in float
Blended cloud types per layer. 0 = Cirrus, 1 = Stratus, 2 = Cumulus, 3 = Cumulo-nimbus. Intermediate values are to be expected.
sim/weather/region/dewpoint_deg_c[13]
float
in degreesC
The dew point at specified levels in the atmosphere.
sim/weather/region/qnh_base_elevation
float
in float
Base elevation for QNH. Takes into account local physical variations from a spheroid.
sim/weather/region/qnh_pas
float
in float
Base elevation for QNH. Takes into account local physical variations from a spheroid.
sim/weather/region/rain_percent
float
as a ratio
[0.0 - 1.0] The percentage of rain falling.
sim/weather/region/runway_friction
float
in enum
The friction constant for runways (how wet they are). Dry = 0, wet(1-3), puddly(4-6), snowy(7-9), icy(10-12), snowy/icy(13-15)
sim/weather/region/sealevel_pressure_pas
float
in pascals
Pressure at sea level, current planet
sim/weather/region/sealevel_temperature_c
float
in degreesC
The temperature at sea level.
sim/weather/region/shear_direction_degt[13]
float
in degrees
[0 - 360]. The direction for a wind shear, per above.
sim/weather/region/shear_speed_msc[13]
float
in kts
>= 0. The gain from the shear in knots.
sim/weather/region/temperature_altitude_msl_m[13]
float
in meters
>= 0. Altitudes used for the temperatures_aloft_deg_c array.
sim/weather/region/temperatures_aloft_deg_c[13]
float
in degreesC
Temperature at pressure altitudes given in sim/weather/region/atmosphere_alt_levels. If the surface is at a higher elevation, the ISA difference at wherever the surface is is assumed to extend all the way down to sea level.
sim/weather/region/thermal_rate_ms
float
in m/s
>= 0 The climb rate for thermals.
sim/weather/region/tropo_alt_m
float
in meters
Altitude of the troposphere
sim/weather/region/tropo_temp_c
float
in degreesC
Temperature at the troposphere
sim/weather/region/turbulence[13]
float
in float
[0 - 10] A turbulence factor, 0-10, the unit is just a scale.
sim/weather/region/update_immediately
int
in bool
If this is true, any weather region changes EXCEPT CLOUDS will take place immediately instead of at the next update interval (currently 60 seconds).
sim/weather/region/variability_pct
float
as a ratio
How randomly variable the weather is over distance. Range 0 - 1.
sim/weather/region/visibility_reported_sm
float
in statute_miles
>= 0. The reported visibility (e.g. what the METAR/weather window says).
sim/weather/region/wave_amplitude
float
in meters
Amplitude of waves in the water (height of waves)
sim/weather/region/wave_dir
float
in degrees
Direction of waves.
sim/weather/region/wave_length
float
in meters
Length of a single wave in the water - not writable starting in v12
sim/weather/region/wave_speed
float
in m/s
Speed of water waves - not writable starting in v12
sim/weather/region/weather_preset
int
in enum
Read the UI weather preset that is closest to the current conditions, or set an UI preset. Clear(0), VFR Few(1), VFR Scattered(2), VFR Broken(3), VFR Marginal(4), IFR Non-precision(5), IFR Precision(6), Convective(7), Large-cell Storms(8)
sim/weather/region/weather_source
int
in enum
What system is currently controlling the weather. 0 = Preset, 1 = Real Weather, 2 = Controlpad, 3 = Plugin.
sim/weather/region/wind_altitude_msl_m[13]
float
in meters
>= 0. The center altitude of this layer of wind in MSL meters.
sim/weather/region/wind_direction_degt[13]
float
in degrees
[0 - 360] The direction the wind is blowing from in degrees from true north clockwise.
sim/weather/region/wind_speed_msc[13]
float
in kts
>= 0. The wind speed in knots.