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

Monthly Records - Spot the additions... And New Wind Rose

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

Moderator: daj

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

Re: Monthly Records - Spot the additions... And New Wind Ros

Post by mcrossley »

I spotted a flaw in my wind rose, as it was reading from the full monthly data table, the two queries 'last 24 hours' (especially) and 'last 48 hours' were not very reflective of reality. Why because I only update the full log table once a day at midnight. :groan:

I have changed those two queries so that they now use the realtime table instead.
User avatar
BeaumarisWX
Posts: 375
Joined: Mon 09 Apr 2012 2:38 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 Pro Hades Canyon
Location: Beaumaris, Tasmania, AU
Contact:

Re: Monthly Records - Spot the additions... And New Wind Ros

Post by BeaumarisWX »

Hi Mark,

Yet another awesome piece of Wilmslow Wizardry;

Had a play, very nice been wishing for that for a long time. Only have one issue (not found cause as yet) Can't get 30 Day to display !

a few examples with Themes added;
http://hrvistaweather.com/windrose.php
http://hrvistaweather.com/windrose1.php
http://hrvistaweather.com/windrose2.php

The records_Monthly looks brilliant, had a real brief look but could not figure that one out. :?

Thanks again,
Tony Beaumaris, Tasmania (AUS)

CMX Mobile : https://beaumaris-weather.com/BWX/
CMX Default: https://beaumaris-weather.com/cumulusmx_default/
Colour Dashboard : https://beaumaris-weather.com/dashborad_color.php
Click below for Saratoga Template :
Image
User avatar
mcrossley
Posts: 12766
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Monthly Records - Spot the additions... And New Wind Ros

Post by mcrossley »

Hmm, is there any data in your Monthly table for the last 30 days?
User avatar
BeaumarisWX
Posts: 375
Joined: Mon 09 Apr 2012 2:38 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 Pro Hades Canyon
Location: Beaumaris, Tasmania, AU
Contact:

Re: Monthly Records - Spot the additions... And New Wind Ros

Post by BeaumarisWX »

Hi Mark,

As usual you hit the nail on the head.

I still have not automated the transfer of Monthly files to Server, bummer missed last month.

All fixed, again thank you.
regards,
Tony Beaumaris, Tasmania (AUS)

CMX Mobile : https://beaumaris-weather.com/BWX/
CMX Default: https://beaumaris-weather.com/cumulusmx_default/
Colour Dashboard : https://beaumaris-weather.com/dashborad_color.php
Click below for Saratoga Template :
Image
User avatar
mcrossley
Posts: 12766
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Monthly Records - Spot the additions... And New Wind Ros

Post by mcrossley »

Has anybody else implemented the wind rose?

I have updated the SQL code again to better reflect the short term queries (24 & 48 hours).
User avatar
laulau
Posts: 678
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Monthly Records - Spot the additions... And New Wind Ros

Post by laulau »

Yes
Here http://meteo.laurentmey.fr/php/windrose.php

I'll have a look your improvement asap!

Thanks
Laurent

Image
User avatar
N0BGS
Posts: 205
Joined: Sat 10 Nov 2012 2:26 am
Weather Station: Davis Vantage Pro 2
Operating System: Win10vm,VMWare ESXi 7.0
Location: Hermon, Maine USA
Contact:

Re: Monthly Records - Spot the additions... And New Wind Ros

Post by N0BGS »

Nice work, Mark.

I was trying to see how you implemented the PHP code but your site banned me!
Apparently I am some kind of 3L337 H@><0R! :o

--Kurt
Blitzortung Station 1809
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: Monthly Records - Spot the additions... And New Wind Ros

Post by gwheelo »

Any chance you might share the sql/php for the nifty 'Wind Rose.'

gwheelo
Image
User avatar
mcrossley
Posts: 12766
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Monthly Records - Spot the additions... And New Wind Ros

Post by mcrossley »

The usual ?view=src on the get wind rose data PHP should do it ;)
User avatar
laulau
Posts: 678
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Monthly Records - Spot the additions... And New Wind Ros

Post by laulau »

:idea: http://weather.wilmslowastro.com/windro ... p?view=sce
;)

EDIT : Hi Mark you're typing faster than me
Laurent

Image
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: Monthly Records - Spot the additions... And New Wind Ros

Post by gwheelo »

Shazammmm - he replies faster than a speeding bullit! :lol: :lol: :lol:

gwheelo
Image
User avatar
mcrossley
Posts: 12766
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Monthly Records - Spot the additions... And New Wind Ros

Post by mcrossley »

It's only MIC on the TV at mo. The wife's choice. Thank android for smart phones. :lol:
water01
Posts: 3253
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Monthly Records - Spot the additions... And New Wind Ros

Post by water01 »

Mark am I right in thinking that this windrose requires MySQL tables for dayfile, months and storing realtime data in a table instead of an uploaded every minute reatime.log?
David
Image
User avatar
mcrossley
Posts: 12766
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Monthly Records - Spot the additions... And New Wind Ros

Post by mcrossley »

If you want the last 24/48 hours options yes it needs the realtime table - unless you rewrite those SQL queries to fetch from a realtime log file instead.

All the rest of the data is read from the full log data table, the day data table is not used, it does not have the resolution required for this presentation.
water01
Posts: 3253
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Monthly Records - Spot the additions... And New Wind Ros

Post by water01 »

And by the
full log data table
do you mean all the monthly data files imported into one table?
David
Image
Post Reply