WXforum.net

General Weather/Earth Sciences Topics => Aviation Weather => Topic started by: wvdkuil on May 07, 2018, 02:15:15 PM

Title: Metar server down ?
Post by: wvdkuil on May 07, 2018, 02:15:15 PM
More then half the requests for a METAR from http://tgftp.nws.noaa.gov result in errors since yesterday.

Example:
USA:   http://tgftp.nws.noaa.gov/data/observations/metar/stations/KMMU.TXT
Europe: http://tgftp.nws.noaa.gov/data/observations/metar/stations/EBBR.TXT

Errors such as Connection reset by peer or a timeout, even after 10 seconds.

Any ideas?
Is there another source for raw METAR data?

The METAR is used to get current-weather-conditions (CCN) for weather-sites using a weather-program which does not supply CCN

Wim

P.S. Leuven-Template users can switch to Yahoo to get CCN by changing the appropriate setting.
Title: Re: Metar server down ?
Post by: ValentineWeather on May 07, 2018, 02:58:03 PM
Same here, I've been seeing it often hangs site for about 10 seconds when it occurs.
 [ You are not allowed to view attachments ]
Title: Re: Metar server down ?
Post by: ValentineWeather on May 07, 2018, 03:43:37 PM
Went ahead and comment out // conditions metar for now.  It's been bad all day. Really last month or more. :sad:

I'm surprised others haven't noticed , if they have not much is being mentioned or maybe it's just my region again.  I went as far as ordering a solar sensor trying to get away from METAR altogether.
Title: Re: Metar server down ?
Post by: saratogaWX on May 07, 2018, 07:55:01 PM
Looks like the tgftp.nws.noaa.gov server is back running.. maybe they are moving stuff around to new servers ?!?.. didn't see any pre-outage notices on the NWS mailing list.
Title: Re: Metar server down ?
Post by: ValentineWeather on June 28, 2018, 01:21:37 PM
Looks like metar server is down again.
Title: Re: Metar server down ?
Post by: wvdkuil on June 28, 2018, 01:22:48 PM
Looks like metar server is down again.
Yes, it is down.
No response from the server at all.

Wim
Title: Re: Metar server down ?
Post by: wvdkuil on June 28, 2018, 01:45:49 PM
And up again,

Wim
Title: Re: Metar server down ?
Post by: ValentineWeather on June 28, 2018, 01:46:24 PM
Thanks I just hashed out conditions icon to prevent site hang.

Wish there was a work around for rain override to work with metar hashed out also. I have cameras and only have enabled so  local station rain conditions will show on dashboard.
I tried it with metar hashed out but didn't work. If this would work I wouldn't use airport metar at all. 
Title: Re: Metar server down ?
Post by: ValentineWeather on June 28, 2018, 01:47:46 PM
Its in a up and down phase again, I noticed it down early this morning and came back up.
Title: Re: Metar server down ?
Post by: so_whats_happening on July 24, 2018, 09:33:47 PM
Not sure if you guys use this or not aviationweather.gov is pretty decent it crashes a few times here and there but overall pretty decent can get most metar stations auto or manned stations. I think you can also get most countries.
Title: Re: Metar server down ?
Post by: wvdkuil on July 25, 2018, 03:32:46 AM
Not sure if you guys use this or not aviationweather.gov is pretty decent it crashes a few times here and there but overall pretty decent can get most metar stations auto or manned stations. I think you can also get most countries.
Thanks  :grin: for your post, I totally forgot this aviationweather.gov site, I used it in the past.

Disadvanteges?:
I wonder if aviationweather gets its data from another source, if they load their data also from   tgftp.nws.noaa.gov  they are down at the same time .

To construct the "Current Conditions" for a weather-station, the scripts use a CURL or a  filegetcontents to load the METAR .  Although good scripts cache the result and reuse it for at least 15 minutes, the METAR is relatively frequently loaded.
Using aviationweather.gov adds considerable server bandwidth  as for more data is received then the METAR-data itself.
This link: https://aviationweather.gov/metar/data?ids=EBBR&format=raw&date=0&hours=0
HTML size = 19kB for  this data set "EBBR 250650Z 03005KT 360V060 CAVOK 23/16 Q1016 NOSIG" .
Also we should "scrape" the html to get at the METAR  => extra server time + changes in the scripts when the aviationweather site changes.

Advantages:
This aviationweather site also supplies the data in xml. In a previous release I used their DATA in my scripts that way as I do not like scraping  HTML. Probably it is allowed to load the data as it is a USA .gov website. This is the xml one should use
https://aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=3&mostRecent=true&stationString=EBBR

To do:Wim