Board index FlightGear Development Weather

Live weather fail

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

Re: Live weather fail

Postby GhostRider » Thu Mar 14, 2019 10:52 pm

Any idea when the patch for the METAR problem will be resolved?
GhostRider
 
Posts: 118
Joined: Mon Jul 08, 2013 9:11 pm
Location: KDFW
Version: 2018.3.1
OS: Windows

Re: Live weather fail

Postby WoodSTokk » Fri Mar 15, 2019 12:31 am

GhostRider wrote in Thu Mar 14, 2019 10:52 pm:Any idea when the patch for the METAR problem will be resolved?


Actually, new RCs are build for 2019.1.1. I assume there is a release in the next two weeks.
WoodSTokk
 
Posts: 1077
Joined: Tue Oct 17, 2017 3:30 pm
Location: Milky Way/Sol/Earth/Europe
Callsign: SX-W57
IRC name: WoodSTokk
Version: 2020.4.0
OS: Debian Bullseye

Re: Live weather fail

Postby Robertfm » Sun Jun 16, 2019 10:50 pm

I was going to ask the question about the Live Weather. I'm glad I didn't although of course it is now June. In March something was going to happen.
Robertfm
 
Posts: 1721
Joined: Thu Apr 25, 2019 5:56 pm
Callsign: RFM1
Version: 2020.3.11
OS: W10 v 19041.746

Re: Live weather fail

Postby PPLIFR99 » Sat Aug 17, 2019 7:49 pm

I have been using 2018.3.3rc, 2019.1.1 and now 2019.1.2 and in each version, live weather didn't work (at least on my machine running Win 7).
Firewall is not the problem as it asked whether to allow connection to NOAA-server after each respective FG installation.
Live weather worked perfectly under 2018.2.2 until NOAA decided to change the URL once again.

I can only emphasize what someone in this thread has suggested (and which has been suggested by other people a few years ago when the same problem occured):
To not hard-code the URL and instead put it in a config file (or another placed where it is easy to access) where it can be changed without much hassle by pretty much anyone.

Regards
PPLIFR99
 
Posts: 11
Joined: Fri Aug 02, 2019 9:11 pm

Re: Live weather fail

Postby legoboyvdlp » Sat Aug 17, 2019 8:19 pm

The URL has been updated already, if the problem still remains it is a problem with making an HTTPS connection (bad version of curl on the system, for instance), nothing to do with the URL. I never had any success myself until I disabled certificate checking and recompiled.

Maybe you could try loading up the HTTPS URL in your browser (to load the certificates) and see if that helps any.
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: Live weather fail

Postby PPLIFR99 » Sat Aug 17, 2019 9:54 pm

Thanks for your quick reply. I appreciate it. :)

Loading the https-URL in the browser didn't help but it was worth a try.
Compiling/recompiling is a new world to me but I won't use my limited time to dive into all this.
Just want to fly and report bugs whenever I find some (<-- average user so to speak ;) ).

Apparently, it really doesn't seem to matter what version I use. Just installed the latest 2019.2.0-nightly 2 hours ago and unfortunately the problem is still there.

Regards
PPLIFR99
 
Posts: 11
Joined: Fri Aug 02, 2019 9:11 pm

Re: Live weather fail

Postby V12 » Thu Aug 22, 2019 10:00 am

There is way how obtain working METAR without recompilation, but You will need hex editor and small amount of skill with it. In the fgfs executable find text http://tgftp.nws.noaa.gov/data/observations/metar/stations/ and replace it with http://mgouin.appspot.com/fg?icao-station-identifier-name1= and save file. For me this work on Windows 2018.3.1, 2018.3.2, on Linux 2018.3.1 and 2018.3.2 too. I did not tested Win version 2019.X.Y versions.
Fly high, fly fast - fly Concorde !
V12
 
Posts: 2757
Joined: Thu Jan 12, 2017 5:27 pm
Location: LZIB
Callsign: BAWV12

Re: Live weather fail

Postby PPLIFR99 » Fri Aug 23, 2019 12:07 am

Thanks a lot.
It works just fine with 2018.3.3. :)

With 2019.2.0 I am getting an error message right after trying to launch fgfs.exe ("...fgfs.exe is not a permissible Win32-application"). I guess it didn't like it that I used the Hex editor on it. Unaltered it starts right up.

Either way there should be a final fix in an upcoming version as Live weather doesn't work right out of the box on every system.


Regards
PPLIFR99
 
Posts: 11
Joined: Fri Aug 02, 2019 9:11 pm

Re: Live weather fail

Postby wkitty42 » Fri Aug 23, 2019 3:02 am

it should be working properly in the 2019 versions unless there's a network problem accessing the noaa.gov site...
"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: 9148
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Live weather fail

Postby Robertfm » Fri Aug 23, 2019 9:58 am

Will downloading the 2019 version of FG alter any of my settings previously installed in FG. Also can anyone provide a link to 2019 all I keep finding is the version I have.
Robertfm
 
Posts: 1721
Joined: Thu Apr 25, 2019 5:56 pm
Callsign: RFM1
Version: 2020.3.11
OS: W10 v 19041.746

Re: Live weather fail

Postby PPLIFR99 » Fri Aug 23, 2019 11:39 am

wkitty42 wrote in Fri Aug 23, 2019 3:02 am:it should be working properly in the 2019 versions unless there's a network problem accessing the noaa.gov site...


I currently have 3 versions of FG installed: 2018.2.2, 2018.3.3 and 2019.2.0
All three have unlimited access granted by my firewall.
Live weather used to work fine with 2018.2.2 until the NOAA-server-URL changed.
Installing 2018.3.3 and 2019.2.0 left this problem unsolved (at least on my machine).

Only meddling with the fgfs.exe and a hex editor led to live weather working in 2018.2.2 and 2018.3.3 (thx to V12 :) ).
2019.2.0 won't even start with the altered exe-file.

As a side note:
The link contained in fgfs.exe is
Code (): Select all
https://tgftp.nws.noaa.gov/data/observations/metar/stations/[station].TXT
in 2019.2.0 whereas it is

Code (): Select all
http://tgftp.nws.noaa.gov/data/observations/metar/stations
in the two older versions.

All I can say is that network access for any FG version is not an issue on my machine.
The problem could indeed have to do with the connection to the NOAA-server or an https-connection in general.


Regards
PPLIFR99
 
Posts: 11
Joined: Fri Aug 02, 2019 9:11 pm

Re: Live weather fail

Postby Thorsten » Fri Aug 23, 2019 12:40 pm

There's a general perception on the developers' mailing list that the problem is solved in 2019.X, so unless prompted by some additional input, there won't be any action before the next release, there's currently no work pending.

If that's not the case for you, I suggest you write about the issue to the mailing list and be prepared to supply follow-up diagnostics.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: Live weather fail

Postby Robertfm » Fri Aug 23, 2019 5:36 pm

This may seem a stupid question to you experts but how do I know Live Weather is working. Now when I alter the setting from Meta Data to Realistic weather in Weather, advanced settings the flight surrounds change and what were black/grey clouds disappear. The Meta data is scrolling on PUi map with the nearest airport in the case Cork (EICK). When I set to Meta in Weather it goes back to dark/grey clouds. The Meta data shown in the dialogue box main weather screen is not prominent, but there is an X in data valid box. So am I getting Live weather.? I've now loaded 2019 copy of FG.
Robertfm
 
Posts: 1721
Joined: Thu Apr 25, 2019 5:56 pm
Callsign: RFM1
Version: 2020.3.11
OS: W10 v 19041.746

Re: Live weather fail

Postby SurferTim » Fri Aug 23, 2019 5:42 pm

I just installed 2019.2.0 last week, and live weather works on the Ubuntu (Debian) linux version.

Start the simulator.
Select Environment -> Weather
Does it say "Live data"?
Is there an 'X' in "Data is valid"?
Is there a METAR report in the text box?
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1712
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Live weather fail

Postby Robertfm » Fri Aug 23, 2019 5:57 pm

There is text in the text box but it is not highlighted. It's todays date and timed at 4pm which will be 5pm UK time. So I guess it is working.
Robertfm
 
Posts: 1721
Joined: Thu Apr 25, 2019 5:56 pm
Callsign: RFM1
Version: 2020.3.11
OS: W10 v 19041.746

PreviousNext

Return to Weather

Who is online

Users browsing this forum: No registered users and 1 guest