Sandaysoft

Support forum for Cumulus weather station software
It is currently Thu May 23, 2013 7:54 pm
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  [ 33 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: Experimenting with Google Charts and Graphs API.
PostPosted: Wed Apr 11, 2012 7:03 pm 
Offline

Joined: Sat Nov 26, 2011 10:11 pm
Posts: 30
Location: Mid-wales
Weather Station: Maplin WH1801
Operating System: XP SP3
In case anyone's interested, I cracked the problem of Nitrx's spreadsheet not expanding.

It's a hideous formula, and there's GOT to be a better/neater way, but... it seems to work!
Code:
=ArrayFormula('Raw import'!A:A&","&'Raw import'!B:B&","&'Raw import'!C:C&","&'Raw import'!D:D&","&'Raw import'!E:E&","&'Raw import'!F:F&","&'Raw import'!G:G&","&'Raw import'!H:H&","&'Raw import'!I:I&","&'Raw import'!J:J&","&'Raw import'!K:K&","&'Raw import'!L:L&","&'Raw import'!M:M&","&'Raw import'!N:N&","&'Raw import'!O:O&","&'Raw import'!P:P&","&'Raw import'!Q:Q&","&'Raw import'!R:R&","&'Raw import'!S:S&","&'Raw import'!T:T&","&'Raw import'!U:U&","&'Raw import'!V:V)


https://docs.google.com/spreadsheet/ccc ... FBXMHFKemc

Oh, and I had to change the spreadsheet settings for "French", to make the graph work again, what with the commas vs semicolon thing.

I think beteljuice's php script is the way forward, at least for those that can use php on their server.
If not, feel free to copy that spreadsheet above and put your own dayfile.txt location in A1 of Raw Import and watch the magic happen :)


Top
 Profile  
 
 Post subject: Re: Experimenting with Google Charts and Graphs API.
PostPosted: Mon Apr 16, 2012 4:21 pm 
Offline

Joined: Sat Nov 26, 2011 10:11 pm
Posts: 30
Location: Mid-wales
Weather Station: Maplin WH1801
Operating System: XP SP3
Update - just found Google Fusion Tables and it's WAY better for lots of data like in the monthly files.
I've got data collection on every 5 mins, so loads of data (about 8,000 rows a month).
But - swings and roundabouts - you currently can't import data like you can with spreadsheets (they're working on it though).
On the other hand, you can't have more than 400,000 cells in a Google Spreadsheet, but fusion tables are only limited by size; about 100Mb.

So, how about this: Here's temperatures from November to March, at 5 minute resolution.
Starting at average, click a point or roll the mouse or select an area and you can zoom right in and in and in until you can see every single data point.

http://weather.talking-news.info/ggraph ... sdemo.html
That graph took me two minutes to put together: Make graph, select columns, click "copy embed code".

The only thing I had to do was reformat and merge the date/time columns. Not ideal but I'm working on a workaround...

And the graph seems to load far quicker too. I think a combination of Fusion Tables for the big monthly files and Google Spreadsheets for the live import of Dayfiles is going to be the way forward. Right, back to the grindstone...


Top
 Profile  
 
 Post subject: Re: Experimenting with Google Charts and Graphs API.
PostPosted: Mon Apr 16, 2012 10:47 pm 
Offline
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1848
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
:clap: Looks very interesting

_________________
Image
......................Imagine, what you will KNOW tomorrow !


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 33 posts ]  Go to page Previous  1, 2, 3

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