/pages/station/reportMonthly.php

Post Reply
User avatar
meteoesine
Forecaster
Forecaster
Posts: 166
Joined: Sun Aug 20, 2017 4:08 pm
Location: Esine, Valcamonica (BS) - Italy
Station model: Davis Pro2+
Software: Meteobridge nano
Contact:

/pages/station/reportMonthly.php

Post by meteoesine » Mon Jan 31, 2022 8:58 am

Hi there,
who among you would be able to add a new line to the summery of the monthly report under the paragraph wind speed that reports the windiest day (highest wind run)?
https://bit.ly/3oewCYW

thanks in adavnce
Attachments
ScreenShot00940.jpg
ScreenShot00940.jpg (46.06 KiB) Viewed 1614 times
ScreenShot00939.jpg
ScreenShot00939.jpg (52.28 KiB) Viewed 1614 times
:arrow: https://meteoesine.it
ham wx aprs/cwop: IW2LAO-13

Image

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: /pages/station/reportMonthly.php

Post by davidefa » Mon Jan 31, 2022 9:28 pm

Highest wind run = highest average wind speed * 24
Attachments
reportMonthlySummary.zip
(7.9 KiB) Downloaded 31 times
Image

User avatar
meteoesine
Forecaster
Forecaster
Posts: 166
Joined: Sun Aug 20, 2017 4:08 pm
Location: Esine, Valcamonica (BS) - Italy
Station model: Davis Pro2+
Software: Meteobridge nano
Contact:

Re: /pages/station/reportMonthly.php

Post by meteoesine » Tue Feb 01, 2022 3:44 pm

grande Davide! grazie
solo che a me da 0m, ma sul tuo funziona... :(
Attachments
ScreenShot00941.jpg
ScreenShot00941.jpg (27.85 KiB) Viewed 1590 times
:arrow: https://meteoesine.it
ham wx aprs/cwop: IW2LAO-13

Image

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: /pages/station/reportMonthly.php

Post by davidefa » Tue Feb 01, 2022 10:33 pm

Ok, funziona se selezioni miglia e kilometri come distanza, non funziona se selezioni metri. Corretto

distanza.png
distanza.png (222.47 KiB) Viewed 1581 times
Attachments
reportMonthlySummary_1.1.zip
(7.93 KiB) Downloaded 34 times
Image

User avatar
meteoesine
Forecaster
Forecaster
Posts: 166
Joined: Sun Aug 20, 2017 4:08 pm
Location: Esine, Valcamonica (BS) - Italy
Station model: Davis Pro2+
Software: Meteobridge nano
Contact:

Re: /pages/station/reportMonthly.php

Post by meteoesine » Wed Feb 02, 2022 1:58 pm

perfect !! grazie
Ho provato a modificare anche il report annuale al file "reportYearluExtrmes.php" ma devo aver sbagliato qualcosa

<tr><td>
<?php echo lang("day with highest wind run","c")?>
</td><td>
<?php echo date($dateFormat,$data['highestWDay'][array_search(max($data['highestWDay']), $data['highestWDay'])])?>
</td><td>
<?php echo number_format(convertW(max($data['highestWDay'])),2,".","")." ".unitFormatter($displayWindUnits)?>
</td></tr>
:arrow: https://meteoesine.it
ham wx aprs/cwop: IW2LAO-13

Image

User avatar
meteoesine
Forecaster
Forecaster
Posts: 166
Joined: Sun Aug 20, 2017 4:08 pm
Location: Esine, Valcamonica (BS) - Italy
Station model: Davis Pro2+
Software: Meteobridge nano
Contact:

Re: /pages/station/reportMonthly.php

Post by meteoesine » Fri Feb 04, 2022 4:05 pm

Ciao Davide, grazie ancora per la modifica.
mi piacerebbe avere questo valore anche sul report in pdf (/pages/station/reportMonthlyPDF.php),
e sul report annuale ("reportYearlyExtremes.php" ) e sul relativo report in pdf (/pages/station/reportYearlyPDF.php)
quando hai tempo e voglia....

Inoltre, dato che non riesco a inviarti un messaggio privato tramite il forum (chissà come mai), potresti mandarmene uno tu con la tua mail? vorrei chiederti una cosa.
grazie
Norbert
:arrow: https://meteoesine.it
ham wx aprs/cwop: IW2LAO-13

Image

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: /pages/station/reportMonthly.php

Post by davidefa » Wed Feb 23, 2022 8:16 pm

I've updated the reports including reportMonthlyPDF.php and reportYearlyPDF.php
Included the new version of mPDF library ( it is now compatible with php 8.0 )
Unzip in the root directory of meteotemplate

http://www.davidefabbri.net/files/reportMonthly_1.2.zip
Image

User avatar
meteoesine
Forecaster
Forecaster
Posts: 166
Joined: Sun Aug 20, 2017 4:08 pm
Location: Esine, Valcamonica (BS) - Italy
Station model: Davis Pro2+
Software: Meteobridge nano
Contact:

Re: /pages/station/reportMonthly.php

Post by meteoesine » Thu Feb 24, 2022 4:35 pm

Great job - as usual
tnx a lot
:arrow: https://meteoesine.it
ham wx aprs/cwop: IW2LAO-13

Image

Post Reply