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

RStransfactor

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. 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

Post Reply
watsonm
Posts: 209
Joined: Sun 03 Jan 2016 3:39 pm
Weather Station: N96GY -but like Triggers Broom!!
Operating System: Raspberry Pi4 Vers:11 Bullseye
Location: Poundbury, Dorset

RStransfactor

Post by watsonm »

Mark,
With the introduction of the new RStransfactors :

RStransfactorJul=0.8
RStransfactorDec=0.8
BrasTurbidityJul=2.0
BrasTurbidityDec=2.0

Is the idea that:

July setting stretches from begining/end July to begining/end December and
December setting for begin/end December to begin/end July ??

which would make todays (April) setting RStransfactorDec

or

July setting is for begin/end december up to Begin/end July
Decemebr setting is for begin/end Jul up to begin/end December

which would make todays setting RStransfactorJul

did a scan of the WIki and forum as well as a quick scan of code but came up with nothing.

:?
Regards Mike
Image
Raspberry Pi 4 Bullseye
Directly connected : BMP388 pressure sensor. DHT22 For internal Humidity/temp Sensor. PMS5003 Particle Sensor
Wireless connected: 3 (WS2083)Temp TXr's, WH57 Lightning Sensor, FO Solar sensor
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: RStransfactor

Post by mcrossley »

MX does a sinusoidal interpolation between the two values. So the factor changes very little either side of the solstices, with the maximum rate of change at the equinoxes.

(So actually more like a cosine interpolation!)
watsonm
Posts: 209
Joined: Sun 03 Jan 2016 3:39 pm
Weather Station: N96GY -but like Triggers Broom!!
Operating System: Raspberry Pi4 Vers:11 Bullseye
Location: Poundbury, Dorset

Re: RStransfactor

Post by watsonm »

Thanks Mark...

After I posted I thought I had discovered a test to work it out myself but could not really prove it.

May have another go tomorrow. :groan:
Regards Mike
Image
Raspberry Pi 4 Bullseye
Directly connected : BMP388 pressure sensor. DHT22 For internal Humidity/temp Sensor. PMS5003 Particle Sensor
Wireless connected: 3 (WS2083)Temp TXr's, WH57 Lightning Sensor, FO Solar sensor
watsonm
Posts: 209
Joined: Sun 03 Jan 2016 3:39 pm
Weather Station: N96GY -but like Triggers Broom!!
Operating System: Raspberry Pi4 Vers:11 Bullseye
Location: Poundbury, Dorset

Re: RStransfactor

Post by watsonm »

My test this morning with a clearer head showed me that RStransfactorJul seems to refer to the first part of the year.
Regards Mike
Image
Raspberry Pi 4 Bullseye
Directly connected : BMP388 pressure sensor. DHT22 For internal Humidity/temp Sensor. PMS5003 Particle Sensor
Wireless connected: 3 (WS2083)Temp TXr's, WH57 Lightning Sensor, FO Solar sensor
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: RStransfactor

Post by sfws »

Mark -
The solstice is always in June, never July, (this year 21 June) so the factor you label as July is perhaps mislabelled on station settings --> Solar, with that correction the 2 factors will be correctly six-months apart, and your cosine variation will be equally balanced.
watsonm wrote: Tue 26 Apr 2022 8:02 am My test this morning with a clearer head showed me that RStransfactorJul seems to refer to the first part of the year.
Mike -
Are you misunderstanding Mark? Can I try a less technical way of explaining what his earlier post told you?
The factor you mention applies both before and after the June solstice, as you get closer to the two equinoxes, the December factor has more and more of an influence.
Equally, the December factor applies before and after the solstice in that month, but again as you get closer to either equinox, the first factor has more and more of an influence.
watsonm wrote: Mon 25 Apr 2022 5:44 pm did a scan of the WIki
The technical terminology is now found here.
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: RStransfactor

Post by mcrossley »

sfws wrote: Tue 26 Apr 2022 8:45 am Mark -
The solstice is always in June, never July, (this year 21 June) so the factor you label as July is perhaps mislabelled on station settings --> Solar, with that correction the 2 factors will be correctly six-months apart, and your cosine variation will be equally balanced.
Opps! - The calculation does use June though!

And to the OP, the factor will be exactly half way between the two values at the equinoxes.
watsonm
Posts: 209
Joined: Sun 03 Jan 2016 3:39 pm
Weather Station: N96GY -but like Triggers Broom!!
Operating System: Raspberry Pi4 Vers:11 Bullseye
Location: Poundbury, Dorset

Re: RStransfactor

Post by watsonm »

Thanks Guys for the further explanation.
Regards Mike
Image
Raspberry Pi 4 Bullseye
Directly connected : BMP388 pressure sensor. DHT22 For internal Humidity/temp Sensor. PMS5003 Particle Sensor
Wireless connected: 3 (WS2083)Temp TXr's, WH57 Lightning Sensor, FO Solar sensor
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: RStransfactor

Post by sfws »

mcrossley wrote: Tue 26 Apr 2022 12:19 pm Opps! - The calculation does use June though!
Before you announce you have released 3.16 zip, (as I see you did the final commit yesterday*), please make it clear whether that fix involves an update to just the text in the settings screen, or whether it also involves the replacement of the line in Cumulus.ini

Code: Select all

[Solar]
RStransfactorJul=0.80000000000000004
If there is a replacement (because I have not checked your relevant code) by a more correctly named parameter, people need to know that file needs an update when they install the new release.

(It also helps anyone who is willing to keep the Wiki up to date, because other changes in this release implies there are lots of updates needed to Wiki - any volunteers?)

*EDIT : I see you did another edit about an hour after I posted this, but it was re High Gust alarm, not this.
Just to clarify, I was suggesting you make it clear in "release announcement", but by all means do another edit of "update text" if you think that is needed.
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: RStransfactor

Post by mcrossley »

No action is needed by the users.
Post Reply