Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.9.5 (build 3100) - 14 January 2021 (please see announcement regarding releases since 3.5.0)
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of the NOAA report and Snow Index drop-down menus to 2030)

Use this Wiki link to Download the Software (Cumulus MX / Cumulus 1 and other related items).

Decimal separator

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
Tigro11
Posts: 26
Joined: Thu 14 Nov 2019 5:41 pm
Weather Station: Davis
Operating System: Windows Seven

Decimal separator

Post by Tigro11 »

hi guys, I would like the noaa to have the point as decimal separator as in the realtime.txt file.
If I change the properties of windows as a separator symbol I put a period, when I go to regenerate the noaa I don't see anything.
Maybe there is an entry where you can enter the type of separator symbol to use.
Thanks
Valerio

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

Re: Decimal separator

Post by mcrossley »

The NOAA reports take whatever decimal separator that your locale uses, that cannot be changed.

You cannot just switch locale and run Cumulus MX again, you would have to edit all your data files and change the decimal separator and list separator in those as well.

Tigro11
Posts: 26
Joined: Thu 14 Nov 2019 5:41 pm
Weather Station: Davis
Operating System: Windows Seven

Re: Decimal separator

Post by Tigro11 »

ok, but I don't understand why on realtime.txt it uses the point while on noaa it uses the comma

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

Re: Decimal separator

Post by mcrossley »

Realtime.txt is designed to be read by computers so always uses a dot decimal, the NOAA reports are designed to be read by humans so use your locale separator.

Tigro11
Posts: 26
Joined: Thu 14 Nov 2019 5:41 pm
Weather Station: Davis
Operating System: Windows Seven

Re: Decimal separator

Post by Tigro11 »

however I don't understand why both graphweather and WeatherLink save the file noaa with the dot as a separator without changing the windows settings.
if on windows I change the decimal separator then with other programs it is very confusing.
If possible maybe with future updates, have the possibility to insert the period as a separator without touching the windows settings.

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

Re: Decimal separator

Post by mcrossley »

I can put that on the todo list.

Tigro11
Posts: 26
Joined: Thu 14 Nov 2019 5:41 pm
Weather Station: Davis
Operating System: Windows Seven

Re: Decimal separator

Post by Tigro11 »

perfect, where can I find the link to enter the request?

Thanks
Valerio

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

Re: Decimal separator

Post by mcrossley »

You already have! ;)

Tigro11
Posts: 26
Joined: Thu 14 Nov 2019 5:41 pm
Weather Station: Davis
Operating System: Windows Seven

Re: Decimal separator

Post by Tigro11 »

thank you for including the possibility to set the point on NOAA reports,
I notice however that the monthly part doesn't work well.
I am attaching the report


Name: Carlinometeo City: Carlino State: Italia
Elevation: 10 m Lat: N 45° 46' 16" Lon: E 013° 09' 58"

Temperature (°C), Rain (mm), Wind Speed (km/h)

Heat Cool Avg
Mean Deg Deg Wind Dom
Day Temp High Time Low Time Days Days Rain Speed High Time Dir
----------------------------------------------------------------------------------
01 5.8 8.1 13:54 3,2 01:18 12.5 0.0 4,2 5.3 20.9 16:33 N
02 7.0 7.8 06:15 6,3 00:38 11.3 0.0 35,2 13.0 38.6 11:50 N
03 7.7 11.7 12:05 4,8 23:48 10.6 0.0 0,4 5.6 27.4 00:18 NE
04 5.5 7.8 14:51 3,9 04:48 12.8 0.0 0,6 3.6 22.5 10:06 NNE
05 5.9 8.1 13:43 4,4 00:00 12.4 0.0 2,6 4.5 22.5 18:18 NNE
06 4.9 6.7 11:56 1,8 23:33 13.3 0.0 4,0 4.0 20.9 02:29 NNW
07 3.4 7.8 13:50 1,7 04:20 14.8 0.0 0,0 3.4 17.7 14:42 WNW
08 3.6 8.7 13:56 0,8 22:34 14.7 0.0 0,2 6.5 24.1 15:09 N
09 3.0 6.6 12:27 -0,1 05:06 15.3 0.0 0,0 7.5 29.0 15:09 NNE
10 3.6 5.2 12:36 1,3 22:12 14.7 0.0 0,0 9.2 43.5 09:50 NNE
11 3.2 5.9 15:01 -0,7 23:12 15.1 0.0 0,0 10.6 41.8 05:14 NE
12 0.3 3.9 14:26 -2,9 07:49 18.0 0.0 0,0 4.7 19.3 03:34 NW
13 1.5 8.3 14:27 -3,2 07:00 16.8 0.0 0,0 4.3 17.7 12:07 NW
----------------------------------------------------------------------------------
4.3 11.7 3 -3.2 13 182.3 0.0 47.2 6.3 43.5 10 N

Max >= 27.0 0

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

Re: Decimal separator

Post by mcrossley »

Dah! I missed two! :bash:

Post Reply