Author Topic: Advforecast2 Error  (Read 681 times)

0 Members and 1 Guest are viewing this topic.

Offline n7xrd

  • Forecaster
  • *****
  • Posts: 366
    • Kamiah Weather
Advforecast2 Error
« on: November 22, 2022, 09:49:11 AM »
I just updated to version 5.18 and I get this error.  I have tried the updated  version before and had the same issue. I was using version 4.05 which works as it should other than being old.  Trying to clean up my templates.
The detailed point forecast weather data is not currently available.
The zone forecast data for IDZ007 () will be displayed
until the point forecast data is again available.
If this persists, contact the NWS Missoula, MT WFO
at (406) 329-4840 or email at w-mso.webmaster@noaa.gov
to have them update the point forecast for /gridpoints/MSO/35,109 on api.weather.gov

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Advforecast2 Error
« Reply #1 on: November 22, 2022, 10:41:31 AM »
Running a view-source on your wxforecast.php?force=1 shows
Code: [Select]
<!-- WARNING: NOAAZone='IDC049' is not correct.  Will use 'IDZ007' for this point location per NWS. -->
so there's a slight misconfiguration in your Settings.php
Code: [Select]
$SITE['NWSforecasts']   = array( // for the advforecast2.php V3.xx version script
// use "Zone|Location|Point-printableURL",  as entries .. first one will be the default forecast.
 "IDC049|Kamiah|https://forecast.weather.gov/MapClick.php?lat=46.2106&lon=-116.0012&unit=0&lg=english&FcstType=text&TextType=2",
);

// Uncomment the two lines below to use WXSIM as the ONLY forecast script to use
// $SITE['fcstscript']    = 'plaintext-parser.php';    // WXSIM forecast (if only forecast script)
// $SITE['fcstorg']        = 'WXSIM';    // set to 'WXSIM' for WXSIM forecast

// NOAA warning zone
$SITE['noaazone']         = 'IDC049'; // used for NOAA advisories and advforecast2.php zone forecasts

The IDC049 is a County zone, and you need to use IDZ007 (Forecast Zone) instead in those two instances shown above.
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 n7xrd

  • Forecaster
  • *****
  • Posts: 366
    • Kamiah Weather
Re: Advforecast2 Error
« Reply #2 on: November 22, 2022, 12:31:29 PM »
Thanks Ken that seems to have fixed the problem!!   Happy Holidays to You.

Offline n7xrd

  • Forecaster
  • *****
  • Posts: 366
    • Kamiah Weather
Re: Advforecast2 Error
« Reply #3 on: November 22, 2022, 03:31:21 PM »
Spoke to soon I guess now it's back to the same error even after making this change.   ](*,)

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Advforecast2 Error
« Reply #4 on: November 22, 2022, 04:13:03 PM »
It may happen from time to time, but it is less frequent than prior months.  The issue is with a 404 or a 500 return from the Akamai cache serving the gridpoint forecast.  You can call the WFO and alert them to the issue.
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 n7xrd

  • Forecaster
  • *****
  • Posts: 366
    • Kamiah Weather
Re: Advforecast2 Error
« Reply #5 on: November 22, 2022, 04:15:59 PM »
Ahh OK will try that Thanks Again.

Offline ed_heaton

  • Contributor
  • ***
  • Posts: 147
    • Atglen Borough Weather Observatory
Re: Advforecast2 Error
« Reply #6 on: December 29, 2022, 06:02:06 AM »
Good morning all,
I get this error (which seems like) about 40% of the day...  I've emailed them and never get a fix or reply...  I switched back to the old advforecast2.php which seems to be working flawlessly but it just has the old format. Curious why the old one works but not the new.

Thoughts?

The detailed point forecast weather data is not currently available.
"The zone forecast data for PAZ101 (Western Chester) will be displayed
until the point forecast data is again available.
If this persists, contact the NWS Philadelphia/Mt Holly WFO
at 609-261-6600 or email at wfophi.webmaster@noaa.gov
to have them update the point forecast for /gridpoints/PHI/21,70 on api.weather.gov"

Offline n7xrd

  • Forecaster
  • *****
  • Posts: 366
    • Kamiah Weather
Re: Advforecast2 Error
« Reply #7 on: December 29, 2022, 07:26:16 AM »
I too am still having this problem but more like 60% of the time. And again I have emailed many times and have even called the number and get no reply back from them! Not sure what to do. When I run the old format it works about 80% of the time but when it has a glitch my page does not fully load I only get the header.   ](*,)

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 947
    • LexMAWeather
Re: Advforecast2 Error
« Reply #8 on: December 29, 2022, 08:33:45 AM »
See this thread (currently the next one in the list in this section).

https://www.wxforum.net/index.php?topic=44819.0

https://lexmaweather.info
On Mastodon: @LexMAWeather@toot.community

Offline ed_heaton

  • Contributor
  • ***
  • Posts: 147
    • Atglen Borough Weather Observatory
Re: Advforecast2 Error
« Reply #9 on: December 29, 2022, 09:51:34 AM »
Thank You!

 

anything