Author Topic: Metar server down ?  (Read 2128 times)

0 Members and 1 Guest are viewing this topic.

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1287
    • My PWS at Leuven Belgium Europe
Metar server down ?
« 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.
Development and maintenance of Leuven-Template&Scripts  at: https://support.leuven-template.eu/
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline ValentineWeather

  • Forecaster
  • *****
  • Posts: 5472
Re: Metar server down ?
« Reply #1 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 ]
Randy

Offline ValentineWeather

  • Forecaster
  • *****
  • Posts: 5472
Re: Metar server down ?
« Reply #2 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.
« Last Edit: May 07, 2018, 03:47:17 PM by ValentineWeather »
Randy

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 6876
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Metar server down ?
« Reply #3 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.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline ValentineWeather

  • Forecaster
  • *****
  • Posts: 5472
Re: Metar server down ?
« Reply #4 on: June 28, 2018, 01:21:37 PM »
Looks like metar server is down again.
Randy

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1287
    • My PWS at Leuven Belgium Europe
Re: Metar server down ?
« Reply #5 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
Development and maintenance of Leuven-Template&Scripts  at: https://support.leuven-template.eu/
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1287
    • My PWS at Leuven Belgium Europe
Re: Metar server down ?
« Reply #6 on: June 28, 2018, 01:45:49 PM »
And up again,

Wim
Development and maintenance of Leuven-Template&Scripts  at: https://support.leuven-template.eu/
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline ValentineWeather

  • Forecaster
  • *****
  • Posts: 5472
Re: Metar server down ?
« Reply #7 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. 
Randy

Offline ValentineWeather

  • Forecaster
  • *****
  • Posts: 5472
Re: Metar server down ?
« Reply #8 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.
Randy

Offline so_whats_happening

  • Member
  • *
  • Posts: 2
Re: Metar server down ?
« Reply #9 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.

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1287
    • My PWS at Leuven Belgium Europe
Re: Metar server down ?
« Reply #10 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:
  • Check the consistency of the response times.
  • Check if they are down when tgftp.nws.noaa.gov is down
Wim
Development and maintenance of Leuven-Template&Scripts  at: https://support.leuven-template.eu/
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/