Quantcast
Channel: SBFspot Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 360

Closed Unassigned: Add 0 readings into the DB [145]

$
0
0
hi,
would it be possible to add reading of 0 into the DB, poss only when using -finq.

The reason for this is i want to compare day to day on a graph but as power production doest start at the same time daily it makes drawing the scales difficult/imposable. it could in stead start at 6am (user specified?) to give something to plot the graph from.

as you can see in the attached both start from 0 but there is 40mins difference in the time that production stated.

eg. day 1:

+-------+--------+
| time | Power |
+-------+--------+
| 09:15 | 0 |
| 09:20 | 36 |
| 09:25 | 84 |
| 09:30 | 108 |
| 09:35 | 108 |

day 2:
+-------+--------+
| time | Power |
+-------+--------+
| 08:35 | 0 |
| 08:40 | 36 |
| 08:45 | 48 |
| 08:50 | 48 |
| 08:55 | 60 |
Comments: This will double the size of the DayData table. Since SQLite is already suffering of heavy load, adding useless zero values will not help performance.

Viewing all articles
Browse latest Browse all 360


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>