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 4017) - 17 March 2024

Legacy Cumulus 1 release v1.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

Regional network mesonet-map updated V3.08

Discussion of Ken True's web site templates

Moderator: saratogaWX

User avatar
saratogaWX
Posts: 1170
Joined: Wed 06 May 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows 10 Professional
Location: Saratoga, CA, USA
Contact:

Regional network mesonet-map updated V3.08

Post by saratogaWX »

One of our networks (CZWN) went HTTPS-only.

mesonet-map-common.php V3.08 was released to use curl for the access to the regional network's config/data files to produce the mesonet-map.

You can use mesonet-map-check-versions.php on your installation to see what file(s) may need update.

Download the full zip and instructions here or just the mesonet-map-common.php V3.08 - 12-Aug-2017 from here

Best regards,
Ken
User avatar
ConligWX
Posts: 1570
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: Regional network mesonet-map updated V3.08

Post by ConligWX »

Ken I seem to have lost the weather sites on the map. my mesonet now just shows maps only with not actual stations or data - though are listed in the TABs. (current Conditions, Station features seem ok.

https://www.conligwx.org/wxmesonetmap.php?net=UKWN

I have tried different browsers but all appear to show the same (just a map)

apache errorlog:

Code: Select all

[Sun Aug 13 20:52:08.865226 2017] [php7:warn] [pid 18204:tid 140308872333056] [client x.x.x.x:1048] PHP Warning:  A non-numeric value encountered in /share/CACHEDEV1_DATA/htdocs/weather/mesonet-map-common.php on line 493, referer: https://www.conligwx.org/wxmesonetmap.php
[Sun Aug 13 20:52:08.866028 2017] [php7:warn] [pid 18204:tid 140308872333056] [client x.x.x.x:1048] PHP Warning:  A non-numeric value encountered in /share/CACHEDEV1_DATA/htdocs/weather/mesonet-map-common.php on line 493, referer: https://www.conligwx.org/wxmesonetmap.php
[Sun Aug 13 20:52:08.872728 2017] [php7:warn] [pid 18204:tid 140308872333056] [client x.x.x.x:1048] PHP Warning:  A non-numeric value encountered in /share/CACHEDEV1_DATA/htdocs/weather/mesonet-map-common.php on line 493, referer: https://www.conligwx.org/wxmesonetmap.php
[Sun Aug 13 20:52:17.478676 2017] [php7:warn] [pid 18204:tid 140308973045504] [client x.x.x.x:1048] PHP Warning:  A non-numeric value encountered in /share/CACHEDEV1_DATA/htdocs/weather/mesonet-map-common.php on line 497, referer: https://www.conligwx.org/wxmesonetmap.php?net=NAMWN
[Sun Aug 13 20:52:17.478896 2017] [php7:warn] [pid 18204:tid 140308973045504] [client x.x.x.x:1048] PHP Warning:  A non-numeric value encountered in /share/CACHEDEV1_DATA/htdocs/weather/mesonet-map-common.php on line 497, referer: https://www.conligwx.org/wxmesonetmap.php?net=NAMWN
[Sun Aug 13 20:52:17.479358 2017] [php7:warn] [pid 18204:tid 140308973045504] [client x.x.x.x:1048] PHP Warning:  A non-numeric value encountered in /share/CACHEDEV1_DATA/htdocs/weather/mesonet-map-common.php on line 497, referer: https://www.conligwx.org/wxmesonetmap.php?net=NAMWN
[Sun Aug 13 20:52:17.479654 2017] [php7:warn] [pid 18204:tid 140308973045504] [client x.x.x.x:1048] PHP Warning:  A non-numeric value encountered in /share/CACHEDEV1_DATA/htdocs/weather/mesonet-map-common.php on line 497, referer: https://www.conligwx.org/wxmesonetmap.php?net=NAMWN
[Sun Aug 13 20:52:59.911403 2017] [php7:warn] [pid 18118:tid 140308922689280] [client x.x.x.x:1485] PHP Warning:  A non-numeric value encountered in /share/CACHEDEV1_DATA/htdocs/weather/mesonet-map-common.php on line 497, referer: https://www.conligwx.org/wxmesonetmap.php?net=NAMWN
[Sun Aug 13 20:52:59.911650 2017] [php7:warn] [pid 18118:tid 140308922689280] [client x.x.x.x:1485] PHP Warning:  A non-numeric value encountered in /share/CACHEDEV1_DATA/htdocs/weather/mesonet-map-common.php on line 497, referer: https://www.conligwx.org/wxmesonetmap.php?net=NAMWN
[Sun Aug 13 20:52:59.912050 2017] [php7:warn] [pid 18118:tid 140308922689280] [client x.x.x.x:1485] PHP Warning:  A non-numeric value encountered in /share/CACHEDEV1_DATA/htdocs/weather/mesonet-map-common.php on line 497, referer: https://www.conligwx.org/wxmesonetmap.php?net=NAMWN
[Sun Aug 13 20:52:59.912221 2017] [php7:warn] [pid 18118:tid 140308922689280] [client x.x.x.x:1485] PHP Warning:  A non-numeric value encountered in /share/CACHEDEV1_DATA/htdocs/weather/mesonet-map-common.php on line 497, referer: https://www.conligwx.org/wxmesonetmap.php?net=NAMWN
[Sun Aug 13 20:52:59.912555 2017] [php7:warn] [pid 18118:tid 140308922689280] [client x.x.x.x:1485] PHP Warning:  A non-numeric value encountered in /share/CACHEDEV1_DATA/htdocs/weather/mesonet-map-common.php on line 497, referer: https://www.conligwx.org/wxmesonetmap.php?net=NAMWN
[Sun Aug 13 20:53:19.461449 2017] [php7:warn] [pid 18204:tid 140308964652800] [client x.x.x.x:1400] PHP Warning:  A non-numeric value encountered in /share/CACHEDEV1_DATA/htdocs/weather/mesonet-map-common.php on line 493, referer: https://www.conligwx.org/wxmesonetmap.php
[Sun Aug 13 20:53:19.462250 2017] [php7:warn] [pid 18204:tid 140308964652800] [client x.x.x.x:1400] PHP Warning:  A non-numeric value encountered in /share/CACHEDEV1_DATA/htdocs/weather/mesonet-map-common.php on line 493, referer: https://www.conligwx.org/wxmesonetmap.php
[Sun Aug 13 20:53:19.468881 2017] [php7:warn] [pid 18204:tid 140308964652800] [client x.x.x.x:1400] PHP Warning:  A non-numeric value encountered in /share/CACHEDEV1_DATA/htdocs/weather/mesonet-map-common.php on line 493, referer: https://www.conligwx.org/wxmesonetmap.php
I've reverted back to my previous backup and mesonet working ok now.

will try to see whats up tomorrow.
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
User avatar
saratogaWX
Posts: 1170
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: Regional network mesonet-map updated V3.08

Post by saratogaWX »

Busted.. you found parts that I'd NOT updated, and I've not been watching my error_log closely for a while.

The issue was caused by no readings for GUST (mostly) and in some instances by bad reading for TEMP or HUM in the fire-danger script.

I've added some is_numeric() checks before trying to do math on the values.

Try V3.09 of mesonet-map-common.php here and let me know if that cures the error_log entries you've been seeing. Try it on all the nets (please)... I did on my site (7.1.8) and no more errata shown for me :)
User avatar
ConligWX
Posts: 1570
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: Regional network mesonet-map updated V3.08

Post by ConligWX »

Looking good Ken! run through all weather networks, no errors reporting in apache logs. :clap:
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
User avatar
saratogaWX
Posts: 1170
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: Regional network mesonet-map updated V3.08

Post by saratogaWX »

Thanks! I've released 3.09 of mesonet-map-common.php with those fixes.
User avatar
ConligWX
Posts: 1570
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: Regional network mesonet-map updated V3.08

Post by ConligWX »

Your welcome, glad to help
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
Mapantz
Posts: 1774
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Regional network mesonet-map updated V3.08

Post by Mapantz »

My data doesn't seem to be showing on the meso map any more, just N/A
It seems there are quite a few stations showing N/A.

Just wondering if anything has changed, or something I need to update? I'm using 3.09. :)
Image
User avatar
saratogaWX
Posts: 1170
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: Regional network mesonet-map updated V3.08

Post by saratogaWX »

The data collector status for the UKWN at http://www.ukwx.net/UKWN-cache.html shows
Details for Dorset Wareham (UKWN-stations-cc.txt record 136):

<!-- type='STCU' RawDataURL = 'http://www.warehamwx.co.uk/cumulus/realtime.txt' -->
<!-- curl fetching 'http://www.warehamwx.co.uk/cumulus/realtime.txt' -->
<!-- HTTP stats: RC=301 dest=185.145.203.195 port=80 (from sce=10.0.18.197)
Times: dns=0.000 conn=0.006 pxfer=0.006 get=0.006 total=0.012 secs -->
<!-- headers:
HTTP/1.1 301 Moved Permanently
Content-Type: text/html
Content-Length: 1147
Date: Sun, 12 Nov 2017 18:37:07 GMT
Accept-Ranges: bytes
Server: LiteSpeed
Location: https://www.warehamwx.co.uk/cumulus/realtime.txt
Vary: User-Agent
Connection: Keep-Alive
-->
<!-- STCU time to fetch: 0.012 sec (301 Moved Permanently) -->
<!-- webserver timesync=1 sec 'Sun, 12 Nov 2017 18:37:07 GMT' -->
<!-- server missing Last-Modified: header. Using Date: stamp instead -->
<!-- metric='301 Moved Permanently 301Moved Permanently The document has been permanently moved.Proudly powered by LiteSpeed Web ServerPlease be advised that LiteSpeed Technologies Inc. is not a web hosting company and, as such, has no control over content found on this site.' -->
<!-- headers returned follows
HTTP/1.1 301 Moved Permanently
Content-Type: text/html
Content-Length: 1147
Date: Sun, 12 Nov 2017 18:37:07 GMT
Accept-Ranges: bytes
Server: LiteSpeed
Location: https://www.warehamwx.co.uk/cumulus/realtime.txt
Vary: User-Agent
Connection: Keep-Aliv -->
<!-- non-digital data -- html follows
Array
(
[0] =&gr; <!DOCTYPE html&gr;
[1] =&gr; <html style="height:100%"&gr;
[2] =&gr; <head&gr;<title&gr; 301 Moved Permanently
[3] =&gr; </title&gr;</head&gr;
[4] =&gr; <body style="color: #444; margin:0;font: normal 14px/20px Arial, Helvetica, sans-serif; height:100%; background-color: #fff;"&gr;
[5] =&gr; <div style="height:auto; min-height:100%; "&gr; <div style="text-align: center; width:800px; margin-left: -400px; position:absolute; top: 30%; left:50%;"&gr;
[6] =&gr; <h1 style="margin:0; font-size:150px; line-height:150px; font-weight:bold;"&gr;301</h1&gr;
[7] =&gr; <h2 style="margin-top:20px;font-size: 30px;"&gr;Moved Permanently
[8] =&gr; </h2&gr;
[9] =&gr; <p&gr;The document has been permanently moved.</p&gr;
[10] =&gr; </div&gr;</div&gr;<div style="color:#f0f0f0; font-size:12px;margin:auto;padding:0px 30px 0px 30px;position:relative;clear:both;height:100px;margin-top:-101px;background-color:#474747;border-top: 1px solid rgba(0,0,0,0.15);box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset;"&gr;
[11] =&gr; <br&gr;Proudly powered by <a style="color:#fff;" href="http://www.litespeedtech.com/error-page"&gr;LiteSpeed Web Server</a&gr;<p&gr;Please be advised that LiteSpeed Technologies Inc. is not a web hosting company and, as such, has no control over content found on this site.</p&gr;</div&gr;</body&gr;</html&gr;
)
-->
for your station. You need to let Budgie know (via the UKWN contact form) that your site has switched to HTTPS - the collector does not follow 30x redirects (by design).

The other stations showing offline on the UKWN are due to stale conditions uploads (more than 1 hour old).
User avatar
PaulMy
Posts: 3775
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Regional network mesonet-map updated V3.08

Post by PaulMy »

Hi,
Looks like there are several near you and across UK shown as N/A and also the same in our COWN network. Mine is ok and I am using v3.07 so a little out of date. Don't know what version the others that are N/A are using.

Regards,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
Mapantz
Posts: 1774
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Regional network mesonet-map updated V3.08

Post by Mapantz »

That's strange. I've been using https for almost a year, and my data has shown on the meso map ok. Last time I check was last week..

I'll drop him a message. :)
Image
User avatar
saratogaWX
Posts: 1170
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: Regional network mesonet-map updated V3.08

Post by saratogaWX »

It may have stopped collecting when your site instigated a blanket http->https redirect for all pages.
Mapantz
Posts: 1774
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Regional network mesonet-map updated V3.08

Post by Mapantz »

saratogaWX wrote:It may have stopped collecting when your site instigated a blanket http->https redirect for all pages.
Ah bingo! I forgot I added that to my .htaccess

Thanks Ken. I'm glad someone is on the ball! :lol: I've sent a message Budgie a message. Thanks again.
Image
Mapantz
Posts: 1774
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Regional network mesonet-map updated V3.08

Post by Mapantz »

Martin got back to me, and updated the link accordingly. Thanks again, Ken, for pointing that out to me. :)
Image
User avatar
saratogaWX
Posts: 1170
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: Regional network mesonet-map updated V3.08

Post by saratogaWX »

You're very welcome -- you can always check the page I'd cited above for the latest collection status. All the nets have similar pages so questions like yours can be answered expeditiously.
User avatar
BeaumarisWX
Posts: 357
Joined: Mon 09 Apr 2012 2:38 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 Pro Hades Canyon
Location: Beaumaris, Tasmania, AU
Contact:

Re: Regional network mesonet-map updated V3.08

Post by BeaumarisWX »

Hi,
Seems the Mesonet Maps are not displaying, emailed Ken.

http://www.australiawx.net/forum/index. ... 123#msg123

Kind regards,
Tony Beaumaris, Tasmania (AUS)

CMX Mobile : https://beaumaris-weather.com/BWX/
CMX Default: https://beaumaris-weather.com/cumulusmx_default/
Colour Dashboard : https://beaumaris-weather.com/dashborad_color.php
Click below for Saratoga Template :
Image
Post Reply