Adding Plotting Functions for Re-extraction #7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds the frontend changes and callbacks necessary to trigger banzai-floyds to re-extract data. I had to repackage many of the plots to make the callbacks work. Dash only allows elements to be the target of a single callback complicating some of the page structure. The performance for updating graphs was horrifically slow if you had to pass the whole figure between the front and backend. To alleviate that, I've written python clientside callbacks that wrap some basic javascript to do the plot updates on the client end.
I've included a mock archive client to make the testing loop faster. This looks for banzai reduced data in the sub directory wherever you run mock_archive.py.
I've moved a lot of the data processing that was happening in the frontend to only happen in the main banzai-floyds pipeline. The current version of the pipeline that works with this pr is https://github.com/LCOGT/banzai-floyds/tree/reextract. I can send you preprocessed data if that is easier.