While editing records:
If you start with the all time records and need to read the logfiles it takes quite some time. That in itself is not a problem. But then, when I start editing the monthly records, it reads those logfiles again.
It may be a good idea to hold on to that data until either a time or another menu choice or... whatever criterium so that the user can easily switch between the different editing menu's
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
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
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
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
Editing records reading monthfiles
- HansR
- Posts: 6055
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Editing records reading monthfiles
Hans
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
- mcrossley
- Posts: 12937
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Editing records reading monthfiles
It's an idea, I don't know what the impact would be though. Currently a single month file is read into memory, processed, then the next one read etc. So only a single month is held in memory at any one time.
If you were one of the people with 20 odd years of history, that would be a lot of data to buffer, escpeically on a low spec pi for example (the memory structures will generally be a bit larger than the text file equivalents, so you could roughly estimate it from the /data folder size)
If you were one of the people with 20 odd years of history, that would be a lot of data to buffer, escpeically on a low spec pi for example (the memory structures will generally be a bit larger than the text file equivalents, so you could roughly estimate it from the /data folder size)
- HansR
- Posts: 6055
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Editing records reading monthfiles
I read everything in CUtils and keep it in memory. Real low level spec may be an issue but hey... That's where swap comes in
Hans
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3