Board index FlightGear Development Weather

Bad METAR strings?

Everything related to weather simulation, visuals should be discussed in the shader subforum.

Bad METAR strings?

Postby sanhozay » Tue Dec 08, 2015 9:54 am

Has anyone else noticed METAR strings like this recently?

EGLL 080920Z AUTO 21010KT 9999 FEW012/// OVC042/// //////TCU 13/11 Q1020 TEMPO SHRA BKN012

The forward slashes break the parsing of the METAR string so there are no clouds, even if it's raining or snowing. The above is direct from aviationweather.org.
sanhozay
 
Posts: 1207
Joined: Thu Dec 26, 2013 11:57 am
Location: EGNM
Callsign: G-SHOZ
Version: Git
OS: Ubuntu 16.04

Re: Bad METAR strings?

Postby abcaster » Tue Dec 08, 2015 10:06 am

See viewtopic.php?f=69&t=26152

/// means Missing Type of Cloud or Data Missing

Other nuissances are missing interpretations of Vertical Visiballity and the voice annunciation of 000/00KT as zero-zero-zero degrees, zero knots. It should be: calm.
000/01KT should be three-six-zero degrees, one knot. VRB/03 should be: Variable, three knots.
abcaster
 
Posts: 85
Joined: Sat Jun 28, 2014 10:08 am
Location: EKCH
Callsign: LNRCX
Version: 2018.2.0
OS: Sierra

Re: Bad METAR strings?

Postby wkitty42 » Tue Dec 08, 2015 4:55 pm

abcaster wrote in Tue Dec 08, 2015 10:06 am:the voice annunciation of 000/00KT as zero-zero-zero degrees, zero knots. It should be: calm.
000/01KT should be three-six-zero degrees, one knot. VRB/03 should be: Variable, three knots.

the ""voice annunciator"" is simply text-to-speech... it says what it is reading... if what it is saying is wrong, then the data being fed to the annunciator is wrong...

[brain mash] with regards to circles, what's the difference between 000 degrees and 360 degrees? [/brain mash]
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 4949
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Re: Bad METAR strings?

Postby abcaster » Tue Dec 08, 2015 5:14 pm

[brain mash] with regards to circles, what's the difference between 000 degrees and 360 degrees? [/brain mash]


I've never heard a controller ask a pilot to fly heading 000. It's "fly heading 360 or fly heading north".

I suppose this could be fixed with the right translation in the atis-files?

I already did a customised one for usage in (northern) Europe:

Code: Select all
<?xml version="1.0" ?>
<!--
 This file is part of FlightGear, the free flight simulator
 http://www.flightgear.org/

 Copyright (C) 2014  Curtis L. Olson  - http://www.flightgear.org/~curt

 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License as
 published by the Free Software Foundation; either version 2 of the
 License, or (at your option) any later version.

 This program is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 General Public License for more details.
-->
<PropertyList>
  <!--station-starts-with></station-starts-with-->
  <atis>
    <text>This is </text>
    <token>airport-name</token>
    <text> information </text>
    <token>id</token>
   <text>. . .</text>
    <token>time</token>
    <text>. . . Expect </text>
    <token>approach-type</token>
    <text> approach.</text>
    <if>
      <equals>
        <token>rwy-land</token>
        <token>rwy-to</token>
      </equals>
      <then>
        <text> Runway in use </text>
        <token>rwy-land</token>
      </then>
      <else>
        <text> Runway in use for landing</text>
        <token>rwy-land</token>
        <text> runway in use for take off</text>
        <token>rwy-to</token>
      </else>
    </if>
        <text>. . . . Transition level </text>
                <text>. . . . .....   .</text>
    <token>transition-level</token>
    <text>. . . . . .</text>
    <token>wind-dir</token>
    <text> degrees at </text>
    <token>wind-speed-kn</token>
    <text> knots</text>
    <if>
      <not-empty>
        <token>gusts</token>
      </not-empty>
      <then>
        <text> gusts up to </text>
        <token>gusts</token>
        <text> knots </text>
      </then>
    </if>
    <text>. </text>
    <if>
      <not-empty>
        <token>cavok</token>
      </not-empty>
      <then>
        <text>CAV O K</text>
      </then>
      <else>
        <text>Visibility </text>
        <token>visibility-metric</token>
        <text>. </text>
        <if>
          <not-empty>
            <token>phenomena</token>
          </not-empty>
          <then>
             <token>phenomena</token>
             <text>. </text>
          </then>
        </if>
        <if>
          <not-empty>
            <token>clouds</token>
          </not-empty>
          <then>
            <text>Clouds </text>
            <token>clouds</token>
          </then>
          <else>
            <text>No significant clouds</text>
          </else>
        </if>
      </else>
    </if>
    <text>. Temperature </text>
    <token>temperature-deg</token>
    <text> dewpoint </text>
    <token>dewpoint-deg</token>
    <text>. . .QNH </text>
    <token>qnh</token>
    <text> . . . . . </text>
    <token>trend</token>
    <text>. This was information </text>
    <token>id</token>
    <text>. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .</text>
     <text>. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .</text>
      <text>. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .</text>
  </atis>
</PropertyList>
abcaster
 
Posts: 85
Joined: Sat Jun 28, 2014 10:08 am
Location: EKCH
Callsign: LNRCX
Version: 2018.2.0
OS: Sierra

Re: Bad METAR strings?

Postby wkitty42 » Tue Dec 08, 2015 5:35 pm

i can't say that i've ever heard a controller say either ;)

on the atis files, i don't know... if they do what i think they do, then it is possible, i guess...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 4949
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5


Return to Weather

Who is online

Users browsing this forum: No registered users and 1 guest