davidrg / zxweather

Weather Station software built to run weather.zx.net.nz. Includes support for Davis Vantage Vue/Pro2 and FineOffset WH1080 hardware.
GNU General Public License v2.0
0 stars 0 forks source link

Mark data gaps in the database #117

Closed davidrg closed 3 years ago

davidrg commented 3 years ago

With #7 implemented the desktop client will only contact the server for archive data if:

Gaps are detected by the desktop client itself when data is downloaded and any data file with detected gaps is marked as incomplete. Any requests for data that cover the entire or middle portion of that data file will result in the data file being re-downloaded.

It would be nice if the Web UI could provide a list of known gaps in the dataset that will never be filled. On download if the desktop clients detected gaps line up with the list of known gaps it would mark the data file as complete despite there being missing data. This would allow the data to be cached indefinitely with no further requests to the server.

So:

Once this, #7 and #8 are done the desktop client should only need to contact the server rarely - mostly for recent data if the app has been closed.

davidrg commented 3 years ago

Mark gaps tool added to admin-tool in commit 88b559e0e53665b194646a29b6b8d2530a35c536