A simple dashboard for viewing up-to-date data from the Pioneer WEC v1 prototype.
Build the dashboard site locally with the steps below.
- Python 3.10+ (recommended)
- Ruby + Bundler (for Jekyll)
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtbundle installRun the full pipeline (fetch data, generate plots, and build the Jekyll site):
python app.py allThe generated site files are written to:
output/
Open output/index.html in a browser to inspect the locally built site.
Partial builds can be run by passing optional arguments when running app.py:
python app.pyorpython app.py all: run the full pipeline (fetch data, generate plots, build site)python app.py fetch-data --start-date YYYY-MM-DD: fetch and cache raw data starting from a date (default: 2025-11-03)python app.py generate-plots: generate plot HTML files from cached datapython app.py build-site: generate Jekyll includes and build/copy the site output
To alleviate the need to pull data during debugging and to speed up GitHub actions, raw data is cached locally in a .cache directory.
Additionally, processed data files are saved in output/data/ to speed up partial builds and allow for the user to perform custom analyses.