Run plot-bc-example.R to generate Figure 1. This script generates a figure illustrating the basic concept of bias correction via distribution mapping. It uses the data in cur.txt, fut.txt, and obs.txt, which are generated by a script in the data/ folder. Run compare-techniques.R to generate the data for comparison. This script generates synthetic data for different distributions and bias-corrects it using different distribution mapping techniques coded in bc-techniques.R. The results are saved in N-run.RData, where N is the number of iterations. Run plot-results.R to generate Figures 2-5. This script reads in the data from N-run.RData, calculates different metrics, and then generates plots of those metrics and a plot of the time taken by each technique to perform the bias correction.