Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.3.0 build 3063 - 10 January 2020.
    Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

    See the Wiki for downloading either version.

    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: 2815
    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 request ...

    Post by beteljuice » Wed 31 Jul 2019 11:29 pm

    :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 » Thu 01 Aug 2019 6:22 am

    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: 2033
    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 » Thu 01 Aug 2019 1:03 pm

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

    Enjoy,
    Paul

    User avatar
    mcrossley
    Posts: 5944
    Joined: Thu 07 Jan 2010 9:44 pm
    Weather Station: Davis VP2
    Operating System: Stretch Lite rPi
    Location: Wilmslow, Cheshire, UK
    Contact:

    Re: Yet Another Dayfile Reader (PHP)

    Post by mcrossley » Thu 01 Aug 2019 8:31 pm

    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: 2815
    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

    experiment

    Post by beteljuice » Fri 02 Aug 2019 10:52 pm

    (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: 826
    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 » Fri 02 Aug 2019 11:16 pm

    What happened to the min/max temp?
    When all the changes are done I assume there will be an Update posted?

    Phil23
    Posts: 380
    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 » Fri 02 Aug 2019 11:28 pm

    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.
    Image

    User avatar
    beteljuice
    Posts: 2815
    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 » Sat 03 Aug 2019 12:30 am

    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: 380
    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 » Sat 03 Aug 2019 8:57 pm

    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.
    Image

    User avatar
    beteljuice
    Posts: 2815
    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

    php 7 test pilots please.

    Post by beteljuice » 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 ...

    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: 643
    Joined: Sat 17 Dec 2011 11:55 am
    Weather Station: Davis Vantage Pro2
    Operating System: Windows 10 x64
    Location: Dorset - UK
    Contact:

    Re: php 7 test pilots please.

    Post by Mapantz » Sat 03 Aug 2019 10:40 pm

    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: 380
    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 » Sat 03 Aug 2019 10:47 pm

    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.
    Image

    User avatar
    beteljuice
    Posts: 2815
    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 » Sat 03 Aug 2019 11:58 pm

    Yup ... 1 JS error

    LOTs of php 7 hangups ....
    Image
    ......................Imagine, what you will KNOW tomorrow !

    User avatar
    beteljuice
    Posts: 2815
    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 » 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 ...
    Image
    ......................Imagine, what you will KNOW tomorrow !

    Mapantz
    Posts: 643
    Joined: Sat 17 Dec 2011 11:55 am
    Weather Station: Davis Vantage Pro2
    Operating System: Windows 10 x64
    Location: Dorset - UK
    Contact:

    Re: Yet Another Dayfile Reader (PHP)

    Post by Mapantz » Sun 04 Aug 2019 12:29 am

    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