Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.6.6 (build 3082) - 1 June 2020 (please see important announcement regarding releases since 3.5.0)
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of the NOAA report and Snow Index drop-down menus to 2030)

See the Wiki to download the software or click on the Downloads link in the Forum Banner.

Yet Another Dayfile Reader (PHP)

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Phil23
Posts: 471
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
Location: Australia

Re: Yet Another Dayfile Reader (PHP)

Post by Phil23 »

Glad I poked you,
Really Like the look of this.....
http://weather.inverellit.com/betel_mon ... rd_mx.html

May need to get me finally fixing my Nav Menus that are missing the TD's.
(As per the distribution; so you can't pick on me too much for that....).

Cheers.

User avatar
HansR
Posts: 976
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
Location: Wagenborgen (NL)
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by HansR »

beteljuice wrote:
Wed 18 Sep 2019 9:34 pm
(one of my In Progress 'put right / improve' projects) one of many
Indeed, nice :)
https://meteo-wagenborgen.nl / Cumulus 3.6.5 (build: 3081)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 10 (buster) / 4.19.97-v7+ armv7l
Mono JIT compiler version 6.8.0.105 (tarball Tue Feb 4 21:51:48 UTC 2020)

Phil23
Posts: 471
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
Location: Australia

Re: Yet Another Dayfile Reader (PHP)

Post by Phil23 »

Wondering how difficult it is to add a help tool tip to the page.

Today I find myself once again searching for a post where I am reminded of the options that can be specified in the url

Meaning the likes of ?data=rainfall.

I assume seasonal could also be specified as well? Have browsed back a bit in the thread, but haven't hit it yet.
I know the variables above can be seen in the code, but it is the ?data= bit that doesn't stick in mind.

Other thing that would help, would be an edit to the first post to mention ?data= & the seasonal option if one exist.

Cheers

Phil.

User avatar
beteljuice
Posts: 2918
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: ex XP SP3 - now W10 laptop grr
Location: Dudley, West Midlands, UK

Re: Yet Another Dayfile Reader (PHP)

Post by beteljuice »

Other thing that would help, would be an edit to the first post to mention ?data= & the seasonal option if one exist.
First post updated ...
Image
......................Imagine, what you will KNOW tomorrow !

Phil23
Posts: 471
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
Location: Australia

Re: Yet Another Dayfile Reader (PHP)

Post by Phil23 »

I Know the Betel is off duty recovering, but others might know.

Hadn't really studied my Dayfile reader output all that thoroughly for a while, but today I noticed this, 2017 & 2018 duplicated at the bottom....

http://weather.inverellit.com/datasummary.php
DFR1.JPG
Also in the second copy I have that does a daily merge of my current & historic dayfiles the same thing.
http://weather.inverellit.com/historic/datasummary.php
DFR2.JPG
Have had a quick check of both dayfiles & they don't show any duplicated data.


Not sure what I've done; if anything.

Phil.
You do not have the required permissions to view the files attached to this post.

User avatar
PaulMy
Posts: 2130
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis Vantage Pro 2+ w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by PaulMy »

I've not seen that duplication on my version http://www.komokaweather.com/weather/be ... maryCU.php

I've tried looking at your site's View page source and that shows the duplication while mine doesn't. Sorry, I have no idea what may have caused that.

Enjoy,
Paul

User avatar
HansR
Posts: 976
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
Location: Wagenborgen (NL)
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by HansR »

@Phil:
@Paul:
Maybe it has something to do with the concatenation of the two dayfiles (old system an current) which Phil executes daily.
It is the main deviation of a 'normal' system.
https://meteo-wagenborgen.nl / Cumulus 3.6.5 (build: 3081)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 10 (buster) / 4.19.97-v7+ armv7l
Mono JIT compiler version 6.8.0.105 (tarball Tue Feb 4 21:51:48 UTC 2020)

User avatar
beteljuice
Posts: 2918
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: ex XP SP3 - now W10 laptop grr
Location: Dudley, West Midlands, UK

Re: Yet Another Dayfile Reader (PHP)

Post by beteljuice »

the beteljuice has escaped from the Maximum security "Are You Still Here Facility".
Have had a quick check of both dayfiles & they don't show any duplicated data.

Code: Select all

27/02/18,20.9,88,09:52,13.4,06:50,
28/02/18,22.5,246,14:57,16.2,06:38
01/03/18,25.7,236,13:42,19.8,06:00
27/02/18,32.2,330,14:31,13.4,07:00
28/02/18,22.5,270,15:00,16.3,06:40
01/03/18,25.7,225,13:50,19.9,06:00
... So what's that then ? :bash:

Notice the data content is different for the duplicated dates ...
Image
......................Imagine, what you will KNOW tomorrow !

Phil23
Posts: 471
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
Location: Australia

Re: Yet Another Dayfile Reader (PHP)

Post by Phil23 »

beteljuice wrote:
Tue 19 Nov 2019 6:33 pm
the beteljuice has escaped from the Maximum security "Are You Still Here Facility".
Have had a quick check of both dayfiles & they don't show any duplicated data.

Code: Select all

27/02/18,20.9,88,09:52,13.4,06:50,
28/02/18,22.5,246,14:57,16.2,06:38
01/03/18,25.7,236,13:42,19.8,06:00
27/02/18,32.2,330,14:31,13.4,07:00
28/02/18,22.5,270,15:00,16.3,06:40
01/03/18,25.7,225,13:50,19.9,06:00
... So what's that then ? :bash:

Notice the data content is different for the duplicated dates ...
Hmm,

I was expecting to be seeing something like an entire years records duplicated at about the mid point in the file.
Simply have no idea how that could have been generated.

Only thing I can think of is some occasions back a bit where that laptop locked up occasionally due to overheating from a blocked CPU fan.

Maybe when it rebooted it downloaded data twice; but that still makes little sense as the dayfile is only updated at days end.

Phil.

Phil23
Posts: 471
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
Location: Australia

Re: Yet Another Dayfile Reader (PHP)

Post by Phil23 »

Just had a good search in Excel for Duplicates & can see all the above; four blocks in total but only in 2018.

Not duplicated in 2017, so not sure why it double up.

Will edit the 2018 ones out that seem less valid & see how it goes.

Phil23
Posts: 471
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
Location: Australia

Re: Yet Another Dayfile Reader (PHP)

Post by Phil23 »

Looks like that's fixed it.

Now that I've had a good look over all the pages I've noticed another strange anomaly on the Heating & Cooling days.

A total for the current year.
Is this a value that should be present & has an explanation?

Cheers.
CD.JPG
HD.JPG
You do not have the required permissions to view the files attached to this post.

User avatar
beteljuice
Posts: 2918
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: ex XP SP3 - now W10 laptop grr
Location: Dudley, West Midlands, UK

Re: Yet Another Dayfile Reader (PHP)

Post by beteljuice »

A total for the current year.
"Out Of The Box" year totals are not provided for cooling / heating days ...
Image
......................Imagine, what you will KNOW tomorrow !

Phil23
Posts: 471
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
Location: Australia

Re: Yet Another Dayfile Reader (PHP)

Post by Phil23 »

beteljuice wrote:
Tue 19 Nov 2019 11:50 pm
"Out Of The Box" year totals are not provided for cooling / heating days ...
Thought maybe I'm Still running a Cut & Paste this bit here & that bit there version from the testing phase.

Didn't think so as if I was I would not have the rain days, but downloaded a fresh copy & edit path & Lat/Long & still the same.

Also seeing identical byte size in the previous file & the one I uploaded.
Capture.JPG
Phil.
You do not have the required permissions to view the files attached to this post.

Phil23
Posts: 471
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
Location: Australia

Re: Yet Another Dayfile Reader (PHP)

Post by Phil23 »

beteljuice wrote:
Tue 19 Nov 2019 11:50 pm
"Out Of The Box" year totals are not provided for cooling / heating days ...
So after much head scratching, followed by ignoring it, then being tempted to look again I saw this.

http://beteljuice.co.uk/daytest/abasic.php
Capture.JPG
So it my me an undocumented Betel feature. ;)

At least it brings my hair pulling session to an end.

Cheers.
You do not have the required permissions to view the files attached to this post.

User avatar
beteljuice
Posts: 2918
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: ex XP SP3 - now W10 laptop grr
Location: Dudley, West Midlands, UK

Re: Yet Another Dayfile Reader (PHP)

Post by beteljuice »

the beteljuice wrote:"Out Of The Box" year totals are not provided for cooling / heating days ...
Hello ... anybody in there ? :bash:

Monthly totals are not yearly totals [tick]
Where there are yearly totals it is custom code NOT and option [tick]
Does Phil ever read / pay attention to what the beteljuice writes [cross]

... and I would remind you from the first post ...
Anyone can 'play', but the beteljuice will NOT be answering any 'general' enquiries along the lines of "How do I ..." and "I want ...".
Image
......................Imagine, what you will KNOW tomorrow !

Post Reply