Looks like www.ndbc.noaa.gov switched to mandatory https access, and the V1.18 script was http-only.
The V1.19 script now uses curl for the access via https and has a couple of minor fixes for PHP7+
Download from the script page
Thanks to Bob from http://www.ka5zci.com/ for the heads-up!
Best regards,
Ken
Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
buoy-data.php V1.19 released .. use curl/https for www.ndbc.noaa.gov data
Moderator: saratogaWX
- saratogaWX
- Posts: 1196
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
- ConligWX
- Posts: 1630
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 22.04 LTS
- Location: Bangor, NI
- Contact:
Re: buoy-data.php V1.19 released .. use curl/https for www.ndbc.noaa.gov data
Thanks Ken for the Update. I must get round to renewing the UK map with a new one as many of the bouys and oil/gas platforms in the North Sea are now shut down. I had started it about a year ago, but the project was low priority.
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- ConligWX
- Posts: 1630
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 22.04 LTS
- Location: Bangor, NI
- Contact:
Re: buoy-data.php V1.19 released .. use curl/https for www.ndbc.noaa.gov data
Ken
I have just checked my Apache Error logs and it is full (100's) of these type of entries:
is this an error or just a warning that can be ignored?
also line 861
2 semi-colons one after another, is that correct?
I have just checked my Apache Error logs and it is full (100's) of these type of entries:
Code: Select all
[Wed Jun 27 21:51:41.568967 2018] [php7:notice] [pid 30454:tid 140246979712768] [client x.x.x.x:50472] PHP Notice: Undefined offset: 0 in /share/htdocs/weather/buoy-data.php on line 355
[Wed Jun 27 21:52:42.635538 2018] [php7:notice] [pid 28803:tid 140670040332032] [client x.x.x.x:50542] PHP Notice: Undefined offset: 1 in /share/htdocs/weather/buoy-data.php on line 1119
[Wed Jun 27 21:52:42.635599 2018] [php7:notice] [pid 28803:tid 140670040332032] [client x.x.x.x:50542] PHP Notice: Undefined offset: 2 in /share/htdocs/weather/buoy-data.php on line 1119
[Wed Jun 27 21:52:42.635623 2018] [php7:notice] [pid 28803:tid 140670040332032] [client x.x.x.x:50542] PHP Notice: Undefined offset: 3 in /share/htdocs/weather/buoy-data.php on line 1119
also line 861
Code: Select all
global $seenBuoy,$Buoys,$Units,$NDBCURL,$myUOM,$table,$scroller,$CSS,$skipNoData,$windArrowDir,$showNoData,$windArrowSize;
;
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- saratogaWX
- Posts: 1196
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: buoy-data.php V1.19 released .. use curl/https for www.ndbc.noaa.gov data
Answered in the thread https://www.wxforum.net/index.php?topic ... icseen#new
The double semi-colon is a non-harmful typo -- null PHP statements are ignored, but you're right, it looks funny and can be safely changed to a single semi-colon;
You sent me copies of your config and the cache file. Here's what I found:
I replicated the issue with the Notice errata for line 1119 .. it's caused by an entry in mybuoy-United_Kingdom.txt which has no coordinates listed .. either add coordinates to that line, or comment it out like and that will suppress the Notice errata.
I was unable to replicate the line 355 Notice errata using your NDBC-buoydataM.txt file
The file did have the string looked for by the preg_match, and so it should have found the data accordingly.
Is this error persistent?
Best regards,
Ken
The double semi-colon is a non-harmful typo -- null PHP statements are ignored, but you're right, it looks funny and can be safely changed to a single semi-colon;
You sent me copies of your config and the cache file. Here's what I found:
I replicated the issue with the Notice errata for line 1119 .. it's caused by an entry in mybuoy-United_Kingdom.txt
Code: Select all
62001|Gascogne Buoy||
Code: Select all
#62001|Gascogne Buoy||
I was unable to replicate the line 355 Notice errata using your NDBC-buoydataM.txt file
The file did have the string looked for by the preg_match, and so it should have found the data accordingly.
Is this error persistent?
Best regards,
Ken
- ConligWX
- Posts: 1630
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 22.04 LTS
- Location: Bangor, NI
- Contact:
Re: buoy-data.php V1.19 released .. use curl/https for www.ndbc.noaa.gov data
Thanks Ken. All looks good now and not errors found since the change.
if anyone needs an upto date list of buoys that ndbc has it is here: https://www.ndbc.noaa.gov/mobile/region ... ed_kingdom
if anyone needs an upto date list of buoys that ndbc has it is here: https://www.ndbc.noaa.gov/mobile/region ... ed_kingdom
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
- ConligWX
- Posts: 1630
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 22.04 LTS
- Location: Bangor, NI
- Contact:
Re: buoy-data.php V1.19 released .. use curl/https for www.ndbc.noaa.gov data
just about finished my UK map, different buoys and removed the oil platforms that were closed down.
https://www.conligwx.org/wxbuoy.php
just need to add a Station Legend.
https://www.conligwx.org/wxbuoy.php
just need to add a Station Legend.
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0