Page 1 of 1

YearNormals plugin code improvement

Posted: Sat Jul 11, 2020 9:31 am
by kocher
Good morning everyone, followers of Meteotemplate.

First of all I must congratulate Jachym because, I believe, he has recently married. :D

The reason for my question is the following, it is related to PHP and MySQL, in addition to html code:

In the following script (./plugins/yearNormals), Jachym managed to obtain the means, and deviations of all the parameters of our station (which I consider a marvel):

http://kocher.es/meteotemplate/plugins/ ... rGraph.php

What I would like to achieve is the following:

Add a last column (after December), whose heading was AVG.

In this column, the average values ​​of each parameter should appear per year; The last value in this column would show the Absolute Total Average.

I understand the difficulty that the query to the database can have with PHP / MySQL but, for me, the most devilish thing is the PHP / HTML code of Jachym. :idea:

I am thankful for any kind of help.

Greetings from San Sebastian, Spain