The Space Weather Timeline Viewer is a web application, to interactively visualise time series data from HAPI servers. Part of the development has been and is supported by the Swarm DISC.
The Timeline Viewer ecosystem consists of:
- the Svelte/Javascript web application;
- a HAPI server implementation written in Python that can work with Flask or Apache2 web servers and sqlite3 or PostgreSQL databases (the combination of Flask and sqlite3 allow for the quick setup of a personal HAPI server on a user's notebook or desktop computer);
- The swxtools Python library containing classes and functions for retrieving and processing data as well as evaluating models and offering some utility functions;
- A set of HAPI ingest scripts to tie the downloading, processing and uploading to the HAPI server together.
All of the above links lead to the project's open source repositories.
I have identified a couple of avenues for integration, that could be further explored:
- There is overlap in functionality between swxtools and SwarmPAL, but SwarmPAL seems to be at a higher level of adhering to software development and maintenance standards. So the Timeline Viewer ecosystem could certainly benefit from integration of SwarmPAL, replacing (some of) the swxtools code, where functionality overlaps (most notably retrieving and processing of Swarm data). But there is also overlap with tools in the PyHC ecosystem, like pysat. So the best way forward here perhaps needs to be discussed in this wider context?
- There might also be functionality in swxtools that is not yet readily available in SwarmPAL (as far as I am aware), such as the ability to do some orbit coordinate conversions and model evaluations (IRI, MSIS, Swarm-VIP-Dynamic) along satellite trajectories. The current swxtools codebase could perhaps be a starting point to contribute SwarmPAL toolboxes.
- There are also interesting features in SwarmPAL for obtaining processed timeseries data that could benefit from availability on HAPI servers and visualisation in timeline viewer, offering ease of use, interactivity, and visualisation in combination with other (non-Swarm) data sets. For this to work, it would be necessary to implement an interface between the SwarmPAL processed output and a HAPI server.
- Timeline Viewer also offers the possibility to browse through image sequences and spectogram/keogram-type images. This works by omitting all (axis) annotations and margins from plotted output (this will be provided by the timeline viewer web app), and encoding timing and colour-scale information in the PNG output filename/path. In addition, some work has been done to keep the PNG files as small as possible, so they can be served over the web extremely quickly. SwarmPAL could perhaps be extended to more easily create this type of output and make it available in timeline viewer.
The Space Weather Timeline Viewer is a web application, to interactively visualise time series data from HAPI servers. Part of the development has been and is supported by the Swarm DISC.
The Timeline Viewer ecosystem consists of:
All of the above links lead to the project's open source repositories.
I have identified a couple of avenues for integration, that could be further explored: