I just got PyCha and Cairo installed on my weewx embedded server, and would like to use them to generate all of the plots/charts.
Any contribution towards my original question?
Cheers,
Ken
To view this discussion on the web visit https://groups.google.com/d/msg/weewx-user/-/30PTLuJRK18J.Ken--
You received this message because you are subscribed to the Google Groups "Weewx Weather Station Discussion" group.
To post to this group, send email to weewx...@googlegroups.com.
To unsubscribe from this group, send email to weewx-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/weewx-user?hl=en.
Hi, KenI'm on the road and away from my development machine right now, so what follows is from memory.weeplot/genplot.py is the actual charting software used by weewx. I would think a better start point is weewx/imagegenerator.py. It contains ImageGenerator, a superclass of ReportGenerator, which is responsible for generating the charts. It uses genplot.py as an implementation for generating those plots, but your job would be to substitute a different implementation.To have weewx just run the reports, use bin/runreports.py, giving the configuration file (weewx.conf) as its sole argument. Well, not quite. By default, it generates a report current as of the last timestamp in the database. You can give a timestamp as a second argument and it will generate a report current as of that time.-tk
On Wed, Apr 18, 2012 at 12:45 PM, Ken C <kenca...@gmail.com> wrote:
A better question for me to ask is, how best to test the changes? Since I don't want to wait every x minutes for the plotting to run automatically, how do I manually trigger the report generation to run?After a quick look through genplot.py, I can see that it does all the heavy lifting. Since PyCha presents a higher level of abstraction, it's going to be a hack 'n' slash job :)To view this discussion on the web visit https://groups.google.com/d/msg/weewx-user/-/30PTLuJRK18J.Ken--
You received this message because you are subscribed to the Google Groups "Weewx Weather Station Discussion" group.
To unsubscribe from this group, send email to weewx-user+unsubscribe@googlegroups.com.
I never justify 'Why?' on the Internet.Any contribution towards my original question?
--
You received this message because you are subscribed to the Google Groups "Weewx Weather Station Discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msg/weewx-user/-/JWdFpnkOexoJ.
To unsubscribe from this group, send email to weewx-user+...@googlegroups.com.