Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Yet Another Dayfile Reader (PHP)
Moderator: daj
- billy
- Posts: 255
- Joined: Mon 30 Nov 2015 10:54 am
- Weather Station: WLL / Davis VP2+
- Operating System: RPi bullseye
- Location: Gooseberry Hill, Western Australia
Re: Yet Another Dayfile Reader (PHP)
For the perhaps one (?) other person who might be interested in this, the cell colouring has been sorted. I decided to use different colours for day, monthly total and running total values, given they have different meanings and of course ranges.
A big thank you to the beteljuice, not just for the code but also the ease of deciphering the logic.
A big thank you to the beteljuice, not just for the code but also the ease of deciphering the logic.
You do not have the required permissions to view the files attached to this post.
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Yet Another Dayfile Reader (PHP)
billy wrote:I modified my code to display running averages Totals in the monthly summary table.
... you have discarded daily averages altogether
Edit: How old is the version you are modifying - your data cells are right justified.
......................Imagine, what you will KNOW tomorrow !
- billy
- Posts: 255
- Joined: Mon 30 Nov 2015 10:54 am
- Weather Station: WLL / Davis VP2+
- Operating System: RPi bullseye
- Location: Gooseberry Hill, Western Australia
Re: Yet Another Dayfile Reader (PHP)
Thanks for pointing out the error - yes, I meant totals, not averages!
Daily rainfall has such a strongly skewed distribution - at least where I live - that it does not lend itself well to using the average as a summary statistic.
The version of the dayfile reader came from Mark a couple of years ago but I think it forked from your standard some years before that. It has the advantage of getting the data from a SQL version of the dayfile. Yes, the values could be placed horizontally better in the cells - I hadn't given that any thought before but it's pretty obvious now you have pointed it out - but I would prefer not to centre the entire text string per se. Aligning them on the decimal point or right align (as they are now but indented further to the left) would be better. Not sure what flexibility there is in html? I realized after I threw in my support for the upgrade, that without incorporating SQL capacity it would be of limited benefit to me!beteljuice wrote: ↑Mon 29 Jul 2019 8:43 am How old is the version you are modifying - your data cells are right justified.
-
- Posts: 884
- Joined: Sat 16 Jul 2016 11:59 pm
- Weather Station: Davis VP2+ & GW1000 (Standalone)
- Operating System: Win10 Pro / rPi Buster
- Location: Australia
Re: Yet Another Dayfile Reader (PHP)
That was my initial thoughts on wanting to change it. EVT though, I see the benefit in seeing both daily averages & totals.
Looking at my current figures, I'm making the assumption that I need about 2.2mm of daily rainfall to balance the EVT losses & have any chance of the lawn coming back to life in Spring.
So based on that, I'm hitting it with the sprinklers once of twice a week in an attempt to deliver what is a bit above the EVT loss.
Don't know how appropriate that is, but am keeping an eye on the fact that I could get it too wet.
(And getting some strange looks from MrsC as I run sprinklers with water meters attached...….).
EVT
Rainfall
You do not have the required permissions to view the files attached to this post.
:Now: :Today/Yesterday:
Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Yet Another Dayfile Reader (PHP)
Naughty billy
Should have told everyone you aren't using the 'standard' distro.
Makes comparisons confusing.
Should have told everyone you aren't using the 'standard' distro.
Makes comparisons confusing.
......................Imagine, what you will KNOW tomorrow !
- billy
- Posts: 255
- Joined: Mon 30 Nov 2015 10:54 am
- Weather Station: WLL / Davis VP2+
- Operating System: RPi bullseye
- Location: Gooseberry Hill, Western Australia
Re: Yet Another Dayfile Reader (PHP)
Apologies - I’m still on L-plates. Maybe I should have posted this elsewhere?
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Yet Another Dayfile Reader (PHP)
No - here is fine and proper (there is no thread for sql versions)billy wrote:Maybe I should have posted this elsewhere?
It's just that if you are non-standard, screen shots especially can be misleading, and everyone starts saying "Mine doesn't look like that !"
Or if you post with a problem, I know if it's me or not
@everyone
the beteljuice is currently ratifying the rainfall colour key.
Everything is the same colours but as we are introducing Month totals etc. the gradients will be proportionately the same,
ie. a light rain day / month will be the same (light) colour, and a heavy rain day / month will be the same (dark) colour.
......................Imagine, what you will KNOW tomorrow !
- billy
- Posts: 255
- Joined: Mon 30 Nov 2015 10:54 am
- Weather Station: WLL / Davis VP2+
- Operating System: RPi bullseye
- Location: Gooseberry Hill, Western Australia
Re: Yet Another Dayfile Reader (PHP)
thanks for the explanation. I have spent an hour in the naughty corner and learnt the lesson (hopefully) and not be sent there again.
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Visual testing ....
O.K. ... feedback please..
the beteljuice needs less bleary eyes and brain viewpoint.
Herewith proposed new release.
Seasons corrected.
Rainfall / EVT / Windrun in year section now all have month totals and overall month averages.
Together with above, colour graduations for day / month etc. are proportional as described a few posts above.
I need people to double-check ALL possible data / views / units - 'cos the beteljuice is in sleep mode (and about to see the nurse, was the consultant yesterday - headspin)
TEST PAGE
Thanks in advance ..
the beteljuice needs less bleary eyes and brain viewpoint.
Herewith proposed new release.
Seasons corrected.
Rainfall / EVT / Windrun in year section now all have month totals and overall month averages.
Together with above, colour graduations for day / month etc. are proportional as described a few posts above.
I need people to double-check ALL possible data / views / units - 'cos the beteljuice is in sleep mode (and about to see the nurse, was the consultant yesterday - headspin)
TEST PAGE
Thanks in advance ..
......................Imagine, what you will KNOW tomorrow !
- PaulMy
- Posts: 3830
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Yet Another Dayfile Reader (PHP)
I've looked at the Rainfall, EVT and Wind Run pages and that seems very good. I do like the year/month totals.
This exercise has made me look at my dayfile.txt and found a few issues causing *Incomplete dataset.
I've fixed EVT for Jan 1, 2019 as it appears a year-end rollover caused the huge negative (using the Jan19log).
Also fixed EVT for June 6, 2019 as something went bad when I shut down the VP2 Plus when moving from previous home and relocated at the new home later in the evening.
Wind run for June 6 is also zero due to that same moving, causing *Incomplete dataset. - Zeros treated as null !.
I've uploaded the edited dayfile.txt with the correct EVT
There are also some *Incomplete dataset in previous years and have not yet looked and see if I can fix those.
Enjoy,
Paul
This exercise has made me look at my dayfile.txt and found a few issues causing *Incomplete dataset.
I've fixed EVT for Jan 1, 2019 as it appears a year-end rollover caused the huge negative (using the Jan19log).
Also fixed EVT for June 6, 2019 as something went bad when I shut down the VP2 Plus when moving from previous home and relocated at the new home later in the evening.
Wind run for June 6 is also zero due to that same moving, causing *Incomplete dataset. - Zeros treated as null !.
I've uploaded the edited dayfile.txt with the correct EVT
There are also some *Incomplete dataset in previous years and have not yet looked and see if I can fix those.
Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm
-
- Posts: 1808
- Joined: Sat 17 Dec 2011 11:55 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 11 x64
- Location: Dorset - UK
- Contact:
Re: Yet Another Dayfile Reader (PHP)
Yes. I have looked through it and it all looks fine & dandy to me.
I've just got to wait and see if Mark tinkers with the SQL version now..
I've just got to wait and see if Mark tinkers with the SQL version now..
-
- Posts: 884
- Joined: Sat 16 Jul 2016 11:59 pm
- Weather Station: Davis VP2+ & GW1000 (Standalone)
- Operating System: Win10 Pro / rPi Buster
- Location: Australia
Re: Visual testing ....
Can't really pass an opinon on that, being that I'm in the Southern Hemishere.beteljuice wrote: ↑Tue 30 Jul 2019 11:54 am O.K. ... feedback please..
Herewith proposed new release.
Seasons corrected.
Having our season start in December seemed Ok to me, but would need to view it with a September start to pass comment.
Would mean though that a "year" would contain 4 months of 2018 & 8 months of 2019 etc.
Making the Season name something more like 2018/19...
And just one other observation & feedback, (knowing for well how much the Beteljuice enjoys change for the sake);
While showing my pages off to friends etc, I've been asked twice, what's that? "Sigma", means total.....
"Ahhhhh" is the reply.
(They usually understand though that Excel was a Hyundai car down here).
Cheers.
:Now: :Today/Yesterday:
Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Yet Another Dayfile Reader (PHP)
Tsk billy ... you've been delving into the code.phil23 wrote:While showing my pages off to friends etc, I've been asked twice, what's that? "Sigma", means total.....
It's a language option - it can be whatever you want.
Edit: Some other European languages favour capital Theta for Avg.
By Your Command ... Southern Hemispherephil23 again wrote:... but would need to view it with a September start to pass comment.
Last edited by beteljuice on Thu 01 Aug 2019 4:52 am, edited 1 time in total.
......................Imagine, what you will KNOW tomorrow !
- billy
- Posts: 255
- Joined: Mon 30 Nov 2015 10:54 am
- Weather Station: WLL / Davis VP2+
- Operating System: RPi bullseye
- Location: Gooseberry Hill, Western Australia
Re: Yet Another Dayfile Reader (PHP)
Billy In the land of oz we are called Bruce
and just to clarify, the sample mean in the world of statistics (ie an estimated average) is traditionally symbolized by "x-bar" - ie an "x" with a bar across the top. Not sure if the forum fonts can cope with this?
and just to clarify, the sample mean in the world of statistics (ie an estimated average) is traditionally symbolized by "x-bar" - ie an "x" with a bar across the top. Not sure if the forum fonts can cope with this?
-
- Posts: 4
- Joined: Mon 22 Jul 2019 9:14 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 7
Re: Yet Another Dayfile Reader (PHP)
beteljuice,
Changes look great. I know I am late to the party, in fact I’ve only jumped on Cumulus in the past fortnight but whilst your making changes, is there a chance to include the following rainfall information:
1. Number of “wet days” for the month (number of days where rainfall is > 0)
2. In the summary section, Average number of “wet days”
Thx and love the work
Changes look great. I know I am late to the party, in fact I’ve only jumped on Cumulus in the past fortnight but whilst your making changes, is there a chance to include the following rainfall information:
1. Number of “wet days” for the month (number of days where rainfall is > 0)
2. In the summary section, Average number of “wet days”
Thx and love the work