Differences
This shows you the differences between two versions of the page.
weatherbox:dashboard:start [2017/05/01 09:28] tbyers |
weatherbox:dashboard:start [2021/09/19 21:59] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======Dashboard====== | ||
- | Visible at [[http://dashboard.scel-hawaii.org|http://dashboard.scel-hawaii.org]] the dashboard provides a means for anyone to access and view the data we are collecting. A module of the [[weatherbox::unified_software_team::start |Unified Software Team]]. | ||
- | **Dashboard Repository**: | ||
- | * [[https://github.com/scel-hawaii/dashboard]] | ||
- | |||
- | ---- | ||
- | |||
- | ===== Current Status ===== | ||
- | * Deployed at [[http://dashboard.scel-hawaii.org|http://dashboard.scel-hawaii.org]] | ||
- | * Developed with Python [[https://www.djangoproject.com/|Django Web Framework]] and [[https://semantic-ui.com/|Semantic UI]] Front-End Framework | ||
- | * Connected to [[weatherbox::Database::start |Database Module]] | ||
- | * Currently using [[https://plot.ly/|Plotly]] for Python to generate plots | ||
- | |||
- | ---- | ||
- | ===== Future Improvements ===== | ||
- | * Better handling of data | ||
- | * Faster load times | ||
- | * Generating plots on client using JavaScript | ||
- | * Display data across generations on a single plot | ||
- | * Allow for comparison of data between boxes | ||
- | * Current plotting function allows for generating plots with data from multiple boxes | ||
- | * Collaborate with [[Forecasting::start |Forecasting team]] | ||
- | * Apply their algorithms to display weather "predictions" | ||
- | * Implement real-time updating plots | ||
- | * Improve quality of viewing on mobile devices | ||
- | |||
- | ---- | ||
- | ===== Goals (Spring 2017) ===== | ||
- | * Provide human readable data for the other lab members and general public | ||
- | * Effectively and accurately display gathered data for each weatherbox generation | ||
- | |||
- | ---- | ||
- | ===== Block Diagram ===== | ||
- | {{ :weatherbox:dashboard:dashboardblockspr2017pdr.png |}} | ||
- | |||
- | ---- | ||
- | ===== Dashboard Testing/Development ===== | ||
- | ==== Working on Dashboard Development WITHOUT Database Connection ==== | ||
- | - Install Python | ||
- | - Install pip | ||
- | - Clone git repository at http://github.com/scel-hawaii/dashboard | ||
- | - pip install plotly | ||
- | - pip install numpy | ||
- | - pip install django | ||
- | - Verify dashboard is working by running the following command on master branch: python manage.py runserver | ||
- | - On web browser go to 127.0.0.1:8000 to view the dashboard | ||
- | - If you don't see it or get an error, something went wrong | ||
- | * **You can also use a virtualenvironment for the Python packages if you wish** | ||
- | ==== Working on Dashboard Development WITH Database Connection ==== | ||
- | * Instructions for testing the Dashboard on a VM with database | ||
- | |||
- | ---- | ||
- | ===== Dashboard Deployment ===== | ||
- | **Deploying the Dashboard on Server** | ||
- | * Instructions for deploying the Dashboard | ||
- | |||
- | ---- | ||
- | ===== Problems/Resolutions ===== | ||
- | * Noticeable load time of plots causing entire page to hang | ||
- | * Utilize separate process to handle plot generation | ||
- | * Load the plots with HTTP Request to specific url | ||
- | |||
- | ---- |