Skip to content

climate-analytics-lab/ClimateBench_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClimateBench 2.0 Web App

Frontend application for exploring results from ClimateBench 2.0

Live app: https://climate-analytics-lab.github.io/ClimateBench_app/index.html

How to contribute

The framework can be expanded to include more models, variables, metrics, and regions. To add more data, create a pull request with the following changes:

  1. Rows with relevant data added to data/benchmark_results.csv
    • This will add your score to the table in the scores tab
    • If you are adding a new variable, region, or metric, you will need to modify the dropdown selections in the scores.html.
  2. Rows with the relevant data added to data/benchmark_results_timeseries.csv and data/benchmark_results_timeseries_annual.csv
    • This will add your data to the plot below the table on the scores tab
    • If you are adding a new variable, region, or metric, you may need to modify the following sections in scores.html.
  3. Paleo changes can be made by
    • Adding data to data/paleo_data/annual_zonal_means.csv. You will need to recalculate the median and normalized mae columns. This will add your data to the two overview figures.
    • Adding data to data/paleo_data/monthly_zonal_means.csv. This will add your data to the seasonal plots.
    • Adding data to the map options. You will need to create the map image first, and then add to the relevant paleo period folder data/paleo_data/{paleo period}/{model}.png. Then you will need to modify the dropdown options to include the added model.

Local development

You will need to install npm (instructions). Then, from the top level of the repo run

npx http-server

Which will run the app locally at http://127.0.0.1:8080

About

Repository for Climate Bench web app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •