Author Topic: Local METAR reports Not loading  (Read 11572 times)

0 Members and 1 Guest are viewing this topic.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Local METAR reports Not loading
« Reply #200 on: November 07, 2019, 04:47:32 PM »
I've sent a message to the problem reporting address regarding the timeliness and rawMessage content missing issues.

The timeliness issue seems to be long running.  On the FAQ part of the API Docs it says
Quote

    Delayed observations

    An infrastructure issue is causing delayed processing of observation station data. Observations may be intermittently delayed or not available. This is being worked, and will likely take several weeks to resolve.

    Updated 09/05/2018
  Maybe 'several weeks' in NWS-time is >52 weeks to resolve.  :???:  #-o
« Last Edit: November 07, 2019, 04:53:02 PM by saratogaWX »
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline CW2274

  • Forecaster
  • *****
  • Posts: 6731
    • Conditions @ CW2274 West Tucson-Painted Hills Ranch
Re: Local METAR reports Not loading
« Reply #201 on: November 07, 2019, 05:11:39 PM »
As I stated a few weeks back, the Western Region of the NWS has been having problems with wx data obs being updated "on time" and have been conversing with NWS regional headquarters in SLC. I specifically sent this thread to them today to see if the problems are somehow interrelated. Whether he/she takes the time to research it, no idea, but he/she has been over-the-top helpful so far. I'll post the response if I get one.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Local METAR reports Not loading
« Reply #202 on: November 07, 2019, 05:41:11 PM »
Thanks CW2274!

It looks like Ed has data displaying again.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline ed_heaton

  • Contributor
  • ***
  • Posts: 147
    • Atglen Borough Weather Observatory
Re: Local METAR reports Not loading
« Reply #203 on: November 07, 2019, 08:21:58 PM »
I do have data flowing again Ken and I'm not sure what happened. It started working before we made the switch to the new get-metar program but I needed an alternative. Because we both know this is probably a temporary feel good thing from the NWS and I'll need to switch over to the new program sooner than later!
As always I truly appreciate your help... Thank you!

Offline CW2274

  • Forecaster
  • *****
  • Posts: 6731
    • Conditions @ CW2274 West Tucson-Painted Hills Ranch
Re: Local METAR reports Not loading
« Reply #204 on: November 08, 2019, 03:10:10 PM »
I'll post the response if I get one.
Guess this is better than a sharp stick in the eye, but here's the response from SLC...


Thanks for the link.  This issue is not related to us.  It looks like this thread is more geared toward a hosting issue, but it seems that the users are on the right track.  The http://weather.gov/ API is a good place to get weather data for privately owned websites.  Another good source is synoptic.  The users will need to register to get a "key".

Cheers,

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: Local METAR reports Not loading
« Reply #205 on: December 08, 2019, 06:54:11 AM »
Seems if the issue is popping up again www.gosportwx.com 403 forbidden .. just started happening 2 days ago.. it was working fine until then
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline ed_heaton

  • Contributor
  • ***
  • Posts: 147
    • Atglen Borough Weather Observatory
Re: Local METAR reports Not loading
« Reply #206 on: December 08, 2019, 07:30:22 AM »
Yep, I got it too :-(  I switched over to Ken's updated get_metar_conditions and things seem to be back on track.

Offline ed_heaton

  • Contributor
  • ***
  • Posts: 147
    • Atglen Borough Weather Observatory
Re: Local METAR reports Not loading
« Reply #207 on: December 10, 2019, 06:23:10 AM »
Anyone have any ideas why I don't get a METAR report from KMQS?  I get data from these two areas using Jasiu's code...
https://api.weather.gov/stations/KMQS/observations/latest

and

https://aviationweather.gov/metar/data?ids=KMQS&format=raw&hours=0&taf=off&layout=off




Offline Jasiu

  • Forecaster
  • *****
  • Posts: 947
    • LexMAWeather
Re: Local METAR reports Not loading
« Reply #208 on: December 10, 2019, 07:53:40 AM »
Anyone have any ideas why I don't get a METAR report from KMQS?  I get data from these two areas using Jasiu's code...
https://api.weather.gov/stations/KMQS/observations/latest

If you look at the JSON returned:

Code: [Select]
"rawMessage": null,
This is where Ken's new code pulls the data (rather than extracting from the individual fields, which would require a rewrite).

Here's what it looks like when the field is filled in properly:

Code: [Select]
"rawMessage": "KBED 101151Z 22008KT 10SM OVC020 13/10 A2971 RMK AO2 SLP074 60000 70056 T01280100 10133 20122 53014",
https://lexmaweather.info
On Mastodon: @LexMAWeather@toot.community

Offline ed_heaton

  • Contributor
  • ***
  • Posts: 147
    • Atglen Borough Weather Observatory
Re: Local METAR reports Not loading
« Reply #209 on: December 10, 2019, 10:01:26 AM »
Ahhhh  gotcha thanks!

Offline ed_heaton

  • Contributor
  • ***
  • Posts: 147
    • Atglen Borough Weather Observatory
Re: Local METAR reports STOPPED working
« Reply #210 on: February 09, 2020, 11:51:05 AM »
Anyone else having Metar issues?  Mine hasn't updated since Feb 7th...   https://www.atglenweather.com/wxmetar.php

Offline MackerelSky

  • Contributor
  • ***
  • Posts: 113
    • McKean County Weather, Smethport Pa.
Re: Local METAR reports STOPPED working
« Reply #211 on: February 09, 2020, 04:32:47 PM »
Anyone else having Metar issues?  Mine hasn't updated since Feb 7th...   https://www.atglenweather.com/wxmetar.php
Looks more like individual airports not reporting than the script not working. When I just visited, it was Smoketown and Reading not current, but the other 5 were within the last hour.

Brad
Mckean County Weather
Located on upper Marvin Creek
https://mckeanweather.com/
Davis VP2 + fars
Cumulus 1.9.4-b1092

 

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Local METAR reports Not loading
« Reply #212 on: February 09, 2020, 04:50:05 PM »
Anyone else having Metar issues?  Mine hasn't updated since Feb 7th...   https://www.atglenweather.com/wxmetar.php
You're using api.weather.gov for the metar source
Quote
<!-- get-metar-conditions-inc.php - Version 1.18 - 07-Nov-2019 -->
<!-- mtr_conditions using METAR ICAO='KLNS' -->
<!-- curl fetching 'https://api.weather.gov/stations/KLNS/observations/latest' -->
<!-- HTTP stats:  RC=200 dest=23.73.146.250
      Times: dns=0.000 conn=0.028 pxfer=0.092 get=0.040 total=0.133 secs -->
<!-- loaded from URL https://api.weather.gov/stations/KLNS/observations/latest -->
<!-- KLNS='2020/02/07 16:11 KLNS 071611Z 28023G37KT 10SM -RA SCT018 OVC035 06/02 A2906 RMK AO2 PK WND 29039/1600 P0001 T00560022' -->
<!-- age=192881 sec '2020-02-07 16:11:00 GMT' -->
and it looks like a NWS issue of not updating the observations data there.

You can switch back to using tgftp.nws.noaa.gov instead of api.weather.gov by changing
Code: [Select]
$SITE['useMetarAPI'] = true; to
Code: [Select]
$SITE['useMetarAPI'] = false; in Settings.php.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline ed_heaton

  • Contributor
  • ***
  • Posts: 147
    • Atglen Borough Weather Observatory
Re: Local METAR reports Not loading
« Reply #213 on: February 09, 2020, 04:56:17 PM »
Thank you Ken!!!