Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for archived stations #40

Open
4 of 11 tasks
davidrg opened this issue Jul 14, 2021 · 1 comment
Open
4 of 11 tasks

Support for archived stations #40

davidrg opened this issue Jul 14, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@davidrg
Copy link
Owner

davidrg commented Jul 14, 2021

Not all weather stations will run forever. You might move house and setup a new station for that location. Or maybe you change to far more accurate hardware and don't want to mix your old data with the new stuff. One example is http://weather.zx.net.nz/s/rua/ - this station was replaced with a Vantage Vue on a new station code for accuracy reasons (rua2). The vue was later turned off due to moving house (and also hardware failure). New location, new weather station - (hlz). rua and rua2 will likely never have new data added - they're static. archived.

Currently zxweather has no special abilities when it comes to archived stations. The Web UI just shows a "no recent data" message on the home page and the desktop client just shows whatever the final current conditions update was.

Minimal support for archived stations would be:

  • Option in admin tool to mark a station as archived. Probably supply a message with this too (eg, why the station was archived)
  • Web UI changes
    • Web UI shows some sort of archived station message rather than "no data". Maybe allow it to load an HTML file (like it does for the about station page) instead.
    • List archived stations under an "archived" subheading in the station selector.
  • Desktop UI archived station mode:
    • Current conditions panels hidden (current conditions, forecast, rainfall, status)
    • Live charts hidden
    • Shows a message in the main window saying the station is archived/no longer active along with the archived station message. Maybe some statistics too (date span covered, number of rows of data, etc)
    • Don't setup the live data source
    • Fix the date range around the place (chart, export, view data, etc)
    • An option or tool to load the cache DB with the entire available data set in one go so no further requests to the server are required.
@davidrg davidrg added the enhancement New feature or request label Jul 14, 2021
@davidrg davidrg self-assigned this Jul 14, 2021
@davidrg
Copy link
Owner Author

davidrg commented Aug 5, 2021

A chunk of this has been done in #117 (mark data gaps) so that the desktop client can treat all detected gaps in archived station as permanent.

The main work remaining for this ticket is UI work in the desktop client to give it a similar "archived station mode" to the Web UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant