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: 12
- Joined: Fri 22 Nov 2013 11:19 am
- Weather Station: WMR-928NX
- Operating System: Win7 SP1
- Location: Germany
- Contact:
Re: Yet Another Dayfile Reader (PHP)
Here I am now in the correct thread.
Hi guys,
I have a problem. I want to convert to the "betel-dayfile history / basic.php ".
Unfortunately, some data are apparently not processed. I do not know what it is. My Webside is http://www.wetter.oiap.de/basic.php
The surface is displayed, only the measurement data is not.
at the
$ dayfile = 'dayfile.txt', is not it, this is set correctly.
Where could still be a mistake?
Thanks for your help.
Hi guys,
I have a problem. I want to convert to the "betel-dayfile history / basic.php ".
Unfortunately, some data are apparently not processed. I do not know what it is. My Webside is http://www.wetter.oiap.de/basic.php
The surface is displayed, only the measurement data is not.
at the
$ dayfile = 'dayfile.txt', is not it, this is set correctly.
Where could still be a mistake?
Thanks for your help.
-
- Posts: 3255
- 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)
I will leave beteljuice to comment but your dayfile.txt format looks very strange at the start of each line.
as compared to mine
You have . instead of / in the date and the normal delimiter of , is a ;
Code: Select all
14.07.10;28,
Code: Select all
14/08/11,5.4,
- mcrossley
- Posts: 12770
- 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)
He just has different separators defined from the UK defaults. List separator = ';' Date separator = '.'
I haven't taken a look at these scripts for a while, but normally the separators are assigned to variables at the top?
I haven't taken a look at these scripts for a while, but normally the separators are assigned to variables at the top?
-
- Posts: 42
- Joined: Fri 23 Mar 2012 3:17 pm
- Weather Station: Davis VP2
- Operating System: Windows 7 x64 Pro
- Location: Vilppula, Finland
Re: Yet Another Dayfile Reader (PHP)
Try:Freidenker77 wrote:Here I am now in the correct thread.
Hi guys,
I have a problem. I want to convert to the "betel-dayfile history / basic.php ".
Unfortunately, some data are apparently not processed. I do not know what it is. My Webside is http://www.wetter.oiap.de/basic.php
The surface is displayed, only the measurement data is not.
at the
$ dayfile = 'dayfile.txt', is not it, this is set correctly.
Where could still be a mistake?
Thanks for your help.
Code: Select all
$field_delimiter = ';';
$date_delimiter = '.';
-
- Posts: 12
- Joined: Fri 22 Nov 2013 11:19 am
- Weather Station: WMR-928NX
- Operating System: Win7 SP1
- Location: Germany
- Contact:
Re: Yet Another Dayfile Reader (PHP)
Hi,
have no idea how this could happen, but it also works with these settings . Here you go for comparison http://www.wetter.oiap.de/wxdatasummary.php
have no idea how this could happen, but it also works with these settings . Here you go for comparison http://www.wetter.oiap.de/wxdatasummary.php
-
- Posts: 12
- Joined: Fri 22 Nov 2013 11:19 am
- Weather Station: WMR-928NX
- Operating System: Win7 SP1
- Location: Germany
- Contact:
Re: Yet Another Dayfile Reader (PHP)
Thank you mikkimii, now it works.mikkimii wrote: Try:
Code: Select all
$field_delimiter = ';'; $date_delimiter = '.';
- 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)
Update
Small error found in 'cs' part of languages file.
Distribution file and languages file updated.
Simple fix:leaf.png should be leaf.gifIf you are using the distribution graphics of course !
Small error found in 'cs' part of languages file.
Distribution file and languages file updated.
Simple fix:
Code: Select all
'season_4' => '<img src="leaf.png" height="22px" alt="podzim" />Podzim', // Zář, Říj, Lis
Code: Select all
'season_4' => '<img src="leaf.gif" height="22px" alt="podzim" />Podzim', // Zář, Říj, Lis
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 18
- Joined: Wed 19 May 2010 5:02 pm
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10
- Location: Nova Paka, Czech Republic, Central Europe
- Contact:
Re: Yet Another Dayfile Reader (PHP)
OK,
sorry, this is a little mistake, I'm using all pictures in png format. I forgot to fix it before sending. Thanks for the warning and please repair it.
Milos
sorry, this is a little mistake, I'm using all pictures in png format. I forgot to fix it before sending. Thanks for the warning and please repair it.
Milos
Milos Jirik, OK5AW
Weather Nova Paka, Czech Rep.
Weather Nova Paka, Czech Rep.
-
- Posts: 166
- Joined: Sun 29 Dec 2013 8:37 am
- Weather Station: WMR88
- Operating System: Windows 7
- Location: Weston-super-Mare
- Contact:
Re: Yet Another Dayfile Reader (PHP)
Finally got around to upgrading to V3 with the Meteo 900 css and looking good
http://www.westonweather.co.uk/daybyday.php
Thanks Beteljuice
http://www.westonweather.co.uk/daybyday.php
Thanks Beteljuice
-
- Posts: 112
- Joined: Tue 26 Jan 2010 8:54 am
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: Vista Home Premium SP2
- Location: Mayenne, Pays De La Loire, France
- Contact:
Re: Yet Another Dayfile Reader (PHP)
I've also installed v3. Thanks so much Beteljuice for taking the time to build this. It's a work of genius.
http://www.lalocherie.com/weather/dailysumm.php
http://www.lalocherie.com/weather/dailysumm.php
- 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)
Haven't seen your site for a long time Helen - nicely done
Although a little too for the beteljuice
For your business you may find it benefical to make the link more prominent and / or duplicated on your gites pages, and set the 'default' display to seasonal ?
You can do this permanently by changing approx. #270:OR simply on-the-fly by adding to the link url:
Once again - nice site - I'll have to come and visit some day
Edit: better explanation put in code
Although a little too for the beteljuice
For your business you may find it benefical to make the link more prominent and / or duplicated on your gites pages, and set the 'default' display to seasonal ?
You can do this permanently by changing approx. #270:
Code: Select all
// which 'table' do we want ?
if (!isset($_REQUEST["pane"])) {
$pane = 0; // default - show 'daily' (change to = 1 for seasonal)
} else {
$pane = $_REQUEST["pane"];
}
Code: Select all
****.php?pane=1
Edit: better explanation put in code
Last edited by beteljuice on Sun 02 Mar 2014 2:55 pm, edited 1 time in total.
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 112
- Joined: Tue 26 Jan 2010 8:54 am
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: Vista Home Premium SP2
- Location: Mayenne, Pays De La Loire, France
- Contact:
Re: Yet Another Dayfile Reader (PHP)
Hi Beteljuice,
thanks for your kind words. It's green as far as the eye can see here so the colour scheme seems appropriate
And thanks for the top tip. I hadn't even noticed that default option. Have now changed it to permanently default to seasonal. And added it to our gite weather links plus our Four Seasons page. Good idea.
Well we couldn't offer you a local with beer here, I'm afraid. But we are considering trying our hand at mead now we keep bees.
thanks for your kind words. It's green as far as the eye can see here so the colour scheme seems appropriate
And thanks for the top tip. I hadn't even noticed that default option. Have now changed it to permanently default to seasonal. And added it to our gite weather links plus our Four Seasons page. Good idea.
Well we couldn't offer you a local with beer here, I'm afraid. But we are considering trying our hand at mead now we keep bees.
- 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)
Yes it is a little bit hidden and not refered to anywhere. I'll have to put a more obvious user variable in for when there is another 'release'.Helen wrote: I hadn't even noticed that default option...
the beteljuice has contacts in Rabastens (Du tarn) who have kept bees, but the (bee) population has been suffering the last few years.
No Pub - the beteljuice is adaptable where alcohol is concerned, but perhaps I may make it a short visit
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 220
- Joined: Tue 07 Feb 2012 9:42 am
- Weather Station: Davis Vantage PRO2
- Operating System: Windows 11 Pro 64 Bit
- Location: Camberley
Re: Yet Another Dayfile Reader (PHP)
thanks beteljuice for all your good work.
Now using V3.
I had the same issue in V2 where right side boarder of the yearly averages at the bottom of the display is displaced slightly.
I am using the 'medium' 750betel_datasummary.css renamed to betel_datasummary.css
Please guide me how to correct it.
Thanks
Now using V3.
I had the same issue in V2 where right side boarder of the yearly averages at the bottom of the display is displaced slightly.
I am using the 'medium' 750betel_datasummary.css renamed to betel_datasummary.css
Please guide me how to correct it.
Thanks
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)
If I 'look' at your site everything seems alright (FF 27.01).Dennisdg wrote:...right side boarder of the yearly averages at the bottom of the display is displaced slightly.
What browser / OS are you seeing that in ?
......................Imagine, what you will KNOW tomorrow !