mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
[GFS] Use Pressure at MSL instead of surface
Pressure at surface level was the wrong value. All barometers and altimeters use pressure reduced to mean sea level. Reading that value from GFS instead returns much more reasonable values. ref T537
This commit is contained in:
committed by
Mat Sutcliffe
parent
d50811c941
commit
9d1299741e
@@ -63,7 +63,7 @@ void CWeatherDataPrinter::ps_printWeatherData(const BlackMisc::Weather::CWeather
|
||||
{
|
||||
qtout << "Latitude:" << gridPoint.getPosition().latitude().toQString() << endl;
|
||||
qtout << "Longitude:" << gridPoint.getPosition().longitude().toQString() << endl;
|
||||
qtout << " Surface Pressure: " << gridPoint.getSurfacePressure().toQString() << endl;
|
||||
qtout << " MSL Pressure: " << gridPoint.getPressureAtMsl().toQString() << endl;
|
||||
|
||||
CTemperatureLayerList temperatureLayers = gridPoint.getTemperatureLayers();
|
||||
temperatureLayers.sort([](const CTemperatureLayer &a, const CTemperatureLayer &b) { return a.getLevel() < b.getLevel(); });
|
||||
|
||||
Reference in New Issue
Block a user