Live weather doesn't work

Need help getting your computer to behave? Need help installing or running FG? Need help compiling? This is your first place to start!
User avatar
V12
Posts: 466
Joined: Sun Mar 19, 2017 5:15 pm

Live weather doesn't work

Postby V12 » Fri Feb 08, 2019 8:33 am

NOAA changed their URL for METAR reports, result in FG is clear - no weather when using Live weather. Based on discussion at https://forum.flightgear.org/viewtopic.php?f=25&t=35320 I created new repo in my Git for patch, You can find it on https://github.com/BAWV12/FGFS201831-METAR-patch. There are 2 branches :
- MASTER - it is original SurferTim's solution with python redirector
- No-Python - it is mathieugouin's solution without python redirector

Usage :
1. Backup Your original fgfs.exe
2. Download this package, extract fgfs.exe and overwrite original one
3. Set EXECUTE permission on this new file
4. Run Terminal and use command python3 metar.py. This step is not need when use No-Python branch
5. Start FGFS and enjoy

Tested only with FGFS 2018.3.1 on LUbuntu 18.04. Other releases are not supported.
All credits and big thanks to SurferTim and mathieugouin
ImageImage

123apple
Posts: 180
Joined: Fri Jul 15, 2016 1:17 pm

Re: Live weather doesn't work

Postby 123apple » Fri Feb 08, 2019 11:47 am

Make sure you restore the correct executable once this bug is fixed.

D-73
Posts: 31
Joined: Thu Sep 17, 2015 9:33 pm

Re: Live weather doesn't work

Postby D-73 » Fri Feb 08, 2019 12:49 pm

And if all else fails, you can simply copy the metar info to your launcher. I do that for my destination airport. Here's a list of metar stations.

https://tgftp.nws.noaa.gov/data/observa ... /stations/

SP-BAN
Posts: 81
Joined: Sat Nov 12, 2016 10:06 pm

Re: Live weather doesn't work

Postby SP-BAN » Sat Feb 09, 2019 12:17 pm

Hello who knows when the current weather for FG 2018.3.2

User avatar
LesterBoffo
Posts: 790
Joined: Tue Sep 15, 2015 3:58 am
Location: Beautiful sunny, KOTH

Re: Live weather doesn't work

Postby LesterBoffo » Fri Feb 22, 2019 6:59 pm

A few years back Vincent had a quick and easy fix for the last time NOAA changed their URL, it involved editing some line in a Nasal or Preference .xml For those of us running older installs does anyone recall where that file is?


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 27 guests