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

Changing unit values

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
User avatar
whitling2k
Posts: 31
Joined: Thu 22 Jul 2021 8:03 pm
Weather Station: Ecowitt GW1103
Operating System: Raspberry PiOS
Contact:

Changing unit values

Post by whitling2k »

I'm thinking of changing my wind speed units from m/s to mph. I know we're not advised to do this... But I prefer mph, just because!

So, I'm thinking if I change the following, it should all work out OK? Anything I have missed? I'll be testing the theory on a spare MX installation on a separate Pi first of course.

1. Update the web-interface settings to work in mph
2. Immediately stop CumulusMX
3. Edit the dayfile.txt (with care of course..) converting the two wind speed parameters to M/S to MPH (x2.237)
4. Edit the monthly datafiles as above, albeit three fields.
5. Restart CumulusMX to continue logging
6. Update the highs/lows
7. monitor for any inconsistencies.

Steps 3&4 will be done offline with a copy, so it's just a quick replace rather than faffing with CSV files whilst the system is paused.
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Changing unit values

Post by mcrossley »

Sounds OK, but you may also want to edit the various .ini files in the /data folder...
The records files rather than using the editor - possibly simpler? [alltime.ini, month.ini, monthlyalltime.ini, year.ini]

You should also edit the "current data" contained in today.ini and yesterday.ini
User avatar
whitling2k
Posts: 31
Joined: Thu 22 Jul 2021 8:03 pm
Weather Station: Ecowitt GW1103
Operating System: Raspberry PiOS
Contact:

Re: Changing unit values

Post by whitling2k »

Nice one, thanks for the tips :-)
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Changing unit values

Post by mcrossley »

And don't forget your wind run will change from kilometres to miles - you'll want to change all those entries too ;)
Doncaster
Posts: 61
Joined: Tue 21 Oct 2014 10:51 am
Weather Station: WH1080
Operating System: Raspberry PI
Location: Doncaster

Re: Changing unit values

Post by Doncaster »

mcrossley wrote: Thu 02 Dec 2021 1:24 pm Sounds OK, but you may also want to edit the various .ini files in the /data folder...
The records files rather than using the editor - possibly simpler? [alltime.ini, month.ini, monthlyalltime.ini, year.ini]

You should also edit the "current data" contained in today.ini and yesterday.ini
Will data in the *log.txt files need changing too?
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Changing unit values

Post by mcrossley »

Yes, it is used for NOAA reports, and select-a-period graphs.
Post Reply