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