The Supplementary material contained in the file Files_to_reproduce_Keller_et_al_2012_GMD_results is designed to allow readers to reproduce the new ecosystem model results described in: Keller, D.P., Oschlies, A., Eby M., 2012. A New Marine Ecosystem Model for the University of Victoria Earth System Climate Model. Geoscientific Model Development.

To run the model with our code follow the steps below:

1) Download, install, and conduct a test run with the freely available University of Victoria Earth System Climate model from www.climate.uvic.ca/model.  

2) Place the file O_fe_dissolved.nc, which contains the iron mask data, in the master data folder (called data.100.100.19 in the original download) so that it is accessible during the model compilation.

3) Place our code in the UVic updates folder so that the model will find it during compilation.

4) Create a folder for your model run and place our mk.in file in it.  Make sure that you change the Version_Directory line in the mk.in file so that the correct directory is used during compilation.

5) If necessary, in the mk.in file change the Source_Directory(1)= line so that it has the same name as file that contains our code.  For example, it would read Source_Directory(1) = updates/Keller_et_al_2012_GMD_code if you have kept the original name of one of our files when it was placed in the updates folder.   Also, if necessary change the Updates_Level line (usually the last one in this file) so that it has the same name as our code file that was placed in the updates folder.  If you have problems with this, to check and make sure that the correct files were used during compilation look at a file like npzd_src.f from the code folder that was generated during compilation and see if the source file listed at the top is correct.

6) Compile the model and generate an executable using the mk command (see the original UVic instructions for more information on how to do this).

7) Change the npzd parameters in the control.in file to match the ones in our control.in file.  Note that in the 02 update a mtlm and embm parameter has been changed as well. 

8) If conducting a spin-up /initial run you are ready to run the model (assuming your settings for initializing the model in the control.in file are set correctly).