- Python 79.9%
- TypeScript 11.8%
- HTML 6%
- CSS 1.7%
- JavaScript 0.5%
- Other 0.1%
|
|
||
|---|---|---|
| _deployment | ||
| backend | ||
| docs | ||
| plots | ||
| static | ||
| templates | ||
| widgets | ||
| .gitignore | ||
| app.html | ||
| app.py | ||
| bokeh.patch | ||
| Makefile | ||
| README.md | ||
| requirements.txt | ||
RAD Webserver
A web service to view quicklook plots of MSL RAD data. Built using Bokeh and the RAD Loader.
The current version of the app is running at https://solar-orbiter.physik.uni-kiel.de/rad/plotter/.
The dose rate [mGy/day] in the B and E detectors are per day (i.e., 24 hours), not Sol.
The absorbed dose in the silicon B detector is not subtracted by the background contribution by the rover’s radioisotope thermoelectric generator (RTG) because it changes during the time.
How to set up
Python 3.7 or above (Debian package python3) and Node.js (Debian packages nodejs, npm) are required.
We're going to install the dependencies into a virtual environment, so that they're separate from your system packages.
# Clone the project
https://cau-git.rz.uni-kiel.de/ieap/et/ep/mslrad/rad-webserver.git
cd RAD-webserver
# create and activate a virtual environment
python3 -m venv env
. env/bin/activate
# install requirements
python3 -m pip install --upgrade pip setuptools wheel
pip3 install --index-url=https://solar-orbiter.physik.uni-kiel.de/pip/et/public -r requirements.txt
How to run
We will start the app in developer mode, which means that it will allow connections on localhost and automatically
reload when you change the code (in most cases).
python3 app.py --dev
> RAD Webserver on http://localhost:5008/
You can now view the web app in a browser on http://localhost:5008/.
Documentation
You can find the full documentation here. If you are outside the university network, you need to input the same credentials as for the SolO web plotter.
Alternatively, it is also possible to download the current version of the documentation in a ZIP file, using this link. This also works outside the university network, if you are logged in to GitLab.