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 4017) - 17 March 2024

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 drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Yet Another Dayfile Reader (PHP)

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

Moderator: daj

User avatar
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 request ...

Post by beteljuice »

:bash: :bash: :bash: :bash:

Just as I was going to zip up the rebuild - as the beteljuice usually says, "Most thing are possible with this prog."

On the face of it your suggestions are not unreasonable ...
1. Number of “wet days” for the month (number of days where rainfall is > 0)
OK - not too difficult. see the current test page
2. In the summary section, Average number of “wet days”
Hmm ... that's rather more awkward as it would require a chunk of dedicated code. Edit: see the current test page

Then there would be seasonal month / averages - very awkward and possibly make the page 'bloated' !!!

... but the real fly in the ointment is ....

How do we represent the 'title' in FOUR characters or less (and take other languages into consideration)
Edit: see the current test page

Anybody any opinions ?? - Answers sooner rather than later please !!!!!!
Image
......................Imagine, what you will KNOW tomorrow !
berwickw
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)

Post by berwickw »

Great result ;)

Personally not concerned if the metric is or is not captured in the seasonal table.

Icon works well. However if you must use a word or phrase to represent title maybe ‘wet:’ or ‘#wet’

Thanks again
User avatar
PaulMy
Posts: 3775
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)

Post by PaulMy »

One has to be observant to notice the beteljuice playthings... :clap:

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

Image
User avatar
mcrossley
Posts: 12689
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Yet Another Dayfile Reader (PHP)

Post by mcrossley »

I did wet days as a separate table.
https://weather.wilmslowastro.com/datasummary.php

Having started this latest update I guess I'm going to have to update my version now. Too much to do, too little time :bash:
User avatar
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

experiment

Post by beteljuice »

(Optional) raindays summary inclusion with rainfail data (experimental)

Seasonal raindays average will be in error for incomplete seasons (ie. 1 or 2 calendar months) as it is impossible to prove that a day with no rain was / is a day that data was recorded !

see the current test page

FEEDBACK please ......
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
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)

Post by Super-T »

What happened to the min/max temp?
When all the changes are done I assume there will be an Update posted?
Phil23
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)

Post by Phil23 »

mcrossley wrote: Thu 01 Aug 2019 8:31 pm I did wet days as a separate table.
https://weather.wilmslowastro.com/datasummary.php

Too much to do, too little time :bash:
Ditto your last comment...

Would it be hard to eliminate the 0's & 1's, maybe font colour?
And don't know what this would entail,
but have say 3 thresholds,
0-5mm, 5-10mm, 10-999mm and format the rain days according to that?

Edit:-

On looking that's basically duplicating what's on the rain page, but with counts.
:Now: :Today/Yesterday:

Image

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:
User avatar
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)

Post by beteljuice »

Super-T wrote: Fri 02 Aug 2019 11:16 pm What happened to the min/max temp?
??? They are still there, just using the (existing) 'post' facility in the link to put it on the pertinent data.#
When all the changes are done I assume there will be an Update posted?
Hasn't been much in the way of feedback, especially for raindays as an 'option'.

... but there will have to be release of some sort in the near future if only to correct seasonal display !
Image
......................Imagine, what you will KNOW tomorrow !
Phil23
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)

Post by Phil23 »

beteljuice wrote: Sat 03 Aug 2019 12:30 am Hasn't been much in the way of feedback, especially for raindays as an 'option'.

... but there will have to be release of some sort in the near future if only to correct seasonal display !
Looks good & a welcome addition.

Did have me briefly wondering about days without rain.....

Then.....

Looking at say the Max & Min Temp pages (Can sense Beteljuice reaching for :bash: ), the average table at the bottom looks fine,
but it immediately had me thinking how easily readable a second table of all the monthly max's (for the max) page & Min's for the min page would be.

I switched to the seasonal tab, & they are all there, but the eye's & brain needs to do a bit more sifting out.

Jury is still out here on the brain appeal of Spring Vs Summer start for the seasons in the Southern Hemisphere.
Probably a bit tainted by the 4/8 month split.

Cheers.
:Now: :Today/Yesterday:

Image

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:
User avatar
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

php 7 test pilots please.

Post by beteljuice »

A couple of competent php 7+ who have a good knowledge of Yet Another Another Dayfile Reader wanted please ...

Edit: Take #2
betel_test.zip
Contains:

a test 'holding' page
test version of main file
new raindrop.png

Make sure ALL user vars are a duplicate of your working file, so that it will be easier to distinguish any errors.

Thank you in advance ....

@phil23 .. the prog is designed for you to be creative, not me ....
You do not have the required permissions to view the files attached to this post.
Last edited by beteljuice on Sun 04 Aug 2019 12:23 am, edited 2 times in total.
Image
......................Imagine, what you will KNOW tomorrow !
Mapantz
Posts: 1774
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: php 7 test pilots please.

Post by Mapantz »

beteljuice wrote: Sat 03 Aug 2019 10:11 pm A couple of competent php 7+ who have a good knowledge of Yet Another Another Dayfile Reader wanted please ...

betel_test.zip

Contains:

a test 'holding' page
test version of main file
new raindrop.png

Make sure ALL user vars are a duplicate of your working file, so that it will be easier to distinguish any errors.

Thank you in advance ....

@phil23 .. the prog is designed for you to be creative, not me ....
https://warehamwx.co.uk/test_dayfile.php

Running PHP 7.3.7
Image
Phil23
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)

Post by Phil23 »

Uploaded the files & edited the dayfile location, but all I get is the temp page, then it hangs on getting data if I try & change pages.
:Now: :Today/Yesterday:

Image

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:
User avatar
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)

Post by beteljuice »

Yup ... 1 JS error

LOTs of php 7 hangups ....
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
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)

Post by beteljuice »

How silly .... after days of php coding, it was one line of temp. js for my test page that seems to have spoiled everything.

Fingers crossed, please try again ...
Image
......................Imagine, what you will KNOW tomorrow !
Mapantz
Posts: 1774
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)

Post by Mapantz »

beteljuice wrote: Sun 04 Aug 2019 12:25 am How silly .... after days of php coding, it was one line of temp. js for my test page that seems to have spoiled everything.

Fingers crossed, please try again ...
https://warehamwx.co.uk/test_dayfile.php :clap:
Image
Post Reply