• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

WeatherSetObservation + C#

Messages
73
Hello !

We are currently developing a C# application who retrieves real metar data, parse and inject in Weather Station of FSX using Simconnect in a radius of the current aircraft position.

Most of datas request FSX are corectly parse and inject using the WeatherSetObservation.

But we have some problems with others datas needed by FSX.

PRESENT CONDITIONS IDDPP

where:
I - Intensity or vicinity flag:. -, + or VC. - means light, + means severe, and VC means vicinity. The + and - can be combined with VC. Leave out a + or - to mean moderate.

For example: +VCTSRA means severe thunderstorm with rain in the vicinity.

DD - Descriptor, one of:
MI shallow
PR partial
DC patches
DR low drifting
BL blowing
SH shower
TS thunderstorm
FZ freezing

PP - Phenomena, one of:

DZ drizzle
RA rain
SN snow
SG snow grains
IC ice crystals
PE ice pellets
GR hail
GS small hail/snow pellets
UP unknown

BR mist
FG fog
FU smoke
VA volcanic ash
DU dust
SA sand
HZ haze
PY spray

PO dust whirls
SQ squalls
FC funnel cloud/tornado/waterspout
SS sandstorm
DS duststorm

Like in the exemple we tried to injec +VCTSRA but no change in FSX, we also tried others combinations fallowing the syntax : "IDDPP" as u can see in the SDK documentation.

An other question, let's look on the SDK documentation :

VISIBILITY (has an extension) Like winds aloft the visibility group can be repeated to describe multiple visibility layers. There is also an extension to the format to allow layer base and depth to be specified.

Use one of the following formats:

Statute Miles:
M1/4SM or <1/4SM (visibility is less that a quarter of a statute mile)
ISM (visibility is measured in an integer number of statue miles)
N/DSM (visibility is measured as a fraction of a statue mile)
I N/DSM (visibility is measured in a whole part and fraction of a statue mile)

where
I = Integer part
N = Numerator
D = Denominator

The minimum fraction that can be entered is 1/8. Note that this is the only exception where a space can occur (between the I and the N) within a section.

Kilometers: NNKM

Meters: NNNND

where
D is directional variation, one of:
NDV - no directional variation
NE, NW, SE, SW, N, S, E, W - compass point
M meters - same as NDV

ESP extension:

Format is &BXXXX&DYYYY

XXXX - base of visibility layer in meters
YYYY - depth of visibility layer in meters

As u can see there is an extension : &BXXXX&DYYYY, so why sometimes we can read injected metar like this : &B-1500&D3000 (whith a - after the B) ?

Then, we also noticed that when we inject metar even if the metar is the same that the older one, there is a radical change in the display of clouds.

Maybe there is a way to ensure that our injection is made more smooth?

Thx in advance !

PS : Sorry for my ugly english ...
 
Last edited:
Back
Top