Sandaysoft

Support forum for Cumulus weather station software
It is currently Thu Jun 20, 2013 2:21 am
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: [month][year]log.txt formats?
PostPosted: Fri Feb 10, 2012 7:17 pm 
Offline

Joined: Wed Feb 01, 2012 1:58 pm
Posts: 2
Location: Verdigris, OK
Weather Station: Davis Vantage Pro2
Operating System: Server 2008 R2
Hello all,
I imagine that someone has asked this before, but I have searched the forum to no avail.
Our system updates at 1 minute intervals. It has been requested to make this 1minute data available on the web.
I created a php script to read the monthyearlog.txt (or as a .csv). But when trying to discern what the header row would be, I am coming up at a loss.
Does anybody have a reference for this?
Once I am done with the code I will gladly post my solution...it should be pretty slick.
I have a bat file which copies up the current month file (based on system date and year). Once the file is in the web directory I have a page which will parse and display the data in an iframe from a drop down menu.

All I am missing so far is the field names for the header.
Thank you in advance!
M


Top
 Profile  
 
 Post subject: Re: [month][year]log.txt formats?
PostPosted: Sat Feb 11, 2012 11:18 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17835
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
As referenced in the FAQ (http://wiki.sandaysoft.com/a/FAQ#What_are_the_formats_of_the_Cumulus_data_files.3F), the log file formats are in the help under 'Data log file format', and also in the wiki here: http://wiki.sandaysoft.com/a/Category:Log_Files. There's also a file in the Cumulus installation folder called 'monthlyfileheader.txt' which is a header for the monthly log files with the titles separated by '|' characters.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group