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
-
- Posts: 3246
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10 64bit
- Location: Burnham-on-Sea
- Contact:
Re: Yet Another Dayfile Reader (PHP)
If you look at the headings Seasonal starts in December so the last group first column is December 2008.
-
- Posts: 17
- Joined: Sat 25 Apr 2015 8:11 am
- Weather Station: XC0348
- Operating System: Jessie
- Location: Newcastle, Australia
- Contact:
Re: Yet Another Dayfile Reader (PHP)
cool, got mine working, however I'm not getting any data for rainfall?
As http://kotaraweather.com/monthlyrecord.htm advises there was 0.08in on the 26 April 2015, but for some reason it's not showing up on the day record, here http://kotaraweather.com/day/basic.php.
Once I work out the rain, I'll see if I can make the colours a little better for Australia lol
Any other software to automatically transfer the dayfile.txt over to ftp? The Cumulus Toolbox keeps crashing some .net error on windows 7
Cheers,
Matt
As http://kotaraweather.com/monthlyrecord.htm advises there was 0.08in on the 26 April 2015, but for some reason it's not showing up on the day record, here http://kotaraweather.com/day/basic.php.
Once I work out the rain, I'll see if I can make the colours a little better for Australia lol
Any other software to automatically transfer the dayfile.txt over to ftp? The Cumulus Toolbox keeps crashing some .net error on windows 7
Cheers,
Matt
- PaulMy
- Posts: 3830
- 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)
Does your dayfile.txt for the 26th show the rainfall?
Paul
I have been using the Toolbox for years initially on Windows 7 and now on 8 and it has been flawless. However, sorry I can't give you any hints of where to look to overcome your issue.Any other software to automatically transfer the dayfile.txt over to ftp? The Cumulus Toolbox keeps crashing some .net error on windows 7
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
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
Re: Yet Another Dayfile Reader (PHP)
https://www.syncovery.com/endfm wrote:Any other software to automatically transfer the dayfile.txt over to ftp? The Cumulus Toolbox keeps crashing some .net error on windows 7
Cheers,
Matt
- 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)
The program (ie. my coding !) assumes that a single 'tip' in a day is an error and ignores itadvises there was 0.08in on the 26 April 2015, but for some reason it's not showing up on the day record,
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 17
- Joined: Sat 25 Apr 2015 8:11 am
- Weather Station: XC0348
- Operating System: Jessie
- Location: Newcastle, Australia
- Contact:
Re: Yet Another Dayfile Reader (PHP)
Thanks for the link Duke! Will give that piece of software a go.
PaulMy, hmm weird, when I search in notepad (file is only 3 days long) I can't seem to find 0.4 or 1.1. Here's the dayfile.txt, http://kotaraweather.com/day/dayfile.txt
Ok, in saying that would it be best entering my own data for rainfall? Not very difficult or is this error an easy fix?
Cheers,
Matt
PaulMy, hmm weird, when I search in notepad (file is only 3 days long) I can't seem to find 0.4 or 1.1. Here's the dayfile.txt, http://kotaraweather.com/day/dayfile.txt
I know I read the entire thread lolbeteljuice wrote:The program (ie. my coding !) assumes that a single 'tip' in a day is an error and ignores it
Ok, in saying that would it be best entering my own data for rainfall? Not very difficult or is this error an easy fix?
Cheers,
Matt
- 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)
What would you enter ????Ok, in saying that would it be best entering my own data for rainfall? Not very difficult or is this error an easy fix?
... again it is not an error, it is a deliberate piece of coding. The philosophy is simply you don't know how much liquid was in the 'spoons' to start with, plus a single 'tip' in a day may be birds . wind or another non rain related event.
Here is one (of many) rain definitions:
// NOAA and Davis say a rain 'event' must be measurable at least every 15 min.
// however: one 'tip' could be an accident or the straw that broke the camels back
......................Imagine, what you will KNOW tomorrow !
- PaulMy
- Posts: 3830
- 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)
That dayfile.txt does contain the 0.8 Rainfall for Apr 26th (field 15 - 26/04/15,35.6,90,13:49,10.5,05:40,17.5,12:37,1007.7,04:54,1016.5,21:15,0.36,01:43,0.08,)
Paul
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
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
-
- Posts: 17
- Joined: Sat 25 Apr 2015 8:11 am
- Weather Station: XC0348
- Operating System: Jessie
- Location: Newcastle, Australia
- Contact:
Re: Yet Another Dayfile Reader (PHP)
I think I understand you, but in all instances probably not. So it only reads rainfall more then 1mm? or.. please excuse my ignorance, actually not to sure what I'd enter now as the data is already there. I've seen on some day reports that people actually have 0.1mm of rain reported for a certain day?beteljuice wrote:What would you enter ????
... again it is not an error, it is a deliberate piece of coding. The philosophy is simply you don't know how much liquid was in the 'spoons' to start with, plus a single 'tip' in a day may be birds . wind or another non rain related event.
Here is one (of many) rain definitions:
// NOAA and Davis say a rain 'event' must be measurable at least every 15 min.
// however: one 'tip' could be an accident or the straw that broke the camels back
Yes Paul, thankyou. I can see that now, just getting an excel doc with the right headings so i know what I'm looking at.
Cheers, great work beteljuice
- 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)
Actually if that value is In it should be displaying that value ....
BUT .....
You have set your 'base' reference to mm - is this correct ?
Code: Select all
function DoRain($value, $to){ // convert rain units
global $displayUOM, $uom, $decimals;
if($displayUOM['rain'] == 'mm'){
$rain_dec = 1;
if($value < 0.2) $value = 0; // 1 tip regarded as error
} else {
$rain_dec = 2;
if($value < 0.05) $value = 0; // 1 tip regarded as error
}
$decimals = $rain_dec;
if(!$to) $to = $displayUOM['rain'];
if($uom['rain'] == "in" && $to == "mm"){ // in => mm
return number_format(($value * 25.4), $rain_dec, '.' , '');
} elseif($uom['rain'] == "mm" && $to == "in"){ // mm => in
return number_format(($value / 25.4), $rain_dec, '.' , '');
} else { // no change
return number_format((float)$value, $rain_dec, '.' , '');
}
} // END function DoRain()
You have set your 'base' reference to mm - is this correct ?
Code: Select all
$uom = array(
'temp' => (isset($SITE['uomTemp']) ? substr($SITE['uomTemp'], -1) : 'C'),
'rain' => (isset($SITE['uomRain']) ? substr($SITE['uomRain'], 1) : 'mm'),
'wind' => (isset($SITE['uomWind']) ? substr($SITE['uomWind'], 1) : 'km/h'),
'baro' => (isset($SITE['uomBaro']) ? substr($SITE['uomBaro'], 1) : 'hPa')
);
......................Imagine, what you will KNOW tomorrow !
- PaulMy
- Posts: 3830
- 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)
The easiest is using the built-in Cumulus Dayfile editor.Yes Paul, thankyou. I can see that now, just getting an excel doc with the right headings so i know what I'm looking at.
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
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
-
- Posts: 17
- Joined: Sat 25 Apr 2015 8:11 am
- Weather Station: XC0348
- Operating System: Jessie
- Location: Newcastle, Australia
- Contact:
Re: Yet Another Dayfile Reader (PHP)
beteljuice, sorry for the delay. Yes that is correct
just wondering also *Incomplete dataset, my data has * right down the bottom? http://kotaraweather.com/day/basic.php
cheers
just wondering also *Incomplete dataset, my data has * right down the bottom? http://kotaraweather.com/day/basic.php
cheers
- 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)
Er ... That's because April and May do NOT have data for every day of those months.just wondering also *Incomplete dataset, ...
So you are given the * advisory by figures which will not be 'true' (because of missing data)
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 86
- Joined: Thu 10 Nov 2011 8:14 pm
- Weather Station: VP2+SHT31+DFars+Solar+AeroCone
- Operating System: Windows 10
- Location: Hemel Hempstead, Hertfordshire, UK
Re: Yet Another Dayfile Reader (PHP)
Very impressed with Yet Another Dayfile Reader (PHP), which I’ve been running since Mid-January 2015. However I have noticed a couple of issues.
Firstly In daily sunshine values greater than 10 hours do not show in High for the month - see below
However in seasonal view values over 10 hrs are shown - see below
Secondly the solar hours and ET are not excluding months with zero data and therefor skew the average – see below
However with solar w/m2 they are excluded and not affecting the average – see below
Finally I am using the code alteration as per BJCKiwi post of 17 December 2014 to show for example 1.0 not 1; though this only works for daily data not totals. Not sure if using this alteration is the cause of the first issue
Colin
Firstly In daily sunshine values greater than 10 hours do not show in High for the month - see below
However in seasonal view values over 10 hrs are shown - see below
Secondly the solar hours and ET are not excluding months with zero data and therefor skew the average – see below
However with solar w/m2 they are excluded and not affecting the average – see below
Finally I am using the code alteration as per BJCKiwi post of 17 December 2014 to show for example 1.0 not 1; though this only works for daily data not totals. Not sure if using this alteration is the cause of the first issue
Colin
You do not have the required permissions to view the files attached to this post.
-
- Posts: 1255
- 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)
Just checked the Daily sunshine and do not appear to have the issues you report.
Not yet checked Solar and ET.
Not yet checked Solar and ET.