Jump to content


This topic is now archived and is closed to further replies.


WeatherSetObservation + C#

Recommended Posts

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.





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)



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



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

Share this post

Link to post
Share on other sites

you have to control metars to every weather station within the bubble...

Steve Waite: Engineer at codelegend.com

Share this post

Link to post
Share on other sites

  • Tom Allensworth,
    Founder of AVSIM Online

  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
  • Donation Goals

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.

    $9,880.00 of $25,000.00 Donate Now
  • Create New...