]> git.mxchange.org Git - flightgear.git/commit
Previously the weather dialog box and environment system had some confusion
authorcurt <curt>
Tue, 24 Jun 2003 20:04:29 +0000 (20:04 +0000)
committercurt <curt>
Tue, 24 Jun 2003 20:04:29 +0000 (20:04 +0000)
commit1a8fe25cf409d311f836656f580537fa59e8133c
tree8a780da56e869f3eb2c0ca285aa3d92222b24c2f
parent3ff954c1ae7d281dc3c2f19603715e5338df56a1
Previously the weather dialog box and environment system had some confusion
between temperature at altitude vs. temperature at sea level.  The dialog
box asked for temperature at altitude which makes sense, but all the
internal crunching expected temperature at sea level.  However, it makes no
logical sense to specify the sea level temperature for different layers so
I changed the internal processing to work with temperature at altitude and
then derive an approximate sea level temperature at the end.

If you know the ground temperature, you can just enter this temperature
for the first boundary layer and the system should do the right thing.
src/Environment/environment.cxx
src/Main/fg_commands.cxx