Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.0 (build 4022) - 11 May 2024
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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 V4 release 4.0.0 (build 4022) - 11 May 2024
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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
-
- Posts: 1183
- Joined: Fri 27 Jul 2012 11:29 am
- Weather Station: Chas O, Maplin N96FY, N25FR
- Operating System: rPi 3B+ with Buster (full)
Re: Yet Another Dayfile Reader (PHP)
Again a read of the Cumulus documentation about wind measurement (one of few places in Wiki where Davis stations are mentioned) and file field description with links to further documentation can answer lots of your questions.
- Paul C
- Posts: 538
- Joined: Thu 19 Jun 2008 7:45 am
- Weather Station: Davis VP2 with solar
- Operating System: Windows 10
- Location: Brampton, Cumbria, UK
- Contact:
Re: Yet Another Dayfile Reader (PHP)
HI
I am not sure who the last reply was from but to start the message " again" wasnt helpful and uncalled for. I had always found this forum to be very helpful.
Anyway - I had tried to read the help pages and wiki, but I was still unable to grasp what is happening
The day file does include the high gust of 54knots yesterday morning. What I am failing to understand is why its not showing in the output to my pages. Its there in my other page summaries/records but not my year one .
http://www.bramptonweather.co.uk/yadr.php
Does my page need to be altered in some way ? anyone else noticed an issue
Thankyou
I am not sure who the last reply was from but to start the message " again" wasnt helpful and uncalled for. I had always found this forum to be very helpful.
Anyway - I had tried to read the help pages and wiki, but I was still unable to grasp what is happening
The day file does include the high gust of 54knots yesterday morning. What I am failing to understand is why its not showing in the output to my pages. Its there in my other page summaries/records but not my year one .
http://www.bramptonweather.co.uk/yadr.php
Does my page need to be altered in some way ? anyone else noticed an issue
Thankyou
-
- Posts: 1830
- 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)
Your page shows '54' which is what is in your Dayfile. So, if you want it showing as knots instead of km/hPaul C wrote: ↑Sun 30 Jan 2022 1:27 pm HI
I am not sure who the last reply was from but to start the message " again" wasnt helpful and uncalled for. I had always found this forum to be very helpful.
Anyway - I had tried to read the help pages and wiki, but I was still unable to grasp what is happening
The day file does include the high gust of 54knots yesterday morning. What I am failing to understand is why its not showing in the output to my pages. Its there in my other page summaries/records but not my year one .
http://www.bramptonweather.co.uk/yadr.php
Does my page need to be altered in some way ? anyone else noticed an issue
Thankyou
Go in to the betel dayfile.php and look for:
Code: Select all
'wind' => (isset($SITE['uomWind']) ? substr($SITE['uomWind'], 1) : 'km/h'),
Code: Select all
'wind' => (isset($SITE['uomWind']) ? substr($SITE['uomWind'], 1) : 'kts'),
You do not have the required permissions to view the files attached to this post.
- Paul C
- Posts: 538
- Joined: Thu 19 Jun 2008 7:45 am
- Weather Station: Davis VP2 with solar
- Operating System: Windows 10
- Location: Brampton, Cumbria, UK
- Contact:
Re: Yet Another Dayfile Reader (PHP)
Thats great, working fine now
( I had assumed (wrongly) that as I record in knots and upload in knots it was reading it OK and converting it on the page, but of course it has to know what you are using to start with)
easy
Appreciate the help !!
( I had assumed (wrongly) that as I record in knots and upload in knots it was reading it OK and converting it on the page, but of course it has to know what you are using to start with)
easy
Appreciate the help !!
-
- Posts: 202
- Joined: Fri 04 Dec 2020 4:35 pm
- Weather Station: Davis VP2 (Cabled)
- Operating System: RPi 4 (Bookworm)
- Contact:
Re: Yet Another Dayfile Reader (PHP)
With my limited knowledge of all things coding wise, I managed to get this running following the instructions in this thread.
However I had an issue with Wind Direction. There were several entries blank in odd months in my records which I am manually adding.
It's taken me some time to fathom it.
My orginal Davis Weather Monitor 2 recorded true North as 0 degrees which is read as a null value by the Betel_Dayfile Reader.
Weatherlink happily recorded 0 degrees as North, 359 degrees as North, and 1 degree as North ( the nearest wind direction).
However the Betel_Dayfile Reader sees this 0 degrees as a null value, but not the 359 and 1 degree as these are valid, and correctly show as North.
So the errors are limied to those very odd occasions where the wind was recorded as true North i.e. 0 degrees.
When I look at the original Monitor 2 Consol manual (P11) which identifies North as 0 degrees, whereas the Vantage Pro 2 Consol manual (p21) shows North as 360 degrees.
Just need to work out if there's an easy way to amend the Betel_Dayfile Reader.
Thought it worthy of note, and to see if theres an easy fix.
Martyn
However I had an issue with Wind Direction. There were several entries blank in odd months in my records which I am manually adding.
It's taken me some time to fathom it.
My orginal Davis Weather Monitor 2 recorded true North as 0 degrees which is read as a null value by the Betel_Dayfile Reader.
Weatherlink happily recorded 0 degrees as North, 359 degrees as North, and 1 degree as North ( the nearest wind direction).
However the Betel_Dayfile Reader sees this 0 degrees as a null value, but not the 359 and 1 degree as these are valid, and correctly show as North.
So the errors are limied to those very odd occasions where the wind was recorded as true North i.e. 0 degrees.
When I look at the original Monitor 2 Consol manual (P11) which identifies North as 0 degrees, whereas the Vantage Pro 2 Consol manual (p21) shows North as 360 degrees.
Just need to work out if there's an easy way to amend the Betel_Dayfile Reader.
Thought it worthy of note, and to see if theres an easy fix.
Martyn
-
- Posts: 2493
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Yet Another Dayfile Reader (PHP)
It might be more accurate to amend your data files to change any 0 directions to 360, as 0 as a direction isn't valid.
-
- Posts: 202
- Joined: Fri 04 Dec 2020 4:35 pm
- Weather Station: Davis VP2 (Cabled)
- Operating System: RPi 4 (Bookworm)
- Contact:
Re: Yet Another Dayfile Reader (PHP)
It only takes one 15 minute value in Weatherlink to read 0 degrees and the whole dayfile reads 0. Even if the average wind direction lies elsewhere.
What I have been doing is generating a NOAA report in Cumulus which shows the direction and then manually editing the dayfile with the equivalent value in degrees.
I have records back to 2000, 20 years of the Weather Monitor2. So I have 240 months where 0 degrees was seen as North. So a few potential records to edit.
Thanks
Martyn
What I have been doing is generating a NOAA report in Cumulus which shows the direction and then manually editing the dayfile with the equivalent value in degrees.
I have records back to 2000, 20 years of the Weather Monitor2. So I have 240 months where 0 degrees was seen as North. So a few potential records to edit.
Thanks
Martyn
-
- Posts: 57
- Joined: Mon 11 Apr 2016 12:39 pm
- Weather Station: Ecowitt hp2551
- Operating System: Windows 10
- Location: Finland
Re: Yet Another Dayfile Reader (PHP)
There is problem with UV. If UV data is zero, then there is blank spot where data should be. If UV is 1.0 or higher everything is fine.
-
- Posts: 3396
- Joined: Wed 06 May 2009 6:29 pm
- Weather Station: Davis VP2 with Daytime FARS
- Operating System: Windows XP SP3
- Location: Cheadle Hulme, Cheshire, England
- Contact:
Re: Yet Another Dayfile Reader (PHP)
My data in the dayfile reader is perfect with one exception which I’ve tried to solve but have failed.
Use this link http://www.cheadlehulmeweather.co.uk/be ... ummary.php
and select Rainfall. Then select Seasonal in the drop down.
Look at Autumn 2023. The monthly rainfall for September, October and November is 3.39, 5.70 and 1.54.
That adds up to 10.63 but 11.63 is displayed. All the other totals are fine. It’s just the current season where it adds 1 inch.
Use this link http://www.cheadlehulmeweather.co.uk/be ... ummary.php
and select Rainfall. Then select Seasonal in the drop down.
Look at Autumn 2023. The monthly rainfall for September, October and November is 3.39, 5.70 and 1.54.
That adds up to 10.63 but 11.63 is displayed. All the other totals are fine. It’s just the current season where it adds 1 inch.
- PaulMy
- Posts: 3870
- 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)
@ Mrc, in the version I am using it displays 0.0 when the High UV-1 is 0.
@ Ray, in my version it sums and displays correctly.
http://www.komokaweather.com/cumulusmxw ... hp?lang=en
Enjoy,
Paul
@ Ray, in my version it sums and displays correctly.
http://www.komokaweather.com/cumulusmxw ... hp?lang=en
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: 3396
- Joined: Wed 06 May 2009 6:29 pm
- Weather Station: Davis VP2 with Daytime FARS
- Operating System: Windows XP SP3
- Location: Cheadle Hulme, Cheshire, England
- Contact:
Re: Yet Another Dayfile Reader (PHP)
@ Ray, in my version it sums and displays correctly.
But I haven’t really changed anything. Just my location I think. Can you isolate the segment of code for that option and I’ll compare it to mine.
But I haven’t really changed anything. Just my location I think. Can you isolate the segment of code for that option and I’ll compare it to mine.
- PaulMy
- Posts: 3870
- 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)
Hi Ray,
I've looked in betel_datasummary.php but really have no idea where/what to look for. If you know where it is in your file maybe that will help me find something similar,
Enjoy,
Paul
I've looked in betel_datasummary.php but really have no idea where/what to look for. If you know where it is in your file maybe that will help me find something similar,
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: 1830
- 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)
After reading about the rainfall issue in the seasonal drop down, I feel like I remember seeing this discussed in this thread (or a different one) and beteljuice fixed it?! My brain isn't what it used to be, so I could be wrong..
-
- Posts: 3396
- Joined: Wed 06 May 2009 6:29 pm
- Weather Station: Davis VP2 with Daytime FARS
- Operating System: Windows XP SP3
- Location: Cheadle Hulme, Cheshire, England
- Contact:
Re: Yet Another Dayfile Reader (PHP)
Paul / Mapantz, I’ll have a look at the code and see if I can find the section of code. I’m no expert on this language.
I was a late adaptor of this brilliant addon but don’t recall Beteljuice discussing the problem.
I was a late adaptor of this brilliant addon but don’t recall Beteljuice discussing the problem.
- HansR
- Posts: 5995
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Yet Another Dayfile Reader (PHP)
There must be some PHP knowledgeable user in the community willing to adopt this orphaned heritage?
The maintenance effort does not seem huge.
The maintenance effort does not seem huge.
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3