From b4842a096a8d18ec58149265ec493f6ff8d66a32 Mon Sep 17 00:00:00 2001 From: torsten Date: Fri, 29 May 2009 11:41:32 +0000 Subject: [PATCH] new command line option --metar="some metar string" provide some predefined weather scenarios --- Translations/strings-default.xml | 1 + options.xml | 7 +++- preferences.xml | 70 ++++++++++++++++++++++++++++++++ 3 files changed, 77 insertions(+), 1 deletion(-) diff --git a/Translations/strings-default.xml b/Translations/strings-default.xml index fdad9b11b..a6b69707a 100644 --- a/Translations/strings-default.xml +++ b/Translations/strings-default.xml @@ -92,6 +92,7 @@ Include random scenery objects Disable METAR based real weather fetching Enable METAR based real weather fetching (this requires an open internet connection) + Pass a METAR to set up static weather (buildings, etc.) Disable the artificial traffic subsystem. Enable the artificial traffic. diff --git a/options.xml b/options.xml index 8026fe376..d4978b134 100644 --- a/options.xml +++ b/options.xml @@ -764,6 +764,11 @@
strings/environment-options + + diff --git a/preferences.xml b/preferences.xml index 95cf9f9df..3ed2e3ea2 100644 --- a/preferences.xml +++ b/preferences.xml @@ -605,6 +605,61 @@ Started September 2000 by David Megginson, david@megginson.com + + + Disabled + METAR weather generation is disabled. Use 'Weather Conditions' and 'Clouds' dialogs to setup your weather. + + + Live data + Fetch live weather data for your nearest airport from noaa.gov. You need a working internet connection. + + + Manual input + Enter your favorite METAR weather in the textbox below. A valid METAR syntax is required. + + + Fair weather + XXXX 012345Z 15003KT 12SM SCT041 FEW200 20/08 Q1015 NOSIG + A lovely day for trip to your favorite 100$ hamburger airfield + + + Thunderstorm + XXXX 012345Z 15012G25KT 4000 TSRA FEW030CB SCT035TCU 27/24 Q0995 + A hot and damp summer day with thunderstorms developing in the afternoon. + Be prepared for reduction of visibility in showers and strong gusts + near thunderstorms + + + Stormy Monday + XXXX 012345Z 28035G50KT 9999 TSRA SCT022CB BKN030 13/09 Q1005 + Your are out for an adventure? Gusty winds blowing from the west + and isolated thunderstorms should be avoided. Fasten your seatbelt! + + + Marginal VFR + XXXX 012345Z 23010KT 5000 SHRA SCT012 BKN018 OVC060 15/11 Q1010 + After the storm - limited visibility and some showers. + Go or No-Go? + + + CAT I minimum + XXXX 012345Z 15015KT 0800 -RA BKN002 OVC004 08/06 Q0990 + If you just got your IFR rating, this is what you are allowed to do. But can you? + + + CAT II minimum + XXXX 012345Z 15010KT 0400 -RA BKN001 OVC002 08/06 Q0990 + With just a 1/4 mile visibility and clouds at 100ft, you don't see much of the runway until + seconds before touchdown. Trust your instruments to stay alive. + + + CAT IIIb minimum + XXXX 012345Z VRB01KT 0100 FG OVC001 OVC002 02/02 Q0990 + This is expert level. You will barely see the taxiway from the cockpit, even if you are + on ground. Fog and light drizzle, freezing level at 1000ft. + + Fair weather @@ -621,9 +676,12 @@ Started September 2000 by David Megginson, david@megginson.com 15.0 5.0 + 0.2 0.0 1.0 + 0 + 0 @@ -631,9 +689,12 @@ Started September 2000 by David Megginson, david@megginson.com 280 6 + 1.0 0.1 1.0 + 5 + 0.3 @@ -649,9 +710,12 @@ Started September 2000 by David Megginson, david@megginson.com + 0.5 0.05 1.0 + 25 + 1 @@ -659,15 +723,20 @@ Started September 2000 by David Megginson, david@megginson.com 310 20 + 0.0 0.0 1.0 + 30 + 1.2 9000 320 30 + 35 + 1.3 @@ -709,6 +778,7 @@ Started September 2000 by David Megginson, david@megginson.com false 240 + true true 30000