Re: [weewx-user] Creating custom graphs to display archive data

2018-01-20 Thread Thomas Keffer
I can't think of any way to do that with the existing reporting machinery without writing some pretty fancy custom search list extensions. Frankly, I think a SQL query would be easier. Even that would require some serious SQL-foo. Easiest would be to write a simple Python program that runs once a

Re: [weewx-user] Creating custom graphs to display archive data

2018-01-20 Thread Geoff Harris
Hi Tom, Sorry, I was thinking in unixtime meaning an hourly datetimestamp and making such a graph once per day, week or even month would be plenty. You are correct that I could make a script outside of weewx to query the database and spit this out. Was trying to keep it all within weewx. What

Re: [weewx-user] Creating custom graphs to display archive data

2018-01-20 Thread Thomas Keffer
I'm not completely understanding your question. You say you want one hour averages, but your example has only one value per date. I would expect 24. Also, is this something you want to produce every archive cycle? Or, only as a one off? If the former, it will be a big file (many megabytes) and

Re: [weewx-user] Creating custom graphs to display archive data

2018-01-20 Thread Geoff Harris
Hi Tom, Is there a creative way that one could make a text file with the data? I'm trying to figure out how to make a csv file with the last 5 years worth of data. Output CSV something like aggregate 1hr averages for outTemp Date, outTemp.0, outTemp.1, outTemp.2, outTemp.3, outTemp.4 Date1,

Re: [weewx-user] Creating custom graphs to display archive data

2017-02-09 Thread Thomas Keffer
Unfortunately, neither of those are possible with the present image generation engine. You could run wee_reports, using a timestamp of a year ago, saving the images to a separate spot. Then you would be able to display this month's graph, and the same month a year ago. But, they would be in

[weewx-user] Creating custom graphs to display archive data

2017-02-09 Thread Thomas Carlin
I have a couple questions about image generation that doesn't seem to be covered in the docs anywhere. I would like to be able to create images with the same data value, but from multiple time ranges. For the yearly say, have the last 365 days as one line, but then have another line that has