Page 1 of 1

Problem with decimals

Posted: Mon 25 Jul 2016 7:34 am
by alb_Ronda
Hello, I have moved to Cumulus MX, but I get an error. Do not know why, but the comma separating decimals, goes to the right, causing the value is extortionate. For example, the maximum temperature is 35,9º, but in the cumulus comes off as 358888893127441,0º. The maximum wind speed is 80.5 km/h, but the program I get 805.0 km/h. Someone knows what may be due?
At Cumulus 1 this did not happen.
I leave a picture of the records so you can see the follies that mark.

Thank you.

Image

Re: Problem with decimals

Posted: Mon 25 Jul 2016 7:41 am
by steve
It looks like you haven't followed the instructions. Have you done this:

"If you want to use your Cumulus 1 data with MX, and you use decimal commas in your Cumulus 1 data, you will need to edit the .ini files to change the decimal commas into periods/full stops, because Cumulus MX always expects periods/full stops in .ini files regardless of the locale in use. The other data files will be OK - assuming you are using the same decimal and list separators in MX as you used in Cumulus 1 (i.e. the same locale). If you try to switch to a different locale, then your data log files will of course no longer be in the correct format, so you would need to edit all of your files."

Re: Problem with decimals

Posted: Mon 25 Jul 2016 7:45 am
by alb_Ronda
steve wrote:It looks like you haven't followed the instructions. Have you done this:

"If you want to use your Cumulus 1 data with MX, and you use decimal commas in your Cumulus 1 data, you will need to edit the .ini files to change the decimal commas into periods/full stops, because Cumulus MX always expects periods/full stops in .ini files regardless of the locale in use. The other data files will be OK - assuming you are using the same decimal and list separators in MX as you used in Cumulus 1 (i.e. the same locale). If you try to switch to a different locale, then your data log files will of course no longer be in the correct format, so you would need to edit all of your files."
Just now he came to comment that he had found the problem. Thank you very much.

I take this opportunity to ask. MX Cumulus spends fewer resources than Cumulus 1?

Re: Problem with decimals

Posted: Mon 25 Jul 2016 7:50 am
by steve
alb_Ronda wrote: MX Cumulus spends fewer resources than Cumulus 1?
I have no idea; that wasn't a consideration when writing it. The architecture is completely different anyway, so you can't really compare the two.