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

4063 - Solar chart missing

From Cumulus MX version 3 build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since, and has recently released Cumulus MX version 4. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Ulric2
Posts: 47
Joined: Mon 21 Feb 2022 11:30 am
Weather Station: FineOffset
Operating System: Ubuntu 22.04

4063 - Solar chart missing

Post by Ulric2 »

After installing 4063 (over 4043) on Ubuntu, the Recent Solar chart does not work - just says "Loading" but never loads. It worked just fine in 4043.

On the bright side, the .ini file survived!
broadstairs
Posts: 1184
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW2000/GW3000
Operating System: Linux openSUSE LEAP
Location: Broadstairs, Kent, UK
Contact:

Re: 4063 - Solar chart missing

Post by broadstairs »

I just checked mine and it opened fine, do all the other charts open OK? Any errors in log file?

Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
Ulric2
Posts: 47
Joined: Mon 21 Feb 2022 11:30 am
Weather Station: FineOffset
Operating System: Ubuntu 22.04

Re: 4063 - Solar chart missing

Post by Ulric2 »

I have investigated and I think I've found the reason.
I have no instruments connected for solar or UV because radio interference I receive disrupts the readings. I analyse this interference though, for other reasons. It seems that 4063 places NULL in the CumulusMX.db file in these fields where 4043 put 0. I guess a NULL in the column stops the chart from working.

The simple answer is that I need 0 rather than NULL in these columns. How can I achieve that?
broadstairs
Posts: 1184
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW2000/GW3000
Operating System: Linux openSUSE LEAP
Location: Broadstairs, Kent, UK
Contact:

Re: 4063 - Solar chart missing

Post by broadstairs »

If you have no solar sensor available why not turn off all solar in Settings/display options? That way the graph should not show. Why do you need zeros in the data?

Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
Ulric2
Posts: 47
Joined: Mon 21 Feb 2022 11:30 am
Weather Station: FineOffset
Operating System: Ubuntu 22.04

Re: 4063 - Solar chart missing

Post by Ulric2 »

Confirmed. Updating the recent data table to coalesce the nulls to zero fixes the problem and the chart displays normally. As soon as cumulus writes a NULL to the table (every minute) the chart breaks.
Ulric2
Posts: 47
Joined: Mon 21 Feb 2022 11:30 am
Weather Station: FineOffset
Operating System: Ubuntu 22.04

Re: 4063 - Solar chart missing

Post by Ulric2 »

broadstairs wrote: Thu 05 Dec 2024 4:58 pm If you have no solar sensor available why not turn off all solar in Settings/display options? That way the graph should not show. Why do you need zeros in the data?

Stuart
Solar signals caused by radio interference are received sporadically. They do not depend on the presence of the instrument. I need these signals displayed on the chart. If there is a NULL anywhere in the data, the chart never loads. Could the query that drives the chart just do COALESCE(SolarRad,0) SolarRad, COALESCE(UV,0.0) UV ? That would fix it immediately.
broadstairs
Posts: 1184
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW2000/GW3000
Operating System: Linux openSUSE LEAP
Location: Broadstairs, Kent, UK
Contact:

Re: 4063 - Solar chart missing

Post by broadstairs »

I am confused, if you have no solar sensor how does CMX receive this data and know how to save it?

Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: 4063 - Solar chart missing

Post by mcrossley »

Simple answer you cannot. MX is moving towards using null values for data that is "missing".

But I can fix the code that generates the graph files - fixed for version 4.3.1
Ulric2
Posts: 47
Joined: Mon 21 Feb 2022 11:30 am
Weather Station: FineOffset
Operating System: Ubuntu 22.04

Re: 4063 - Solar chart missing

Post by Ulric2 »

broadstairs wrote: Thu 05 Dec 2024 5:14 pm I am confused, if you have no solar sensor how does CMX receive this data and know how to save it?

Stuart

It is radio interference which affects the base station. Essentially, the base station receives a spurious signal (generally SolarRad = 1662, UV = 2) from an illegal device being operated in the vicinity. It appears as spikes in the Solar and UV data. The timings of these spikes are essential to another project of mine and the solar chart in MX is the easiest and best way to view them!
Ulric2
Posts: 47
Joined: Mon 21 Feb 2022 11:30 am
Weather Station: FineOffset
Operating System: Ubuntu 22.04

Re: 4063 - Solar chart missing

Post by Ulric2 »

mcrossley wrote: Thu 05 Dec 2024 5:26 pm Simple answer you cannot. MX is moving towards using null values for data that is "missing".

But I can fix the code that generates the graph files - fixed for version 4.3.1
Thank you! That is good news.
Could it be that the problem will also exist in the Daily Solar Chart?

A horrible thought crosses my mind. Will cumulus now ignore SolarRad and UV if the sensors are not detected at startup? That could be a problem.
Ulric2
Posts: 47
Joined: Mon 21 Feb 2022 11:30 am
Weather Station: FineOffset
Operating System: Ubuntu 22.04

Re: 4063 - Solar chart missing

Post by Ulric2 »

Also seems to have stopped the Solar and UV traces at Wunderground dead in their tracks.

https://www.wunderground.com/dashboard/pws/IBALDO9

If you examine historic months there, you will see the signals I'm trying to record and track.
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: 4063 - Solar chart missing

Post by mcrossley »

Ulric2 wrote: Thu 05 Dec 2024 5:34 pm A horrible thought crosses my mind. Will cumulus now ignore SolarRad and UV if the sensors are not detected at startup? That could be a problem.
No, it will just record null values until some data is received.
Ulric2
Posts: 47
Joined: Mon 21 Feb 2022 11:30 am
Weather Station: FineOffset
Operating System: Ubuntu 22.04

Re: 4063 - Solar chart missing

Post by Ulric2 »

mcrossley wrote: Thu 05 Dec 2024 5:54 pm No, it will just record null values until some data is received.
Also good news. For the moment, I have coalesced the values when they are transferred up to my SQL Server so no problems there.

I look forward to the return of the graphs in 4.3.1 .
Ulric2
Posts: 47
Joined: Mon 21 Feb 2022 11:30 am
Weather Station: FineOffset
Operating System: Ubuntu 22.04

Re: 4063 - Solar chart missing

Post by Ulric2 »

Another thought - I assume you're not writing NULLs to the Dayfiles?

EDIT: Yes, MX is writing an empty string "" to the DayFile where previous versions wrote "0". This caused one of my Python scripts to fail but it was an easy fix.
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: 4063 - Solar chart missing

Post by mcrossley »

Going forward more data values will start support null. The present system of using zero for missing data is not optimal.
Post Reply