No luck with that either.
$NOAAZone = 'kyz074'; // change this line to your NOAA warning zone.
// set $fileName to the URL for the point-printable forecast for your area
$fileName = "http://forecast.weather.gov/MapClick.php?CityName=Glasgow&state=KY&site=LMK&textField1=36.9991&textField2=-85.9215&e=0&TextType=2";
To all readers: Sorry, just a humble answer is here in place.
Of course you are absolutely correct and adjusting the latitude and longitude in the settings is the only thing one SHOULD have to do.
But I forgot to remove one test line in the script. The script therefore always reads the information of Brandford.
Script
weather2/noaa/noaaPlainGenerateHtml.php Line 23 remove comment mark line 24 replace with a comment mark. Now it is:
#$returnArray = $weather->getWeatherData($SITE['latitude'],$SITE['longitude']);
$returnArray = $weather->getWeatherData('41.30068','-72.793671'); // demonstration no info for europe
Change to:
$returnArray = $weather->getWeatherData($SITE['latitude'],$SITE['longitude']);
#
Some more information: The forecast information is gathered using latitude and longitude only using the xml feeds. Maybe NOAA/NWS changes the layout someday so, just to have another way of getting the data, I included the proven Saratoga scripts also in the download. If you change any setting in the advforecast2.php it has no effect until you include this in your menu file:
<item nr="401-1" show='yes'
link="noaa/incadvforecast2.php"
caption="oud noaa NWS"
/>
The setting of the forecast area is in the
noaa/incadvforecast2.php script.
To Dr Obbins: In your post I read that you coded
$NOAAZone = 'kyz074'; // change this line to your NOAA warning zone.
But the script returns an error
<!-- ERROR Severe weatherdata (http://alerts.weather.gov/cap/wwaatmget.php?x=kyz074&y=0) Service returns no good data -->
It seems that only capital letters are allowed. So I will add an "upshift" in the code, but for now change that line to
$NOAAZone = 'KYZ074'; // change this line to your NOAA warning zone.
You will than get your warnings also.
Have a nice day, sorry again for the extra tracing and changing in the scripts,
Wim
Edit typo wrong script