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

Highflyer525
Posts: 9
Joined: Wed Feb 07, 2018 8:23 pm

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

Postby Highflyer525 » Sat Apr 18, 2020 8:11 am

Hi,

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):


Image


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


Image
Image
Image
Image


Thanks,

Mark.

Return to “SimConnect Interface Questions”

Who is online

Users browsing this forum: No registered users and 12 guests