This package contains necessary files and data to run the C13 version of the Yasso model.
The Yasso model can be obtained from github: https://github.com/YASSOmodel/Ryassofortran
and the C13 version is under branch "C13". Ryassofortran provides an R interface for running
the Fortran version of the Yasso model. Installation instructions, model runnin examples etc.
are provided at the github repository.

This package contains necessary files to duplicate the results and images presented in:
"Implementation and initial calibration of carbon-13 soil organic matter decomposition in Yasso model"

"drivers" folder contains:
-precipitation and temperature measurements from SMEAR II station Hyytiala (Hyy-*.csv)
-Lakkasuo C and C13 AWEN fractions (pine-C-pools.csv, header description below)
-Yasso model parameter files (Yasso-*-parameters.csv)

"images" folder contains images produced by the "plot-*.py" scripts.

"runs" folder contains:
-compilation of Yasso calibration results (Cost-cart-all.csv)
-compilation of litter bag spesific results for default/optimised runs (Yasso-*-C-pools.csv)
-default folder contains C, C13 and delta13 results with default Yasso parameters
-optimised folder contains C, C13 and delta13 results with optimised Yasso C13 parameters

the scripts present are:
-run-1-cartesian.R  (will generate new folders and calibration runs into "runs" directory)
-gather-1-cartesian.py (will collect the run results from run-1-cartesian.R into "runs/Cost-cart-all.csv" file)
-plot-1-cartesian.py (will regenerate images/Fig-1-Parameter_calibration.png)
-run-2-output.R (will recreate C, C13 and delta13 results in runs/default/ or runs/optimised/)
-gather-2-litter_results.py (will recreate runs/Yasso-*-C-pools.csv from above)
-plot-2-litter_results.py (will regenerate images/Fig-2-litterbag_results.png)
-run-3-simulate_50_years.R (will recreate files in runs/long/)
-plot-3-simulated_50_years.py (will regenerate images/Fig-3-simulated_50_years.png)


Description of header in pine-C-pools.csv
+id is the identity number of the litterbag
+litter type is either Pine branch or Pine needle
+year indicates the time (year 0..4) since the start of the experiment
+percentage of mass remaining from original mass
+percentage of mass loss
+remaining mass (the original mass was unified to 1000 mass units)
+A-C,W-C,E-C,N-C,Total C is the calculated carbon content 
+A-C13,W-C13,E-C13,N-C13,Total C13 is calculated C13 content
+Check is rounded Total C13
+A-ratio,W-ratio,E-ratio,N-ratio,Total-ratio is calculated ratio of C13/C
+A-delta13,W-delta13,E-delta13,N-delta13,Total-delta13 is measured delta13 content