Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Manually adding to dayfile.txt

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
thegasman
Posts: 41
Joined: Sun 24 Mar 2013 6:42 pm
Weather Station: WMR88
Operating System: Raspbian on Pi2
Location: Ayr, Scotland, United Kingdom
Contact:

Manually adding to dayfile.txt

Post by thegasman »

Hi,

I'm trying to manually add some data to dayfile.txt from when I was on holiday and my weather station and cumulus were switched off.
I have read the help file, but I 'm still running into problems.

I used the built-in editor first, pressing insert to create a new row. That is fine, but unless I add a valid figure in every field for every day (tedious) then I get an error about null values.
The help file says you can miss data off the end of each row however, so opening the file in notepad I deleted all the commas after column 14 (total rain). Then I get an error saying 'List index out of bounds (15)'. What am I doing wrong?

Thanks,

Martin
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Manually adding to dayfile.txt

Post by steve »

You have to supply figures for all of the fields up to the original size of dayfile.txt, Cumulus assumes they are there and only does checks for the fields after that which were introduced in later versions of Cumulus. You'll need to go up to (and including) column 16 (average temperature).

Could you tell me where in the help file you're referring to, please, and I'll change it to make this point clear.
Steve
thegasman
Posts: 41
Joined: Sun 24 Mar 2013 6:42 pm
Weather Station: WMR88
Operating System: Raspbian on Pi2
Location: Ayr, Scotland, United Kingdom
Contact:

Re: Manually adding to dayfile.txt

Post by thegasman »

Thanks Steve,

That's fixed it.
The help file is here:

http://wiki.sandaysoft.com/a/Dayfile.txt

under 'Manipulation outside Cumulus'.
It does mention you can miss off 'the more recent fields', but doesn't make it clear that the first 16 are required.

Martin
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Manually adding to dayfile.txt

Post by steve »

Ah right, you mean the wiki rather than the help file. I've added a note on that page that a minimum of 16 fields must be supplied.
Steve
Post Reply