Page 1 of 1

/pages/station/reportMonthly.php

Posted: Mon Jan 31, 2022 8:58 am
by meteoesine
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

Re: /pages/station/reportMonthly.php

Posted: Mon Jan 31, 2022 9:28 pm
by davidefa
Highest wind run = highest average wind speed * 24

Re: /pages/station/reportMonthly.php

Posted: Tue Feb 01, 2022 3:44 pm
by meteoesine
grande Davide! grazie
solo che a me da 0m, ma sul tuo funziona... :(

Re: /pages/station/reportMonthly.php

Posted: Tue Feb 01, 2022 10:33 pm
by davidefa
Ok, funziona se selezioni miglia e kilometri come distanza, non funziona se selezioni metri. Corretto

distanza.png
distanza.png (222.47 KiB) Viewed 22877 times

Re: /pages/station/reportMonthly.php

Posted: Wed Feb 02, 2022 1:58 pm
by meteoesine
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>

Re: /pages/station/reportMonthly.php

Posted: Fri Feb 04, 2022 4:05 pm
by meteoesine
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

Re: /pages/station/reportMonthly.php

Posted: Wed Feb 23, 2022 8:16 pm
by davidefa
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

Re: /pages/station/reportMonthly.php

Posted: Thu Feb 24, 2022 4:35 pm
by meteoesine
Great job - as usual
tnx a lot