Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

openghg/dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenGHG Dashboard

Note

This repository is now archived and may not work with more recent versions of Node. Please see the more recent dashboards within the OpenGHG organisation.

OpenGHG Dashboard CI

A simple React and Plotly.js based visualisation dashboard for the OpenGHG project.

Screenshot of app

Run locally

To run the app locally please make sure you have node installed. Then you can clone this repo and run

$ npm install

This will install all of the dependencies required to run the app. You can then start the app using

$ npm start

You should then be able to access the app at http://localhost:3000.

Development

Testing

If you'd like to make changes and/or add components to this project please make sure each component is tested. We make use of the React Testing Library to test the application as a user would interact with it. Please refer to their documentation for instructions on how to get started.

You can run the tests using

$ npm run test

Code Quality

Code quality is checked using ESLint, this can be run using

$ npm run lint

Customisation

The dashboard is intended to be a modular template that can be customised for different projects. It is currently serving data from Glasgow and the surrounding area for COP26 but was designed to be used in conjunction with OpenGHG. This makes it easy for researchers to create their own data dashboard.

Live Data

The data for the dashboard is updated multiple times a day and comes from a network of sensors run by a large community of researchers. See 'Observations' on the dashboard homepage. This data is pulled down from our data repository which is updated automatically when raw sensor data is pushed to our serverless functions.