snow
- meteoesine
- Forecaster

- Posts: 186
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
snow
Hi,
I noticed that if there are no snow accumulations in a season, in my case last season 2022-23 (leaving the values of all months at zero), the reportSeason.php and allSeason.php do not display correctly (they only display in part) the reports; while if you add even just a 0.001 to any day it is displayed correctly (but recording a non-existent snow day)
Is this just my problem or are others experiencing this problem too?
thanks to whoever will solve it
good snow everyone
I noticed that if there are no snow accumulations in a season, in my case last season 2022-23 (leaving the values of all months at zero), the reportSeason.php and allSeason.php do not display correctly (they only display in part) the reports; while if you add even just a 0.001 to any day it is displayed correctly (but recording a non-existent snow day)
Is this just my problem or are others experiencing this problem too?
thanks to whoever will solve it
good snow everyone
- Attachments
-
- Screenshot - 30_11_2023 , 08_07_51.jpg (161.56 KiB) Viewed 30873 times
-
- Screenshot - 30_11_2023 , 08_06_19.jpg (207.86 KiB) Viewed 30873 times
- meteoesine
- Forecaster

- Posts: 186
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
-
davidefa
- Expert

- Posts: 905
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: snow
This is a 'quick and dirty fix' of the plugin for php 8.x compatibility ( you need also to update the scripts/functions.php with the attached one, it is compatible with the one you posted a few days ago, it is compatible with meteotemplate 18.0 and 19.0 )
P.S.
In the main setup of meteotemplate, in place of the darksky ( r.i.p. 🪦 ) api key insert the openweathermap api key ( which is used by the current block ) and should replace darksky forecasts ( the api is similar ).
P.S.
In the main setup of meteotemplate, in place of the darksky ( r.i.p. 🪦 ) api key insert the openweathermap api key ( which is used by the current block ) and should replace darksky forecasts ( the api is similar ).
- Attachments
-
- functions_20231209a.zip
- (9.66 KiB) Downloaded 849 times
-
- snow_4.2.zip
- (156.02 KiB) Downloaded 828 times
- meteoesine
- Forecaster

- Posts: 186
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
Re: snow
grazie Davide, ma il problema rimane anche con gli ultimi aggiornamenti.
https://meteoesine.it/template/plugins/ ... eports.php
guarda la stagione 2022-2023 (dove è tutto a 0 perchè non ha mai nevicato) il report viene visualizzato solo a metà rispetto alle altre stagioni che hanno registrato almeno 1 giorno di neve - si interrompe alla fine delle 'statistiche mensili';
Inoltre, ora, nel riepilogo generale: https://meteoesine.it/template/plugins/ ... Season.php
nel confronto inverni, le colonne delle stagioni sono visualizzate a casaccio: 2014/2015 - 2013/2014 - 2015/2016 - 2014/2015 ... e poi la tabella si allunga al di fuori della videata.
grazie
https://meteoesine.it/template/plugins/ ... eports.php
guarda la stagione 2022-2023 (dove è tutto a 0 perchè non ha mai nevicato) il report viene visualizzato solo a metà rispetto alle altre stagioni che hanno registrato almeno 1 giorno di neve - si interrompe alla fine delle 'statistiche mensili';
Inoltre, ora, nel riepilogo generale: https://meteoesine.it/template/plugins/ ... Season.php
nel confronto inverni, le colonne delle stagioni sono visualizzate a casaccio: 2014/2015 - 2013/2014 - 2015/2016 - 2014/2015 ... e poi la tabella si allunga al di fuori della videata.
grazie
- Attachments
-
- Screenshot - 10_12_2023 , 08_21_26.jpg (248.86 KiB) Viewed 30831 times
-
davidefa
- Expert

- Posts: 905
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: snow
Ok, You sould post/pm me your snow mysql table ( use phpmyadmin to make a backup ).
The allSeason.php script has a few problems ( and I can't replicate it with my data ):
- in 'confronto inverni' every column is repeated twice
- the row 'giorni consecutivi...' for season 13/14 and 22/23 ( when no snow was recorded ) is wrong and reports all days
The allSeason.php script has a few problems ( and I can't replicate it with my data ):
- in 'confronto inverni' every column is repeated twice
- the row 'giorni consecutivi...' for season 13/14 and 22/23 ( when no snow was recorded ) is wrong and reports all days
- meteoesine
- Forecaster

- Posts: 186
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
Re: snow
@davidefa hai ricevuto la mia tabella snow?
-
davidefa
- Expert

- Posts: 905
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: snow
Yes, I already uploaded plugin ver 4.3 and it was working... but now I see plugin ver 4.1.
I reuploaded ver 4.3 and it is working again now ( the zipped plugin is in the plugins directory ).
Does it work correctly now?
I reuploaded ver 4.3 and it is working again now ( the zipped plugin is in the plugins directory ).
Does it work correctly now?
- meteoesine
- Forecaster

- Posts: 186
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
Re: snow
tnx Davide,
allSeason.php is OK but snowReports.php still not:
shows a string of errors above the header and again the report stops at the monthly statistics (season 2022-23 when everything is at 0)
allSeason.php is OK but snowReports.php still not:
shows a string of errors above the header and again the report stops at the monthly statistics (season 2022-23 when everything is at 0)
- Attachments
-
- Screenshot - 17_12_2023 , 17_25_18.jpg (163.91 KiB) Viewed 30798 times
-
- Screenshot - 30_11_2023 , 08_07_51.jpg (161.56 KiB) Viewed 30798 times
- meteoesine
- Forecaster

- Posts: 186
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
Re: snow
Thanks you very much Davide, great job as always
I take this opportunity to wish you and the all the forum's users Merry Christmas.
The fixed plugin is attached
I take this opportunity to wish you and the all the forum's users Merry Christmas.
The fixed plugin is attached
- Attachments
-
- snow_4.3.zip
- (157.43 KiB) Downloaded 845 times