Hey guys,
let's assume i am flying over a mountain with a height off 5000m AMSL and specify the following values in the Basic weather dialog:
boundary layer (AGL):
0ft 3kt
500ft 6kt
aloft layer (AMSL):
800ft 10kt
10000ft 20kt
...
It is rather clear that I have a wind value of 6kt in 5500m AMSL (500AGL) and in 5800m AMSL (10kt) with a linear interpolation in between. I've checked it and i think it works like this. But what happen when I climb on 5801m AMSL (801 AGL). Then a linear interpolation between 10 kt and 20 kt would result in a value of about 15.44 kt and thats a very big jump for a one meter higher. So how is flightgear considering the terrain in these wind calculation and what is the sense behind specifying the aloft layers in AMSL and not in AGL?? I hope you understand what i mean.
P.S.: In environment_ctrl.cxx a lot of interpolation is done but i am not understand that in detail. Maybe some of you do.