Welcome Guest [Log In] [Register]
Add Reply
Weather station software development
Topic Started: Dec 28 2009, 04:00 PM (1,365 Views)
Phaedrus
Member Avatar

Thats looking good. You must be pleased with the way its coming on. :)
Offline Profile Quote Post Goto Top
 
Gina
Member Avatar

Yes, making progress :) Thank you :)
Offline Profile Quote Post Goto Top
 
Gina
Member Avatar

Changed the layout/graphs for the 24hr page to avoid the caption overlapping the plot, which I though was pretty bad. I have yet to do it for the 7day and 28day pages. Simple enough to do (now I've worked it out) but rather tedious. 4 separate graph files instead of one combined one and 4 individual title image files produced in gimp. Worth the effort though :)
Offline Profile Quote Post Goto Top
 
Gina
Member Avatar

Been working on page layout and graph templates for the 7-day and 28-day web pages and they're reasonable enough for now. I may do some prettying up later.

ToDo :-
Data
- Remove error spikes from raw data
- Add calibration
Website
- Add text tables of data
- Add humidity chart
- Try again to find software to display Gauges similar to Cumulus
- Pretty up the web pages
Offline Profile Quote Post Goto Top
 
Gina
Member Avatar

Been working on page layout and graph templates for the 7-day and 28-day web pages and they're reasonable enough for now. I may do some prettying up later.

ToDo :-
Data
- Remove error spikes from raw data
- Sort out wind roses - remove overlapping stuff and make scaling automatic (like the graphs)
- Add calibration
Website
- Add text tables of data
- Add humidity chart
- Try again to find software to display Gauges similar to Cumulus
- Pretty up the web pages
Edited by Gina, Jan 16 2010, 07:41 PM.
Offline Profile Quote Post Goto Top
 
Gina
Member Avatar

Wind Roses :-

Sorted out the overlapping problem :) but the automatic scaling is a lot more difficult needing getting into the real nitty-gritty of Python. It needs the maximum percentage calculating for the segments BEFORE attempting to produce the plot. The current code is not written in a way that make that possible by any small modification. I shall have to write the histogram program myself. Then the maximum can be taken and applied to the windrose module.

Anyway, the wind roses are now readable and I have created separated caption images, having removed this data from the rose plot. I've also added a meaningful title to explain what the wind roses show, for those not familiar with wind roses.

I have added an extra page with the 7-day/night roses in a vertical formation for those with low res displays. I have yet to add this page link to all the page menus. In fact, I must make the menu a common module rather than a separate one on each page.

I think it's beginning to get reasonable :)
Offline Profile Quote Post Goto Top
 
Gina
Member Avatar

Been trying to get calibration settings incorporated - starting with the rainfall as that's out by a factor of three with my rain gauge mods. But it's gone wrong as can be seen in the results on the test website :( I'll sort it out in time :lol

Also, been working on the web displays, which is partly HTML but more the code that provides the graphs, plus some image manipulation in gimp.
Offline Profile Quote Post Goto Top
 
Gina
Member Avatar

Think I may have sorted out the rain calibration - time will tell :lol
Offline Profile Quote Post Goto Top
 
Gina
Member Avatar

I hadn't!! but I have now. Changed tack! Calibrated the output rather than the input. Much easier :lol Though needs doing in several places.
Offline Profile Quote Post Goto Top
 
Phaedrus
Member Avatar

Is it more or less finished now?
Offline Profile Quote Post Goto Top
 
Gina
Member Avatar

Nope!! Not quite yet. I need to convert my Cumulus data so that I have correct data to display. That will be easier than trying to edit the raw data, though I'll probably write an editor later. Unlike Cumulus, the date isn't CSV format (it's in a native Python format, making access much easier in the software). There's a EW data converter included in the package so it should just be a case of changing the input format to Cumulus.

Been thinking about possible ideas for an application name :lol "G-Weather"???? :lol
Offline Profile Quote Post Goto Top
 
Gina
Member Avatar

Found I could re-process the data to make it take all the data stored in the ws console and recalculate the stored data. That has corrected the data errors I produced in experimenting :) Been doing more tidying up too. Think it's getting near going live - just need to set up a cron job :)
Offline Profile Quote Post Goto Top
 
Gina
Member Avatar

Set up a cron job but it doesn't work :(
Offline Profile Quote Post Goto Top
 
Phaedrus
Member Avatar

Nearly there....G-Weather sounds good to me.
Offline Profile Quote Post Goto Top
 
Gina
Member Avatar

:) I've posted in the pywws Google group about the cron job. Someone must know what's wrong.
Offline Profile Quote Post Goto Top
 
Gina
Member Avatar

Had a couple of replies but nothing helpful :( Meanwhile I've been working on the web site.
Offline Profile Quote Post Goto Top
 
Gina
Member Avatar

CRON Fixed! :) :) G-Weather is LIVE! :) :)
Offline Profile Quote Post Goto Top
 
Gina
Member Avatar

I'm no longer running Cumulus so I've removed the Cumulus banner which is no longer showing current data. I'm sorting out a banner for G-Weather :) Gnuplot looks the best ATM but PHP script is also a possibility (Cumulus uses PHP). There is a vast amount more you can do with gnuplot than I'm using at present. I think Cumulus uses the rudimentary gnuplot commands too but I've not confirmed that.

Incidentally, both Gnuplot and Python are multi-platform so there's a possibility of producing multi-platform G-Weather versions at a leter date if I should feel so inclined :lol
Offline Profile Quote Post Goto Top
 
Phaedrus
Member Avatar

:thumbsup Well done Gina.
Offline Profile Quote Post Goto Top
 
chrislane62

I've just read right through this thread and I am greatly impressed. I wish I knew what I was doing most of the time.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Computer Chat · Next Topic »
Add Reply