Hello,
I am working on a custom web application for a local airfield that takes the data logged in the Cumulus software from our Nevada/EasyWeather equivalent weather station, and then makes a recommendation on which runway is best to use given the current weather conditions. It's not a serious operation - airfield literally means a field - hence the low budget equipment.
I have figured out how to parse the data from the ini files and upload them to my hosted web server in order to provide data to the web pages I will eventually build, but in analysing the data available to me in the today.ini file, it appears that I can only find highs and lows rather than the last actual recorded value. Am I missing something obvious or is this saved in a different file? I'm talking specifically about Wind, Temperature, Pressure, Rain and Humidity.
Thanks in advance.
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
Which data/ini file contains last recorded data?
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Which data/ini file contains last recorded data?
Cumulus logs the current data to the current monthly log file, see: http://wiki.sandaysoft.com/a/Monthly_log_files
If you want frequent data, you can set the log interval in Cumulus to one minute. That doesn't quite match the 48-second update interval of the station, so you won't get every reading in there.
But as you're doing this for a web site, rather than parse the log files, you could either use the realtime.txt file, see http://wiki.sandaysoft.com/a/Realtime.txt or create a file of your own format using web tags (also described in the wiki).
If you want frequent data, you can set the log interval in Cumulus to one minute. That doesn't quite match the 48-second update interval of the station, so you won't get every reading in there.
But as you're doing this for a web site, rather than parse the log files, you could either use the realtime.txt file, see http://wiki.sandaysoft.com/a/Realtime.txt or create a file of your own format using web tags (also described in the wiki).
Steve
-
rhorne
- Posts: 6
- Joined: Wed 06 Nov 2013 3:49 pm
- Weather Station: Nevada
- Operating System: Windows 7
- Location: Haworth
Re: Which data/ini file contains last recorded data?
Thanks for that Steve, should hopefully help solve my problem.
I have no doubts that I'm probably doing a lot of leg-work that people far more skilled and talented than I already did years ago. But as all of this is quite new to me, it's an interesting little project and breaks up the monotony of my day job.
I'm looking to keep a historical log of the captured data so will still look to insert any logged data into my online database, but it looks like I should be able to do this using the text file log - just means I'll have to re-write my code to capture the space-separated values rather than use the convenient parse_ini_file function.
I have no doubts that I'm probably doing a lot of leg-work that people far more skilled and talented than I already did years ago. But as all of this is quite new to me, it's an interesting little project and breaks up the monotony of my day job.
I'm looking to keep a historical log of the captured data so will still look to insert any logged data into my online database, but it looks like I should be able to do this using the text file log - just means I'll have to re-write my code to capture the space-separated values rather than use the convenient parse_ini_file function.
- 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: Which data/ini file contains last recorded data?
I'd wait to see if beteljuice jumps in here. An airfield 'page' has already been done before...