Stuart Buchanan a écrit :
> Was the weather scenario set to METAR as well - one of the bugs I fixed with
> the
> latest patch was that previously --enable-real-weather-fetch over-wrote the
> various
> scenarios. Now, you will only get METAR if you have METAR as the scenario, as
> well as --enable-real-weather-fetch.
>
> -Stuart
>
Hi, just to say something about real weather fetch and METAR, it seems
to me that metar information are only used once, after thet next metar
update is not taken into account (in the different clouds layers or in
/environment properties) , but i think you know this (i saw a TODO in
fgclouds.cxx).
an other thing is a concern about:
/environment/temperature-sea-level-degc
/environment/dewpoint-sea-level-degc
and the temperatures properties in the clouds layers
wich are not changed (always 15 and 5) .
i tried this formula in FGClouds::update_env_config ():
fgDefaultWeatherValue( "temperature-degc",(
fgGetDouble("/environment/metar/temperature-degc") + 0.0065 * 0.3048 *
station_elevation_ft ))
but my knowledge of c++ being close to 0, station elevation was not
taken into account but temperature was updated.
cheers
jano
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel