Page 1 of 1

Prepar3D GUI does not show injected weather correctly when set with WeatherSetObservation per station

Posted: Sat Apr 18, 2020 8:11 am
by Highflyer525

I'm using Prepar3d V5, the latest Simconnect, SDK, Visual Studio 2019 and .NET 4.8.

When you inject weather using WeatherSetObservation on a per station basis, (custom weather using built in stations,) the weather changes, this can be confirmed both visually and by listening to the ATIS, however, the weather is not updated properly in the GUI. (World > Weather)

It's worth pointing out that this only happens when you inject custom weather on a per station basis. If you inject weather globally the GUI matches perfectly.

I'm also clicking on the actual weather station in the Prepar3D GUI to get it's actual weather from that station.

Using this code:

Code: Select all

p3d_simconnect.WeatherSetObservation(seconds, METAR) p3d_simconnect.WeatherSetModeCustom()

To set This METAR

Code: Select all

EGNX 180750Z 03010KT 8000 -RA BKN013 06/04 Q1018

Results in this correct visual change and ATIS (except the wind, see different bug report):


but this which doesn't resemble it at all in the GUI: