README.md
The sources of the website available at https://spaceweatheronline.cdpp.eu
What
Web Server
Build and serve the space weather visualization webpages. A flask webserver, serving d3.js visualizations.
Bridge
Gather NetCDF data from AMDA, and serve it as CSV to the javascript plotter.
Rationale
- Reading NetCDF from javascript is doable, but still very hacky.
- The bridge can handle pagination, collecting multiple NetCDF into one CSV.
How
Overview
config.yml
: the main configuration file.web/run.py
: the front controller, holding most of the code.
Install
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
Develop
source venv/bin/activate
python web/run.py
Then, browse localhost:5000.