/ClimateChange

Repo to capture all experiments on the Climate Change Project

Primary LanguagePython

Parameter sampling for climate change models

Authors

Advisors

Installation

  • Clone the repository
  • Place comicegrid.h, crhmelfilein, and restartin into the bootstrap directory

Steps to run

Use the following command to run Importance sampling:

python3 setup_experiment.py --exp_dir test

To run inverse sampling:

 python3 inverse_sampling.py --exp_dir test

exp_dir argument should list a directory name which is inside the code directory (Directory will be created if not present). This argument is optional and if its not used a directory by the name of exp/ will be created in the code directory.

Description of figures

  • heatmap_small_inverse_calvliq.png: A heatmap of esl for different values of calvliq.
  • heatmap_small_inverse_cliffmax.png: A heatmap of esl for different values of cliffmax.
  • violin_calvliq_converged.png: A violin plot of the distribution of the calvliq parameter after convergence.
  • violin_cliffmax_converged.png: A violin plot of the distribution of the cliffmax parameter after convergence.
  • calvliq_esl_small.png: A scatter plot of calvliq vs esl.
  • cliffmax_esl_small.png: A scatter plot of cliffmax vs esl.
  • calvliqcliffvmax_small.png: A scatter plot of calvliq vs cliffmax.