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 4017) - 17 March 2024

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 drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Cumulus log file format on Raspberry Pi

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
Adrian Hudson
Posts: 220
Joined: Mon 03 Jan 2011 4:27 pm
Weather Station: Davis Vantage Pro2
Operating System: Win 7
Location: Willand, mid Devon.
Contact:

Cumulus log file format on Raspberry Pi

Post by Adrian Hudson »

I run Cumulus MX on a RPI where it creates text files in the unix style (line endings just LF).

I have a Windows PC which wakes up periodically to run WXSIM. It copies the latest log file from the RPI and uses it in making a weather forecast. This part runs fine (wxsimate is happy with the unix style files).

Once a day the PC wakes up and copies the latest log file to use during wxsim's autolearn utility. Autolearn doesn't like the unix style files so I have knocked up a little utility to convert the files to windows style line endings.

All is happiness and light...

...except. I would really like the files to be in Windows style so that if the Pi were ever to fail and I needed to get Cumulus MX up and running, the files would be already in Windows style in the external backup I have going on.

Is there any way that Cumulus MX, running under mono on the Pi can be convinced to write its log files in Windows CRLF line ending format - does anyone know?
User avatar
rogerthn
Posts: 489
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: Cumulus log file format on Raspberry Pi

Post by rogerthn »

Maybe you could try

Code: Select all

sudo apt-get install dos2unix
Image
User avatar
mcrossley
Posts: 12689
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulus log file format on Raspberry Pi

Post by mcrossley »

I pretty sure that CumulusMX (or .Net routines) itself doesn't care, you can run it on Windows with data files created on Linux.
Post Reply