If you use Cumulus, please donate Image

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Regional network mesonet-map updated V3.08

Discussion of Ken True's web site templates

Moderator: saratogaWX

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

Regional network mesonet-map updated V3.08

Postby saratogaWX » Sun Aug 13, 2017 1:10 am

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
Toxic17
Posts: 449
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: Regional network mesonet-map updated V3.08

Postby Toxic17 » Sun Aug 13, 2017 7:44 pm

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
https://www.conligwx.org/pws/
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

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

Re: Regional network mesonet-map updated V3.08

Postby saratogaWX » Mon Aug 14, 2017 2:02 am

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
Toxic17
Posts: 449
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: Regional network mesonet-map updated V3.08

Postby Toxic17 » Mon Aug 14, 2017 6:51 am

Looking good Ken! run through all weather networks, no errors reporting in apache logs. :clap:
Regards Simon
https://www.conligwx.org
https://www.conligwx.org/pws/
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

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

Re: Regional network mesonet-map updated V3.08

Postby saratogaWX » Mon Aug 14, 2017 4:15 pm

Thanks! I've released 3.09 of mesonet-map-common.php with those fixes.

User avatar
Toxic17
Posts: 449
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: Regional network mesonet-map updated V3.08

Postby Toxic17 » Mon Aug 14, 2017 6:35 pm

Your welcome, glad to help
Regards Simon
https://www.conligwx.org
https://www.conligwx.org/pws/
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image


Return to “Saratoga Templates”

Who is online

Users browsing this forum: No registered users and 2 guests