Board index FlightGear Support Installation

METAR FG 2017.1.1

Need help getting up and running? Installing FlightGear, add-on planes, sceneries etc.
Forum rules
In order to help you, we need to know a lot of information. Make sure to include answers to at least the following questions in your initial post.

- what OS (Windows Xp/Vista, Mac etc.) are you running?
- what FlightGear version do you use?
- what graphics card do you have?

Please, also see Requesting Technical Help.

Note: If you did not get a reponse, even after 7 days, you may want to check out the FlightGear mailing lists to ask your question there.

METAR FG 2017.1.1

Postby GhostRider » Sat Feb 25, 2017 6:20 pm

Downloaded new version. Checked "fetch real weather online" box. Loaded an aircraft and airport and configured detailed weather. Airport METAR (live data) did not load got message "Airport METAR not available aborting...". Tried other airports with same results. Any fixes?
GhostRider
 
Posts: 118
Joined: Mon Jul 08, 2013 9:11 pm
Location: KDFW
Version: 2018.3.1
OS: Windows

Re: METAR FG 2017.1.1

Postby azims » Sat Feb 25, 2017 7:50 pm

Same problem. Any help please?
azims
 
Posts: 38
Joined: Mon Aug 12, 2013 8:56 pm
Callsign: AS
Version: 2017.2.1
OS: Windows 10

Re: METAR FG 2017.1.1

Postby sanhozay » Sat Feb 25, 2017 8:24 pm

Which airports please?
sanhozay
 
Posts: 1207
Joined: Thu Dec 26, 2013 12:57 pm
Location: EGNM
Callsign: G-SHOZ
Version: Git
OS: Ubuntu 16.04

Re: METAR FG 2017.1.1

Postby GhostRider » Sat Feb 25, 2017 8:47 pm

USA Airports.
GhostRider
 
Posts: 118
Joined: Mon Jul 08, 2013 9:11 pm
Location: KDFW
Version: 2018.3.1
OS: Windows

Re: METAR FG 2017.1.1

Postby wlbragg » Sat Feb 25, 2017 8:52 pm

Mine are working in the Midwest.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7588
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: METAR FG 2017.1.1

Postby sanhozay » Sat Feb 25, 2017 9:30 pm

GhostRider wrote in Sat Feb 25, 2017 8:47 pm:USA Airports.

Could you be more specific? (That means give us an ICAO code).

The first step in debugging this is to try one and look at metar.dat.gz, and I can't try all the US airports.

And have you tried different aircraft? The c172p is always a good choice as a test.
sanhozay
 
Posts: 1207
Joined: Thu Dec 26, 2013 12:57 pm
Location: EGNM
Callsign: G-SHOZ
Version: Git
OS: Ubuntu 16.04

Re: METAR FG 2017.1.1

Postby GhostRider » Sat Feb 25, 2017 9:37 pm

I had no problem with METAR in the previous version of FG 2016.4.4. So you tell me where the problem might be. Thanks in advance.
GhostRider
 
Posts: 118
Joined: Mon Jul 08, 2013 9:11 pm
Location: KDFW
Version: 2018.3.1
OS: Windows

Re: METAR FG 2017.1.1

Postby sanhozay » Sat Feb 25, 2017 9:40 pm

The problem might be that the station is not reporting any weather or the nearest station is not correctly identified in metar.dat.gz.

Which is why I need an ICAO code and indication of the aircraft you are using.

EDIT: I tried a few ...

KSFO: OK
KORD: OK (it was snowing)
KBOS: OK (it was windy)

It may be that you have a problem with your installation or that there is a bug in Flightgear, but we need to rule out a problem with the data feed, especially as mine is OK and so is Wilbragg's.
Last edited by sanhozay on Sat Feb 25, 2017 10:18 pm, edited 1 time in total.
sanhozay
 
Posts: 1207
Joined: Thu Dec 26, 2013 12:57 pm
Location: EGNM
Callsign: G-SHOZ
Version: Git
OS: Ubuntu 16.04

Re: METAR FG 2017.1.1

Postby GhostRider » Sat Feb 25, 2017 10:15 pm

Try KORD and 787-8.
GhostRider
 
Posts: 118
Joined: Mon Jul 08, 2013 9:11 pm
Location: KDFW
Version: 2018.3.1
OS: Windows

Re: METAR FG 2017.1.1

Postby wlbragg » Sat Feb 25, 2017 10:19 pm

That is some nasty weather, it is working for me on "next".
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7588
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: METAR FG 2017.1.1

Postby sanhozay » Sat Feb 25, 2017 10:19 pm

OK, we were posting at the same time. I tried KORD in another aircraft. Let me try the 787 ...

EDIT: Yes, it's working for me in the 787. I switched away from live weather and back and it is still OK.

Where did you see the error? In the log or on-screen?
sanhozay
 
Posts: 1207
Joined: Thu Dec 26, 2013 12:57 pm
Location: EGNM
Callsign: G-SHOZ
Version: Git
OS: Ubuntu 16.04

Re: METAR FG 2017.1.1

Postby GhostRider » Sat Feb 25, 2017 11:20 pm

I opted for detailed weather and each time I clicked on weather in the drop down menu I saw NIL in the "METAR"box.
GhostRider
 
Posts: 118
Joined: Mon Jul 08, 2013 9:11 pm
Location: KDFW
Version: 2018.3.1
OS: Windows

Re: METAR FG 2017.1.1

Postby sanhozay » Sun Feb 26, 2017 12:15 am

GhostRider wrote in Sat Feb 25, 2017 6:20 pm:... got message "Airport METAR not available aborting...".

Where did you see this message?

Can you see the METAR for KORD if you click this link?

http://tgftp.nws.noaa.gov/data/observat ... s/KORD.TXT

It should look something like this:

Code: Select all
2017/02/25 22:51
KORD 252251Z 28014KT 10SM OVC033 M03/M10 A2995 RMK AO2 SNE26 SLP149 P0000 T10281100

Do you know how to post your log file?
sanhozay
 
Posts: 1207
Joined: Thu Dec 26, 2013 12:57 pm
Location: EGNM
Callsign: G-SHOZ
Version: Git
OS: Ubuntu 16.04

Re: METAR FG 2017.1.1

Postby GhostRider » Sun Feb 26, 2017 1:04 am

Yes and no to log file.
GhostRider
 
Posts: 118
Joined: Mon Jul 08, 2013 9:11 pm
Location: KDFW
Version: 2018.3.1
OS: Windows

Re: METAR FG 2017.1.1

Postby PINTO » Sun Feb 26, 2017 10:10 am

Just installed 2017.1.1, running win10, using both default launcher and ffgo.
Loaded up at KSUU - no live weather available. Per the log file, it's finding the metar data from the noaa website, but it's not loading in.
KGEG - same
ENBR - same

log file, searching for metar, airport is ENBR:
Code: Select all
Search "metar" (26 hits in 1 file)
  C:\Users\soweli\AppData\Roaming\flightgear.org\fgfs.log (26 hits)
   Line 108: environment:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Environment\realwx_ctrl.cxx:325:Reusing metar properties at /environment[0]/metar[0] for
   Line 108: environment:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Environment\realwx_ctrl.cxx:325:Reusing metar properties at /environment[0]/metar[0] for
   Line 109: environment:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Environment\realwx_ctrl.cxx:335:Adding metar properties at /environment[0]/metar[1] for
   Line 109: environment:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Environment\realwx_ctrl.cxx:335:Adding metar properties at /environment[0]/metar[1] for
   Line 110: environment:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Environment\realwx_ctrl.cxx:335:Adding metar properties at /environment[0]/metar[2] for
   Line 110: environment:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Environment\realwx_ctrl.cxx:335:Adding metar properties at /environment[0]/metar[2] for
   Line 111: environment:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Environment\realwx_ctrl.cxx:335:Adding metar properties at /environment[0]/metar[3] for
   Line 111: environment:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Environment\realwx_ctrl.cxx:335:Adding metar properties at /environment[0]/metar[3] for
   Line 112: environment:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Environment\realwx_ctrl.cxx:335:Adding metar properties at /environment[0]/metar[4] for
   Line 112: environment:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Environment\realwx_ctrl.cxx:335:Adding metar properties at /environment[0]/metar[4] for
   Line 113: environment:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Environment\realwx_ctrl.cxx:335:Adding metar properties at /environment[0]/metar[5] for
   Line 113: environment:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Environment\realwx_ctrl.cxx:335:Adding metar properties at /environment[0]/metar[5] for
   Line 114: environment:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Environment\realwx_ctrl.cxx:335:Adding metar properties at /environment[0]/metar[6] for
   Line 114: environment:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Environment\realwx_ctrl.cxx:335:Adding metar properties at /environment[0]/metar[6] for
   Line 115: environment:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Environment\realwx_ctrl.cxx:335:Adding metar properties at /environment[0]/metar[10] for
   Line 115: environment:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Environment\realwx_ctrl.cxx:335:Adding metar properties at /environment[0]/metar[10] for
   Line 116: environment:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Environment\realwx_ctrl.cxx:335:Adding metar properties at /environment[0]/metar[11] for
   Line 116: environment:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Environment\realwx_ctrl.cxx:335:Adding metar properties at /environment[0]/metar[11] for
   Line 117: environment:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Environment\realwx_ctrl.cxx:390:NoaaMetarRealWxController::update(): nearest airport with METAR has changed. Old: '', new: 'ENBR'
   Line 117: environment:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Environment\realwx_ctrl.cxx:390:NoaaMetarRealWxController::update(): nearest airport with METAR has changed. Old: '', new: 'ENBR'
   Line 118: environment:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Environment\realwx_ctrl.cxx:481:NoaaMetarRealWxController::update(): spawning load request for station-id 'ENBR'
   Line 121: autopilot:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Autopilot\autopilotgroup.cxx:201:Reading property-rule configuration from Path "C:/Program Files/FlightGear 2017.1.1/data/Environment/metarinterpolator.xml"
   Line 122: autopilot:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Autopilot\autopilotgroup.cxx:208:adding  property-rule subsystem Environment METAR Interpolation Rule
   Line 627: environment:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Environment\fgmetar.cxx:153:2017/02/26 08:20 ENBR 260820Z VRB02KT 9999 VCSH FEW006 SCT015 BKN030 02/02 Q0996 NOSIG RMK WIND 1200FT 16007KT
   Line 628: environment:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Environment\fgmetar.cxx:157:METAR from tgftp.nws.noaa.gov
   Line 628: environment:3:G:\Jenkins\workspace\Windows-release\flightgear\src\Environment\fgmetar.cxx:157:METAR from tgftp.nws.noaa.gov


Switching back to 2016.4.1, live weather works as expected.
Actively developing the MiG-21bis (github repo) (forum thread) (dev discord) (fg wiki)

http://opredflag.com is an active flightgear dogfighting community (using a system that isn’t bombable)
User avatar
PINTO
 
Posts: 966
Joined: Wed Oct 21, 2015 7:28 pm
Callsign: pinto
Version: stable
OS: Win10

Next

Return to Installation

Who is online

Users browsing this forum: No registered users and 3 guests