When using live weather fetch, the QNH should be obtained from environment/metar/pressure-inhg. See: http://sourceforge.net/p/flightgear/mailman/message/35037125 Add new method getQnhInHg to ATISInformationProvider and its implementations to avoid rounding errors converting from hPa back to inches in ATIS reports. The CurrentWeatherATISInformationProvider (used when live weather fetch is not in use) continues to use the property environment/pressure-sea-level-inhg. This produces the incorrect QNH at airports significantly above sea level but this needs fixing elsewhere to calculate the correct QNH. |
||
---|---|---|
.. | ||
atc_mgr.cxx | ||
atc_mgr.hxx | ||
atcdialog.cxx | ||
atcdialog.hxx | ||
ATISEncoder.cxx | ||
ATISEncoder.hxx | ||
CMakeLists.txt | ||
CommStation.cxx | ||
CommStation.hxx | ||
CurrentWeatherATISInformationProvider.cxx | ||
CurrentWeatherATISInformationProvider.hxx | ||
GroundController.cxx | ||
GroundController.hxx | ||
MetarPropertiesATISInformationProvider.cxx | ||
MetarPropertiesATISInformationProvider.hxx | ||
trafficcontrol.cxx | ||
trafficcontrol.hxx |