NWS forecast issues

Im having a problem with my parents site with their forecast. It hasn’t loaded for a few days now and everything looks good to me. The script on their site is the same as mine and is up to date. One error has me confused…

NWS server https://api.weather.gov/zones/JSON-LD/IDC009/forecast has an error.

I have no idea where IDC009 is coming from. There zone is IDZ004 and is set in the script correctly.

In the advforecast script Im using this…

$fileName = "https://forecast.weather.gov/MapClick.php?lat=47.0798&lon=-116.4201&unit=0&lg=english&FcstType=text&TextType=2";

http://www.fernwoodweather.com/wxforecast.php?force=1

In Settings.php, there is

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

that should likely be

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

to have the fallback zone forecast available. The County Zones do not contain forecast info (only warning stuff).

The point forecast is not displaying due to

and since the Zone is misspecified, it fails too. Correct the $SITE[‘noaazone’] and it should failover to the Zone forecast.

Thanks ken, got the forecast working.

Its strange though, they have a air stagnation advisory for there area under IDC009, but when i use that in the settings script it causes the forecast error. Using IDZ004 doesn’t show the advisory, but the forecast works using the IDZ004.

Sometimes, the warnings are County only and not propagated to the Zone forecast. It’s an NWS thing.