Agree that if you are using the WeeWX plot engine you have to archive the 
data you wish to plot; however, if you use something other than the WeeWX 
plot engine to render your plots then you can avoid archiving the data. I 
played around with a sun position plot routine in some php a few years ago 
to produce a graphic file showing a plot of solar altitude through the day 
with the current sun position highlighted. Whilst the details escape me 
(whilst I had it working I never actually deployed it) I believe I used 
WeeWX to produce a report with time and solar altitude data for the day. 
This report was produced one per day at midnight for the coming day. The 
php routine then read this data and generated the plot. A similar thing 
could be done with a json format data file and highcharts or some other 
plot library.

Developing the report will take a little thought, It could be done with 
some inline python code in a template or via a SLE to do the hard work and 
a basic template (SLE would probably be a little easier to deal with 
setting up pyephem). The report timing option provides the means to control 
when the report is produced.

Gary

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/007eae59-610e-4d80-b05e-21d8d8922d65%40googlegroups.com.

Reply via email to