Adapt KS test
I have re-written part the reproducibility scripts as to make them easier to use by us and later by others. I have also written a README.md . It's still coded in a highly non-professional way, but it's better than nothing.
I'm stuck at the last bit, the computation of Kolmogorov-Smirnov tests for the different variables. I looked into your code and it was quite wild :-)
I was wondering if you could make sure to clean up this ode (KS_index.R
), remove hard-coded instances, etc. Ideally, make a script that takes as input:
- names of the experiments to analyse (list)
- start and end years of the period
and produces the KS figures and the maps (all in one script would be great)
You can start from the master branch of this project and work directly in the master branch. The R script I'd like you to edit is KS_index.R
. So you can do a
git clone https://earth.bsc.es/gitlab/fmassonnet/reproducibility.git
then follow the README.md
, make sure my code works (i.e. process a0qb
and a0q8
as tests, year 1990) and then adapt your code as to produce the desired figures.
Many thanks, François