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
- 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)
@Paul ..
You and your bl**dy framed pages ....
... and I still hate your auto refresh - 'resets' everything when I've picked something or 'messing around' investigating
Looks alright, but I have a feeling that somewhere there's a note or advisory that is inbetween tables which is fixed to black, so you wouldn't be able to see it.
.. must rush, got to see nurse ..
You and your bl**dy framed pages ....
... and I still hate your auto refresh - 'resets' everything when I've picked something or 'messing around' investigating
Looks alright, but I have a feeling that somewhere there's a note or advisory that is inbetween tables which is fixed to black, so you wouldn't be able to see it.
.. must rush, got to see nurse ..
......................Imagine, what you will KNOW tomorrow !
- PaulMy
- Posts: 3849
- 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)
... and I still hate your auto refresh
Something I've done and shouldn't have?
No error being logged on my site, other than an ajax-dashboard undefined error which I have posted elsewhere viewtopic.php?f=25&t=17521but I have a feeling that somewhere there's a note or advisory that is in between tables which is fixed to black
What could I be looking for?
Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
-
- Posts: 1256
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: Yet Another Dayfile Reader (PHP)
Good work Beteljuice!!
Have a couple of queries.
1. Daily and Seasonal Rainfall:
raindrop.png not showing just a dot. On expanding the font size I see a box with a cross in it indicating the image is not available. It has been copied to the same location as the summer winter etc images.
2. Seasonal Rainfall:
In seasons that don't have any data, (Autumn 2012 and spring/summer 2019) monthly and season results are showing when averages do not.
Have not looked into how the rain days calcs are done but suggest it may look better if they did not show 0d in seasons without data.
Have a couple of queries.
1. Daily and Seasonal Rainfall:
raindrop.png not showing just a dot. On expanding the font size I see a box with a cross in it indicating the image is not available. It has been copied to the same location as the summer winter etc images.
2. Seasonal Rainfall:
In seasons that don't have any data, (Autumn 2012 and spring/summer 2019) monthly and season results are showing when averages do not.
Have not looked into how the rain days calcs are done but suggest it may look better if they did not show 0d in seasons without data.
- 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)
@BCJK
1/ You have your images in a different (customised) location, so the link(s) for raindrop.png need to be similarly customised (or put in the /weather directory)
2/
... but, logic / philosophical argument.
As we only inspect one dataset at a time - how do we know if a result of 0 is a valid value or 'not recorded' ?
@Paul
1/ You have your images in a different (customised) location, so the link(s) for raindrop.png need to be similarly customised (or put in the /weather directory)
2/
Very simple - if rain > 0 count ++Have not looked into how the rain days calcs are done but suggest it may look better if they did not show 0d in seasons without data.
... but, logic / philosophical argument.
As we only inspect one dataset at a time - how do we know if a result of 0 is a valid value or 'not recorded' ?
@Paul
It's not present normally Paul, only under certain circumstances which at the moment I can't rememberNo error being logged on my site,
......................Imagine, what you will KNOW tomorrow !
- 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)
Ahh ... I see the data is being downloaded (hence you you don't get "DATA FAIL" message), but for some reason the page content isn't being replaced.grwkak wrote: ↑Sun 04 Aug 2019 11:55 pm Seem to have this partially working:
http://wilsonsweather.host-ed.me/dayfilebetel/test.php
...... the page never changes.
Any suggestions?
Guy
Edit: Rubbish content removed !!!!
Last edited by beteljuice on Tue 06 Aug 2019 2:41 am, edited 1 time in total.
......................Imagine, what you will KNOW tomorrow !
- grwkak
- Posts: 173
- Joined: Fri 28 Jun 2013 12:32 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10
- Location: Hambden, Ohio US
- Contact:
Re: Yet Another Dayfile Reader (PHP)
Thats the issue.
Used:
<div id="tableData">
<?php include('betel_readDayfile.php');?>
</div>
Guy
Used:
<div id="tableData">
<?php include('betel_readDayfile.php');?>
</div>
Guy
-
- Posts: 1256
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: Yet Another Dayfile Reader (PHP)
@ Beteljuice,
Thanks, have the raindrop showing now.
If the 0d for Year/Month in the future can't be worked out on the fly then I suppose the only other option would be check if the month is in the future by either using the date, or by checking if there is no data for say temp.
But - this all seems a bit complicated.
There is probably a better way??
Thanks
Thanks, have the raindrop showing now.
If the 0d for Year/Month in the future can't be worked out on the fly then I suppose the only other option would be check if the month is in the future by either using the date, or by checking if there is no data for say temp.
But - this all seems a bit complicated.
There is probably a better way??
Thanks
- 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)
@guy ...
Wait a minute ... somethings very wrong, that's the old version.
Let me backtrack a bit
Hmm ... somewhere down the line I've changed the name of the file
The correct code IS:
So it looks like a wrong path at about line 45 (this file name), see what you have in the 'old' version ...
Edit: Now you are confusing me ... both files inc. betel_readDayfile.php say they are ver 7.1, not 7.1.1
@BCJK
Wait a minute ... somethings very wrong, that's the old version.
Let me backtrack a bit
Hmm ... somewhere down the line I've changed the name of the file
The correct code IS:
Code: Select all
<div id="tableData">
<?php include('betel_readDayfile.php');?>
</div>
Edit: Now you are confusing me ... both files inc. betel_readDayfile.php say they are ver 7.1, not 7.1.1
@BCJK
If I had gone "the easy route" of a separate table for raindays and made it a 'calculated' one, then I could have looked for eg. temp val for a date entry, but of course the beteljuice decided to go sideways and create a lot of grief for himself ....... by checking if there is no data for say temp.
......................Imagine, what you will KNOW tomorrow !
- Super-T
- Posts: 890
- Joined: Tue 09 Sep 2008 3:37 am
- Weather Station: wh-1081
- Operating System: Weather Laptop - Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: Yet Another Dayfile Reader (PHP)
I downloaded "betel_readDayfile_7_1_1.zip" to get the error "FATAL ERROR - Language File FAIL !!"
Whta I did was to rename the betel_readDayfile.php to remove the betel_ Perhaps That is the problem? T
Whta I did was to rename the betel_readDayfile.php to remove the betel_ Perhaps That is the problem? T
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)
@Terry
NOoooooooooooooooo .....
Things will get confused with your old one.
In your screen shot there is no languages file !
Did you download the 'distribution' zip ???
The apparently missing file is betel_dayfile_languages.php (which can be downloaded separately.)
I intend to PM you at some point with suggestions for your pages
NOoooooooooooooooo .....
Things will get confused with your old one.
In your screen shot there is no languages file !
Did you download the 'distribution' zip ???
The apparently missing file is betel_dayfile_languages.php (which can be downloaded separately.)
I intend to PM you at some point with suggestions for your pages
......................Imagine, what you will KNOW tomorrow !
- Super-T
- Posts: 890
- Joined: Tue 09 Sep 2008 3:37 am
- Weather Station: wh-1081
- Operating System: Weather Laptop - Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: Yet Another Dayfile Reader (PHP)
I'd better read the "HowTo" file then
Probably changed a lot.
T
Probably changed a lot.
T
- grwkak
- Posts: 173
- Joined: Fri 28 Jun 2013 12:32 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10
- Location: Hambden, Ohio US
- Contact:
Re: Yet Another Dayfile Reader (PHP)
@beteljuice
May be a version downloaded prior to the latest. I started setting it up then stopped for a week or so.
Guy
May be a version downloaded prior to the latest. I started setting it up then stopped for a week or so.
Guy
- 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
... minor update ######
Dear ALL
Minor Update .....
Sorry - Seasonal Raindays presentation and maths 'tweaked'
Main file only ..
Existing Users .....
If your existing stuff is pre ver 7.1, it is recommended to move your existing files to a back-up folder, and start over with the full distribution zip, using your settings in your existing file as an incomplete guidance ONLY
Download from the usual place viewtopic.php?f=14&t=11397#p91488
PS. demo pages not done yet, but see test here: http://beteljuice.co.uk/daytest/test_da ... all&pane=1
Minor Update .....
Sorry - Seasonal Raindays presentation and maths 'tweaked'
Main file only ..
Existing Users .....
If your existing stuff is pre ver 7.1, it is recommended to move your existing files to a back-up folder, and start over with the full distribution zip, using your settings in your existing file as an incomplete guidance ONLY
Download from the usual place viewtopic.php?f=14&t=11397#p91488
PS. demo pages not done yet, but see test here: http://beteljuice.co.uk/daytest/test_da ... all&pane=1
Last edited by beteljuice on Wed 07 Aug 2019 3:48 am, edited 1 time in total.
......................Imagine, what you will KNOW tomorrow !
- PaulMy
- Posts: 3849
- 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)
Updated and all looks fine.
@betel
I think a typo on the new download zip that you may want to correct to avoid version confusion.
Enjoy,
Paul
@betel
I think a typo on the new download zip that you may want to correct to avoid version confusion.
Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
-
- 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: php 7 test pilots please.
Looking at what I'm trying to understand, I'd presume I'd need an entire new block of code a bit like what starts around line 914 & goes to about 1128,beteljuice wrote: ↑Sat 03 Aug 2019 10:11 pm @phil23 .. the prog is designed for you to be creative, not me ....
but modified to created a table of either high or low extremes depending on which is most relevant.
Max for Max's, Wind, Daily rain, EVT etc & Min Minimums.
Probably another control variable similar to
$show_year_averages = true; // show year(s) averages (totals) below daily summary, true / false
$show_year_extremes = true; // show year(s) Max (Mins) below daily summary, true / false
Sounds like something WAYYYYY beyond my capabilities, but is the above the basic concept?
Or is it something the code already accommodates, but I just don't understand?
Maybe I need to just view the Seasonal page & observe those figures there where they already exist.
Cheers.
PS latest Looks great on my data.
: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: