Page 1 of 1

Strange values as records (Imported data from Cumulus 1)

Posted: Sun 07 Feb 2016 6:47 pm
by Vossenberg
Hello,

I have just installed CumulusMX on my Raspberry Pi. I have not yet connected my station.
However I have installed Mono 4.0.2.5 as well as the CumulusMX package.

I imported my data directory from Cumulus 1 as well as Cumulus.ini from my previous install.
The problem I face is that the records are strange.

What can I do to correct this data?
Cumulus.JPG
Are there any tips?

Thank you in advance!

Re: Strange values as records (Imported data from Cumulus 1)

Posted: Sun 07 Feb 2016 6:58 pm
by rogerthn
Looks like decimal commas?
You could try to stop CumulusMX
Fetch alltime.ini month.ini monthlyalltime.ini today.ini year.ini and yesterday.ini again.
cd into CumulusMX/data and then

Code: Select all

cd CumulusMX/data/
files="alltime.ini month.ini monthlyalltime.ini today.ini year.ini yesterday.ini"
for i in $files
do
  sed -i '/[0-9],[0-9]/s/,/./g' $i
done
Please note that there should be decimal point in Cumulus.ini as well
sed -i '/[0-9],[0-9]/s/,/./g' Cumulus.ini

Re: Strange values as records (Imported data from Cumulus 1)

Posted: Sun 07 Feb 2016 7:18 pm
by Vossenberg
Thank you very much! That absolutely did the trick!
All my records have been corrected and show to right values!

Very happy! The next step will be connecting the datalogger ! :-)

Re: Strange values as records (Imported data from Cumulus 1)

Posted: Sun 07 Feb 2016 7:45 pm
by rogerthn
Happy to help :P
Unless you already have replaced C:\ in Cumulus.ini ... :mrgreen: