Fortran (Transport) Matrix Lab (FML) is a OCMIP-style carbon cycle model based on the 2.8 deg transport matrix (Khatiwala et al., 2005). The model is written in Fortran.
FML was developed and used in Wilson et al., (2019) Biogeosciences.
Current status (2020): I am updating this repository so that the code is available to use.
- download or clone the code here
- edit
user.mak
with your compiler, netcdf library location and library name - download the transport matrix files
- create an experiment file in the
experiment
directory (seeexpeiment/example_experiment
) - run
make
to compile the code - to run the experiment, run the FML executible with 2 or 3 arguments:
- the experiment name
- number of years to run
- (optional) name of an experiment to restart from
- e.g.,
./FML initial_experiment 10 restart_experiment
- output is written to netcdf and text files in the
output
directory under the experiment name
Documentation of the code is contained in the doc directory.
To view, either open the index.html file in a browser or click on the link: http://htmlpreview.github.io/?https://github.com/JamieDWilson/Fortran_Matrix_Lab/blob/master/doc/index.html