https://www.dropbox.com/s/2dt1e69sg816tpx/INDIGOplot-2-3-0.zip v2-3-0
fixes:
- plotting min/ max values tracking was not correct
added, improved:
- configuration is snappier, added some performance improvements
- changed sql import to better manage larger data from devices like NOAA (it has 20+++ properties and each time anything changes it creates anew entry for each property( e.g. humidity, pressure..)
- added smoothing options in MATPLOT. It also doubles..quadruples bins if e.g. you have few bins. If you have "day plot" with e.g. 60 days/bin it uses splines to interpolate 240 bins, looks very nice now, see attached
dduff617: yes, MATPLOT uses MUCH more cpu than GNUPLOT and the png files are 4-5 times bigger than GNUPLOT. The new version(2-3-0) should reduce that CPU consumption. I have 4 plots with 6 lines and all smoothing options enabled and they are done in 4 seconds. The PYTHON process name that uses the CPU is the MATPLOT process. Mine *)goes up to 55% for ~ 3 seconds and comes down again to 0. What kind of server hardware are you using? When you run it (new version), could you check matplot.log in the indigoplot directory. It should show the seconds used to generate the plots. And thanks for the feedback.
I could also reduce the frequency for how often the plots get generated from 1 minute to 5 minutes. It currently checks if there is new data (data file timestamp has changed), waits 15 seconds and then generates the plots.
Karl
*) my server is a Mac Pro 2008 14GB RAM 4 CPU, 500GB SSD)
the attached plot shows the different options for MATPLOT smoothing. The numbers behind the options show the smoothing factor used in the program higher = more smoothing) the lines have been shifted down to show line each separately