Closed ehmatthes closed 4 years ago
animation
flag in plot_data_static()
.dt_first_min_prev_reading = latest_reading.dt_reading - datetime.timedelta(hours=24)
First round of animations is complete and has been shared with representatives of sssc team, so closing this issue.
Animations are really important for sharing how this visualization will help during a heavy rain event. For people unfamiliar with this analysis, seeing how the visualization evolves during an actual heavy-rain event, with and without critical periods, with and without a slide, is really helpful.
I got this working in the sitka_irg_realtime project, but historical animations are more easily done in this project. Specifically, this project already has the functionality to plot known slides.
Note: See the Kaleido project, and perhaps just drop to only using Plotly for all this work.
This project should be heavily refactored if anything significant will be done with it. So, don't worry too much about optimizing the code for generating these first animations, as long as they are accurate.