Hi there
Just wondering what data is expected for the monthly type for the import.php. Is this the month.ini from the data directory?
or do i just import the realtime.txt at 24 hour periods. I am trying to figure out how to get some historical data happening. I have the realtime cumulus running. But i guess we need data for a monthly and yearly graphing. So how to go about that. Import dayfile every day (for a monthly table) or realtime data and calculate from that?
I will release a template once all the data is up and running.
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
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
ImportCumulusFile expected data & questions
Moderator: daj
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: ImportCumulusFile expected data & questions
Depends on what you want to do...
dayfile
Importing dayfile.txt every 24 hours after your daily roll over is probably the most commonly held data. From this you can produce most of your daily and record stats.
monthly
If you you want more detailed data within each day, then the monthly log files (e.g. dec12log.txt) will give you data at the resolution of your logging interval. If you only want data 'up to' today, then this can be imported every 24 hours after the daily roll over.
realtime
Capture your realtime.txt at whatever interval you want. For Fine Offsets this would have a sensible minimum interval of 1 minute. Note that this table will grow rapidly in size, so you will probably need to implement some form of house keeping to delete or archive older data. I just keep a rolling 2 hours worth of data - but in a flat file for now.
dayfile
Importing dayfile.txt every 24 hours after your daily roll over is probably the most commonly held data. From this you can produce most of your daily and record stats.
monthly
If you you want more detailed data within each day, then the monthly log files (e.g. dec12log.txt) will give you data at the resolution of your logging interval. If you only want data 'up to' today, then this can be imported every 24 hours after the daily roll over.
realtime
Capture your realtime.txt at whatever interval you want. For Fine Offsets this would have a sensible minimum interval of 1 minute. Note that this table will grow rapidly in size, so you will probably need to implement some form of house keeping to delete or archive older data. I just keep a rolling 2 hours worth of data - but in a flat file for now.
-
thekow
- Posts: 53
- Joined: Wed 05 Dec 2012 8:39 am
- Weather Station: w1080
- Operating System: Virtualbox XP environment
- Location: Australia
- Contact:
Re: ImportCumulusFile expected data & questions
Thanks mate, all of your help has been fantastic. I have about 50% completed my website 