1
Weather Web Site Help / Re: Warning: Undefined variable $curlStatus
« Last post by saratogaWX on Today at 04:30:34 PM »api.weather.gov is down. The message is a result of that problem.
Like to help out with hosting costs for WXForum.net?
Use the donate page. Thanks!
SENIOR DUTY METEOROLOGIST NWS ALERT ADMINISTRATIVE MESSAGE
NWS NCEP CENTRAL OPERATIONS COLLEGE PARK MD
1732Z WED APR 24 2024
...API.WEATHER.GOV DOWN...
Api.weather.gov is currently down. NCO is investigating.
Gerhardt/SDM/NCO/NCEP
<!-- WARNING: NOAAZone='MNZ049' is not correct. Will use 'MNZ050' for this point location per NWS. -->so change all occurrences of "MNZ049" to "MNZ050" in Settings.php and upload it.
<!-- point forecastURL = 'https://api.weather.gov/gridpoints/MPX/78,102/forecast' -->
<!-- zone forecastURL = 'https://api.weather.gov/zones/forecast/MNZ050/forecast' -->
<!-- logged 'Fetch fail' to './cache/advforecast2-log-2024-04-24.txt' -->
<!-- curl fetching 'https://api.weather.gov/gridpoints/MPX/78,102/forecast' -->
<!-- HTTP stats: RC=502 dest=23.220.140.14 port=443 (from sce=192.252.154.18)
Times: dns=0.001 conn=0.020 pxfer=0.045 get=0.091 total=0.136 secs -->
SENIOR DUTY METEOROLOGIST NWS ALERT ADMINISTRATIVE MESSAGEso your fix (still needed) may not be available if api.weather.gov is still having issues.
NWS NCEP CENTRAL OPERATIONS COLLEGE PARK MD
1732Z WED APR 24 2024
...API.WEATHER.GOV DOWN...
Api.weather.gov is currently down. NCO is investigating.
Gerhardt/SDM/NCO/NCEP
<?phpat the top of of the page (replacing the opening <?php
error_reporting(E_ALL & ~E_NOTICE);
The issue where you see "°F" in the result is due to the degree sign being in UTF-8 while the browser is defaulting to ISO-8859-1.
In your meteobridge template, use ° instead of a literal degree sign, then it should appear correctly irrespective of what the browser's default character set is.
Also, you might try additionally in using dashboard.txt as the result name since it is really just text w/o any HTML markup.