Page 1 of 1

average monthly temperature

Posted: Mon 05 Feb 2018 10:34 am
by raffi79
Hi all of you,

could you please tell me where I can find the average monthly temperature in the cumulus files?

thanks in advance for your help!

Re: average monthly temperature

Posted: Mon 05 Feb 2018 11:57 am
by dazza1223
what the tag files?

Re: average monthly temperature

Posted: Mon 05 Feb 2018 2:22 pm
by PaulMy
I don't believe the monthly average temperature is saved in a file by Cumulus. However, the Cumulus NOAA reports that you can set Cumulus to save daily and monthly have the mean temp. There are scripts to calculate average temp from the dayfile.txt file such as http://www.komokaweather.com/weather/be ... maryCU.php Or if you have your data in a MySQL file you can then also extract averages i.e. http://www.komokaweather.com/mysql/monthly-data.php

Enjoy,
Paul

Re: average monthly temperature

Posted: Tue 06 Feb 2018 11:49 am
by raffi79
I found that file dayfile.txt but could you paste overhere the script that helps me in showing the table like in the links you put in your reply?

Thanks for your help!

Re: average monthly temperature

Posted: Tue 06 Feb 2018 12:26 pm
by PaulMy
Hi Raffi,
I am just heading out the door until this evening and will then take a better look at the scripts. In the meantime. the Data Summary is by bettlejuice and you should be able to find it here on the forum. The monthly data is from my MySQL database where I import dayfile.txt once a day. Do you have that?

Regards,
Paul

Re: average monthly temperature

Posted: Tue 06 Feb 2018 7:38 pm
by sfws
For Paul's http://www.komokaweather.com/weather/be ... maryCU.php, the forum topic Paul (in his latest post) means is https://cumulus.hosiene.co.uk/viewtopic.php?f=14&t=11397 - this PHP script works from Cumulus log 'dayfile.txt'. Latest Download on first post dated 01 Feb 2014 11:46.

An alternative, using Cumulus NOAA reports (Paul mentioned those in his earlier post) as the source for the figures, is available at http://weather.wildwoodnaturist.com/downloadsCVW.php, the relevant zip, readme, and example are dated March 11, 2015. Other alternative using NOAA reports is described on forum at https://cumulus.hosiene.co.uk/viewtopic.php?f=14&t=5754 (Choose either PHP script or JavaScript version).

As Paul says, he also uses an alternative at http://www.komokaweather.com/mysql/dayf ... le-sql.php - that PHP script uses a database as source. For download source on forum see https://cumulus.hosiene.co.uk/viewtopic.php?f=14&t=15983, you will see from my comments in that topic, that some of the total line in that output is not correctly populated in the official download. My database schema is unique to me, so I won't share my version of that day by day output script, nor my other script that shows various statistics output month by month, but simply say that if you become expert in programming in future, then you can do other options.

I leave Paul to respond on what he used for his http://www.komokaweather.com/mysql/monthly-data.php table output.

Re: average monthly temperature

Posted: Sat 17 Mar 2018 5:56 pm
by raffi79
Thank you very much for your help. It's done and works great!
I have one more question - do you think it's possible in some way to take the datas from Raspberry from January and Fabruary?