]> git.mxchange.org Git - flightgear.git/commit
CM:
authorcurt <curt>
Thu, 19 Jul 2001 22:10:14 +0000 (22:10 +0000)
committercurt <curt>
Thu, 19 Jul 2001 22:10:14 +0000 (22:10 +0000)
commit20f50d349f6011439ea5559a134abc7bd6a9ecf3
tree3efa97946562484c1d3d6d9b5f404552b736117e
parent1de5373ed91e657bf3723619ec3ce8b036831f14
CM:

I've updated the WeatherDatabase to be able to use only the n closest
stations. This can speed up the initalization dramatically.

To take a benefit from that you need:

- http://129.13.102.67/out/flight/current.txt.gz in
  FG_ROOT/weather/current.txt.gz
- --prop:/environment/weather/working-type=internet
- --prop:/environment/weather/max-stations=what_ever_you_want

The WeatherCM stuff now publishes its data in the property system.

    /environment/weather/wind-north-mps
    /environment/weather/wind-east-mps
    /environment/weather/wind-up-mps
    /environment/weather/temperature-K
    /environment/weather/air-pressure-Pa
    /environment/weather/vapor-pressure-Pa
    /environment/weather/air-density

are the new properties.
src/Main/fg_init.cxx
src/WeatherCM/FGLocalWeatherDatabase.cpp
src/WeatherCM/FGLocalWeatherDatabase.h