Board index FlightGear Support Installation Linux

No metar available [solved]

Installing FlightGear, scenery, aircraft etc. on Linux systems like Ubuntu.

No metar available [solved]

Postby sanni » Sat Jan 05, 2019 8:49 pm

When I start FG, this message alway appears:
Code: Select all
No metar available


Starting metar in the cli shows this:
Code: Select all
metar -c -vvv ksfo
metar download failed: http://tgftp.nws.noaa.gov/data/observations/metar/stations/KSFO.TXT (6 Couldn't resolve host name)


What can I do to get metar info?
Last edited by sanni on Sun Jan 06, 2019 11:12 pm, edited 2 times in total.
I failed the Turing test
User avatar
sanni
 
Posts: 170
Joined: Tue Oct 11, 2011 8:35 pm
Location: Germany
Callsign: D-Sanni
Version: 3.4
OS: ArchLinux

Re: No metar available

Postby WoodSTokk » Sat Jan 05, 2019 9:14 pm

sanni wrote in Sat Jan 05, 2019 8:49 pm:When I start FG, this message alway appears:
Code: Select all
No metar available


Starting metar in the cli shows this:
Code: Select all
metar -c -vvv ksfo
metar download failed: hppt://tgftp.nws.noaa.gov/data/observations/metar/stations/KSFO.TXT (6 Couldn't resolve host name)


Do you realy mean the hppt protocol ??? Sorry, i don't know this protocol, but i guess you mean the http protocol!
Sorry, if i'm wrong.

EDIT:
The propgram 'metar' has a problem with more than one short option behind a dash.
Code: Select all
$metar -vc ksfo
metar download failed: http://tgftp.nws.noaa.gov/data/observations/metar/stations/-VC.TXT (404 Not Found)


You must write every option alone.
Code: Select all
$metar -v -c ksfo
Proxy host: ''
Proxy port: '80'

WoodSTokk
 
Posts: 112
Joined: Tue Oct 17, 2017 2:30 pm
Location: Milky Way/Sol/Earth/Europe
Callsign: OE-WST
IRC name: WoodSTokk
Version: 2018.3.1
OS: Debian Buster/Sid

Re: No metar available

Postby sanni » Sat Jan 05, 2019 10:05 pm

Ooops, thats a typo.... I'm soooo sorry! Now, it's corrected.

Don't forget the FG-message.
Even if I try metar without the options I get an error message:
Code: Select all
ERROR: metar download failed
I failed the Turing test
User avatar
sanni
 
Posts: 170
Joined: Tue Oct 11, 2011 8:35 pm
Location: Germany
Callsign: D-Sanni
Version: 3.4
OS: ArchLinux

Re: No metar available

Postby legoboyvdlp » Sat Jan 05, 2019 10:10 pm

Could be just a server outage - it worked earlier today - can anyone else see this?
User avatar
legoboyvdlp
 
Posts: 5998
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: 2018.3.1
OS: Windows 10 HP

Re: No metar available

Postby WoodSTokk » Sat Jan 05, 2019 10:28 pm

It works for me.
Code: Select all
$ metar -v -r ksfo
Proxy host: ''
Proxy port: '80'

INPUT: 2019/01/05 21:56
KSFO 052156Z 21027G37KT 7SM FEW011 BKN022 OVC044 13/09 A2963 RMK AO2 PK WND 19048/2137 RAE2058B14E39 SLP034 P0001 T01330089 $

WoodSTokk
 
Posts: 112
Joined: Tue Oct 17, 2017 2:30 pm
Location: Milky Way/Sol/Earth/Europe
Callsign: OE-WST
IRC name: WoodSTokk
Version: 2018.3.1
OS: Debian Buster/Sid

Re: No metar available

Postby wkitty42 » Sat Jan 05, 2019 10:30 pm

it is working here... the "-vc" is broken as reported but "-v -c" works fine...

Code: Select all
2019 Jan 05  17:26:12 -0500
myuser@mymachine:~$ ~/flightgear-dev/next/install/flightgear/bin/metar -vc ksfo
metar download failed: http://tgftp.nws.noaa.gov/data/observations/metar/stations/-VC.TXT (404 Not Found)
ERROR: metar download failed

METAR Report
============
Airport-Id:             KSFO
Report time:            2019/1/5 21:56 UTC
Visibility:             11.3 km                                 7 US-miles
Wind:                   from the SSW (210°) at 50 km/h          27 kt = 31.1 mph = 13.9 m/s
                        with gusts at 68.5 km/h                 37 kt = 42.6 mph = 19 m/s
Temperature:            13°C                                    55.4°F
Dewpoint:               9°C                                     48.2°F
Rel. Humidity:          77%
Pressure:               1003 hPa                                29.63 in. Hg
Sky condition:          few clouds at 1100 ft                   340 m
                        broken clouds at 2200 ft                        670 m
                        sky overcast at 4400 ft                 1340 m


2019 Jan 05  17:26:13 -0500
myuser@mymachine:~$ ~/flightgear-dev/next/install/flightgear/bin/metar -v -c ksfo
Proxy host: ''
Proxy port: '80'

INPUT: 2019/01/05 21:56
KSFO 052156Z 21027G37KT 7SM FEW011 BKN022 OVC044 13/09 A2963 RMK AO2 PK WND 19048/2137 RAE2058B14E39 SLP034 P0001 T01330089 $
        --airport=KSFO
        --start-date-gmt=2019:01:05:21:56:00
        --prop:/environment/clouds/layer[0]/coverage=few
        --prop:/environment/clouds/layer[0]/elevation-ft=1100
        --prop:/environment/clouds/layer[0]/thickness-ft=500
        --prop:/environment/clouds/layer[1]/coverage=broken
        --prop:/environment/clouds/layer[1]/elevation-ft=2200
        --prop:/environment/clouds/layer[1]/thickness-ft=500
        --prop:/environment/clouds/layer[2]/coverage=overcast
        --prop:/environment/clouds/layer[2]/elevation-ft=4400
        --prop:/environment/clouds/layer[2]/thickness-ft=500
        --prop:/environment/clouds/layer[3]/coverage=clear
        --prop:/environment/clouds/layer[3]/elevation-ft=-99999
        --prop:/environment/clouds/layer[3]/thickness-ft=500
        --prop:/environment/clouds/layer[4]/coverage=clear
        --prop:/environment/clouds/layer[4]/elevation-ft=-99999
        --prop:/environment/clouds/layer[4]/thickness-ft=500
        --prop:/environment/config/boundary/entry[0]/elevation-ft=-100
        --prop:/environment/config/boundary/entry[0]/turbulence-norm=0
        --prop:/environment/config/boundary/entry[0]/visibility-m=11265
        --prop:/environment/config/boundary/entry[0]/temperature-degc=13
        --prop:/environment/config/boundary/entry[0]/dewpoint-degc=9
        --prop:/environment/config/boundary/entry[0]/pressure-sea-level-inhg=30
        --prop:/environment/config/boundary/entry[0]/wind-from-heading-deg=210
        --prop:/environment/config/boundary/entry[0]/wind-speed-kt=27
        --prop:/environment/config/boundary/entry[1]/elevation-ft=1900
        --prop:/environment/config/boundary/entry[1]/turbulence-norm=0
        --prop:/environment/config/boundary/entry[1]/visibility-m=11265
        --prop:/environment/config/boundary/entry[1]/temperature-degc=13
        --prop:/environment/config/boundary/entry[1]/dewpoint-degc=9
        --prop:/environment/config/boundary/entry[1]/pressure-sea-level-inhg=30
        --prop:/environment/config/boundary/entry[1]/wind-from-heading-deg=210
        --prop:/environment/config/boundary/entry[1]/wind-speed-kt=27
        --prop:/environment/config/boundary/entry[2]/elevation-ft=3900
        --prop:/environment/config/boundary/entry[2]/turbulence-norm=0
        --prop:/environment/config/boundary/entry[2]/visibility-m=11265
        --prop:/environment/config/boundary/entry[2]/temperature-degc=13
        --prop:/environment/config/boundary/entry[2]/dewpoint-degc=9
        --prop:/environment/config/boundary/entry[2]/pressure-sea-level-inhg=30
        --prop:/environment/config/boundary/entry[2]/wind-from-heading-deg=210
        --prop:/environment/config/boundary/entry[2]/wind-speed-kt=27
        --wind=210@27:37

"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: 4878
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5

Re: No metar available

Postby sanni » Sun Jan 06, 2019 11:12 pm

Sry, a friend of mine recofigured the router -- now it works...
I failed the Turing test
User avatar
sanni
 
Posts: 170
Joined: Tue Oct 11, 2011 8:35 pm
Location: Germany
Callsign: D-Sanni
Version: 3.4
OS: ArchLinux

Re: No metar available [solved]

Postby wkitty42 » Mon Jan 07, 2019 6:19 pm

FWIW: when i was testing the other day, i found that metar's ability to read and process a metar line on the command line is broken, too... it still tries to download when it should not...

@sanni: glad you found the problem and got it fixed :)
"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: 4878
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 14.04.5


Return to Linux

Who is online

Users browsing this forum: No registered users and 2 guests