Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Displaying tabluar data on website

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

Moderator: daj

Post Reply
User avatar
Solorize
Posts: 497
Joined: Tue 01 Feb 2011 8:22 am
Weather Station: WH1081
Operating System: Win 10, XP, Xubuntu, Linux Mint
Location: Wokingham, Berkshire, UK
Contact:

Displaying tabluar data on website

Post by Solorize »

Just wondered if there is a script / code out there that
will display similar information / format (with the highlighted values),
as shown on the following website:

( I think this is generated using WD software, but wondered is
there is somethin similar to this that can be used for Cumulus)

http://www.weathercat.net/wxtempdetail.php

I have managed to cobble together a page using TNET's
"PHP (No Database) Dayfile.txt Parser",
reference: http://cumulus.tnetweather.com/projects/phpdayfile
with my limited knowlegde of PHP and not so limited HTML skills ;)

here:

http://www.mrdphotography.co.uk/weather ... erdata.htm

But what I have got is limited and does not display as fully as the above mentioned
site.
Cumulus Real Time Data Grabber
http://bit.ly/WjBh5z

Wokingham Berkshire - weather station
https://www.wokinghamweather.co.uk

CGM UKScene Radio
http://www.lmp.d2g.com

Image
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Displaying tabluar data on website

Post by steve »

Yours looks very good to me, and I think the only difference (apart from the range of data displayed on each screen) between that and the other one you've linked to is the colour coding for the temperature ranges. I don't particularly like that myself; I find it confusing. But I'm sure it must be a fairly easy step from what you've done (says me without really having a clue :lol:).

I know a few others have also done similar things, some using MySQL and some not, so I'm sure some proper advice will be along shortly.
Steve
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Displaying tabluar data on website

Post by steve »

It looks like the script in your first link was actually written by Kevin, or derived from something originally written by Kevin. It seems to use the NOAA monthly reports that WD produces. I do plan to have Cumulus generate NOAA reports at some point, but it seems to me that most of the data is already in dayfile.txt, so it should be possible to modify the script to use the output from Kevin's parser instead of a NOAA report.
Steve
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: Displaying tabluar data on website

Post by nitrx »

I also use NOAAtemplates for historical data http://www.apeldoorn.tk/weer/wxhistorie.php , I use the month.txt files which are parsed local on my computer (rather complicated) I update only once a day thats why I'm looking forward for NOAA reports by Cumulus ;)
User avatar
Solorize
Posts: 497
Joined: Tue 01 Feb 2011 8:22 am
Weather Station: WH1081
Operating System: Win 10, XP, Xubuntu, Linux Mint
Location: Wokingham, Berkshire, UK
Contact:

Re: Displaying tabluar data on website

Post by Solorize »

Thanks Steve,

If I get some free time over the weekend I may
look into the script and see if I can modify it
to work with the dayfile.txt
Cumulus Real Time Data Grabber
http://bit.ly/WjBh5z

Wokingham Berkshire - weather station
https://www.wokinghamweather.co.uk

CGM UKScene Radio
http://www.lmp.d2g.com

Image
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Displaying tabluar data on website

Post by gemini06720 »

Have you had a look at the original scripts/templates used to produce the resulting page you like - the 'Detail and Summary Files For Temperature, Rain, Wind, Snowfall, Snow Depth, Barometric Pressure, Degree Days, Sunshine Hours, Solar Energy, UV, Dew Point, Wet Bulb' package can be downloaded from the Wildwood Naturist's Resort site... ;)

You might be able to adapt them to the data produced by Cumulus... :)
User avatar
Solorize
Posts: 497
Joined: Tue 01 Feb 2011 8:22 am
Weather Station: WH1081
Operating System: Win 10, XP, Xubuntu, Linux Mint
Location: Wokingham, Berkshire, UK
Contact:

Re: Displaying tabluar data on website

Post by Solorize »

Thanks Gemini06720,

I will have a look and see if I can get it to work. :)
Cumulus Real Time Data Grabber
http://bit.ly/WjBh5z

Wokingham Berkshire - weather station
https://www.wokinghamweather.co.uk

CGM UKScene Radio
http://www.lmp.d2g.com

Image
Post Reply