Melchior FRANZ schrieb: > * Georg Vollnhals -- Monday 03 March 2008: > >> $fgfs `metar -e 183 -c loww` >> > > Note that these are *backticks*, not single quotes (apostrophes). > On bash shells you can also write it as > > $ fgfs $(metar -e 183 -c loww) > > > > >> 1. Is the use of the "metar" tool really the only option to get an old >> METAR string into FlightGear? >> > > There's no property or command line option for that AFAIK, but you > can use metar for that, too. Just use it first to get the metar > string: > > $ metar -v eddf # v ... verbose > ... > INPUT: 2008/03/02 22:50 > EDDF 022250Z 24012KT 9999 -RA FEW020 BKN032 10/09 Q1010 NOSIG > > > Then call metar and fgfs with that: > > $ fgfs `metar -e 183 -c "EDDF 022250Z 24012KT 9999 -RA FEW020 BKN032 10/09 > Q1010 NOSIG"` > > metar doesn't only fetch metar data, but also parses what you feed > it to. > > It's annoying that one has to specify the airport elevation for > the cloud layers to be at the right altitudes, but I didn't want > to query the apt.dat DB for "metar". It was only meant to be a > simple test app for simgear's METAR parser. > > m. > > Thank you Melchior, I'll try it with more knowledge :-) When searching for more documentation I read about your metar proxy ... long ago. I think this was the predecessor of the actual metar tool and the METAR capabilities of FG. Georg
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel