General Weather/Earth Sciences Topics > Aviation Weather

Metar server down ?

<< < (3/7) > >>

wvdkuil:

--- Quote from: 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.

--- End quote ---
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 downWim

wvdkuil:
https://tgftp.nws.noaa.gov/ is down on Feb, 4  since 16:00 UTC

The alternative is up: https://aviationweather.gov/  but it will take some time to check if they have recent data, the ones I checked were all from before 16:00 UTC.

Another alternative, which needs a free API-key,  is still up: https://api.checkwx.com/
Again, I have to check if they have METAR's with a timestamp after 16:00 UTC
Wim


miraculon:

--- Quote from: wvdkuil on February 04, 2019, 11:15:42 AM ---https://tgftp.nws.noaa.gov/ is down on Feb, 4  since 16:00 UTC

The alternative is up: https://aviationweather.gov/  but it will take some time to check if they have recent data, the ones i checked were all from before 16:00 UTC.

Wim

--- End quote ---

I am getting "unable to load KPZQ data RC=302 Object Moved" where the icon normally is on my page. The METAR reports are all showing "Not Current" and the same error message as the icon.

Greg H.

wvdkuil:
The connection error reported is  SSL_ERROR_UNRECOGNIZED_NAME_ALERT

At 16:35 the site was up again.

I could verify that https://aviationweather.gov/  returned data with a timestamp after 16:00 UTC .
They are not getting their data from  https://tgftp.nws.noaa.gov/

Wim

miraculon:
This text page just came back:

http://tgftp.nws.noaa.gov/data/observations/metar/decoded/KPZQ.TXT

It was missing earlier.

Greg H.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version