From: Torsten D. <To...@t3...> - 2010-12-21 16:52:35
|
> Hi, > > I just notice some modifications about the snow and rain norm property, > which seems to be exposed twice. > One place, in the /environment directory , which is new; and an other > place in the /environment/metar directory , which is the old usable place. > I am maintaining a lot of Aircraft, which are using these property ( snow > and rain norm ) within the Aircraft JSBSIM FDM, ground reaction related. > My question: > right now, which place i must refer to ? the old one > /environment/metar/rain........ or the new one /environment/rain.... or > both, depending on , real weather in use, yes or no > Won't it be better to get it exposed only once. > The idea behind splitting these is to have the properties /environment/metar/foobar represent the weather as reported in the corresponding METAR and the properties /environment/barbaz represent the weather at you current position. These two are not necessarily the same. Currently, the values flow from /environment/metar to /environment with the time-based interpolation controller in $FGDATA/Environment/metarinterpolator.xml or any other environment controller, like the Local-Weather system from Thorsten Renk. Currently under development is to have more than one METAR report and be able to have lateral interpolation together with timed interpolation. These reports will live under /environment/metar[0], /environment/metar[1], etc. probably ordered by distance to current position. For the time being, you should be safe using snow and rain from /environment/metar but in the long run, you might have to think about which property to use: current position or at a certain airport. Hope this helps Torsten |