Skip to contents

“Longs Tours” is a CRA-W long-term field experiment at Gembloux (loamy region, loess soil) dedicated to organic matter management, with soil data going back to 1959. It compares six treatments crossing crop residue management, cover crops, and organic amendments on the same 3-year rotation (sugar beet - winter wheat - winter barley). This vignette runs three of them, chosen to contrast three distinct strategies without cluttering the comparison with every combination:

ID Code Treatment
1 - + RR + - Control: residue removal, no cover crop, no amendment
4 CM + RR + - Cattle manure, residue removal, no cover crop
6 - + IR + CC Residue incorporation, cover crop, no amendment

(Treatments 2, 3 and 5 – pig slurry x cover crop variants and plain residue incorporation – are in the same workbook, just not run here.)

The input workbook and the standalone climate/soil files used below are CRA-W open data, shipped with the package (inst/extdata/) so this vignette is fully self-contained – no external project needed.

Almost every socmor function does file I/O relative to a working directory of ./data_in/ and ./data_out/, so we set up a temporary project directory mirroring that convention before running anything.

library(socmor)
library(dplyr)
#> 
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#> 
#>     filter, lag
#> The following objects are masked from 'package:base':
#> 
#>     intersect, setdiff, setequal, union
library(ggplot2)

project.dir <- tempfile("socmor-longs-tours-")
dir.create(project.dir)
knitr::opts_knit$set(root.dir = project.dir)

## project.dir is wiped out with the rendering subprocess once knitting
## ends, so any image that still needs to be in the final HTML (as
## opposed to a plot produced directly by a chunk) has to be copied into
## the vignette's actual (persistent) output directory first.
show_result_png <- function(src) {
  dest <- file.path(knitr::opts_knit$get("output.dir"), basename(src))
  file.copy(src, dest, overwrite = TRUE)
  knitr::include_graphics(dest, rel_path = FALSE)
}
extdata <- system.file("extdata", package = "socmor")

dir.create(file.path(project.dir, "data_in", "41_CRAW_LTE_OM_LesLongsTours"), recursive = TRUE)
dir.create(file.path(project.dir, "data_in", "97_climate"), recursive = TRUE)
dir.create(file.path(project.dir, "data_in", "98_soil"), recursive = TRUE)

file.copy(
  file.path(extdata, "41_CRAW_LTE_OM_LesLongsTours", "input_LesLongsTours.xlsx"),
  file.path(project.dir, "data_in", "41_CRAW_LTE_OM_LesLongsTours", "input_LesLongsTours.xlsx")
)
#> [1] TRUE
file.copy(
  file.path(extdata, "97_climate", "27_Sombreffe.csv"),
  file.path(project.dir, "data_in", "97_climate", "27_Sombreffe.csv")
)
#> [1] TRUE
file.copy(
  file.path(extdata, "98_soil", "Gembloux_lte_om.csv"),
  file.path(project.dir, "data_in", "98_soil", "Gembloux_lte_om.csv")
)
#> [1] TRUE

Reference tables

Carbon-input coefficients for crops/organic amendments and the Belgian radiocarbon series are shipped with the package itself, not with this example.

crop.cin <- readr::read_delim(
  system.file("extdata", "crop_residues.csv", package = "socmor"),
  delim = ";", show_col_types = FALSE
)
eom.cin <- readr::read_delim(
  system.file("extdata", "eom.csv", package = "socmor"),
  delim = ";", show_col_types = FALSE
)
eom.params <- readr::read_delim(
  system.file("extdata", "eom_params.csv", package = "socmor"),
  delim = ",", show_col_types = FALSE
)

df.modern <- read.csv(system.file("extdata", "radio_carbon.csv", package = "socmor")) |>
  f.predict.radio.carbon(2008, 2050)

Running RothC on the three treatments

run.socmo() reads the workbook, builds the monthly calendar (crops, cover crops, irrigation, tillage, organic amendments), runs the spin-up then RothC for 30 years. Climate comes from the Sombreffe agromet station CSV rather than the workbook’s own Météo sheet, to illustrate that override mechanism.

input.sim.run <- "41_CRAW_LTE_OM_LesLongsTours"
input.case <- "LesLongsTours"
input.rotation.id <- c(1, 4, 6)

l.res.lte.om <- run.socmo(
  input.sim.run,
  input.case,
  input.rotation.id,
  op.run = TRUE,
  start_year = 2024,
  n_years = 30,
  op.export.res = TRUE,
  op.export.graphs = TRUE,
  op.split.oa = "complex",
  source.climate.data = file.path(project.dir, "data_in/97_climate/27_Sombreffe.csv")
)
#> 
#> 
#> ,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._
#> -
#> -  ./data_in/41_CRAW_LTE_OM_LesLongsTours/input_LesLongsTours.xlsx
#> -
#> ,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._
#> 
#> == == == == == == == == 
#> Computing ID : 1
#> == == == == == == == == 
#> 
#> Input XLSX file copied here : 
#>  ./data_out/41_CRAW_LTE_OM_LesLongsTours/LesLongsTours/LesLongsTours_1/data_in/DO-NOT-EDIT-copy_of_input_SocMo.xlsx 
#> 
#> == a - Crop management input data ==================================
#> New names:
#> • `` -> `...2`
#> • `` -> `...3`
#> • `` -> `...7`
#> == b - Initiate calender with crop rotation =========================
#> == c - Add cover crops information ==================================
#> == d - Add irrigation application and tillage practices ================= e - Add external organic matter application =======================
#> == f - compute C input from crops, cover crops and eom ================
#> == ----> f.1 C input from crops ----
#> == ----> f.2 C input from cover crops ----
#> == ----> f.3 C input from both crops and cover crops & plant cover  ----
#> == ----> f.4 C input from eom ----
#> == f.end (graph) - export rotation ========================================
#> == g - get meteo data =================================================
#> == h - radio carbon & DPM_RPM ration ==========================
#> == i - Environmental input data ===============================
#> == j - aggregate the 2 main data frames and write the dat file ==============
#> == k - export intermediate files ==============================
#> == l - run and export results ==============================
#> Ok - yearly results written : in  ./data_out/41_CRAW_LTE_OM_LesLongsTours/LesLongsTours/LesLongsTours_1/data_out/res_year_results.csv 
#> 
#> Ok - monthly results written : in  ./data_out/41_CRAW_LTE_OM_LesLongsTours/LesLongsTours/LesLongsTours_1/data_out/res_month_results.csv 
#> 
#> Ok - extra results written : in  ./data_out/41_CRAW_LTE_OM_LesLongsTours/LesLongsTours/LesLongsTours_1/data_out/res_extra_results.csv
#> Saving 7 x 5 in image
#> Saving 7 x 5 in image
#> 
#>  🎼​🎶​🎵​ O.K. Fred ​🎶​🎵​ 
#> 
#> == == == == == == == == 
#> Computing ID : 4
#> == == == == == == == == 
#> 
#> Input XLSX file copied here : 
#>  ./data_out/41_CRAW_LTE_OM_LesLongsTours/LesLongsTours/LesLongsTours_4/data_in/DO-NOT-EDIT-copy_of_input_SocMo.xlsx 
#> 
#> == a - Crop management input data ==================================
#> New names:
#> • `` -> `...2`
#> • `` -> `...3`
#> • `` -> `...7`
#> == b - Initiate calender with crop rotation =========================
#> == c - Add cover crops information ==================================
#> == d - Add irrigation application and tillage practices ================= e - Add external organic matter application =======================
#> == f - compute C input from crops, cover crops and eom ================
#> == ----> f.1 C input from crops ----
#> == ----> f.2 C input from cover crops ----
#> == ----> f.3 C input from both crops and cover crops & plant cover  ----
#> == ----> f.4 C input from eom ----
#> == f.end (graph) - export rotation ========================================
#> == g - get meteo data =================================================
#> == h - radio carbon & DPM_RPM ration ==========================
#> == i - Environmental input data ===============================
#> == j - aggregate the 2 main data frames and write the dat file ==============
#> == k - export intermediate files ==============================
#> == l - run and export results ==============================
#> Ok - yearly results written : in  ./data_out/41_CRAW_LTE_OM_LesLongsTours/LesLongsTours/LesLongsTours_4/data_out/res_year_results.csv 
#> 
#> Ok - monthly results written : in  ./data_out/41_CRAW_LTE_OM_LesLongsTours/LesLongsTours/LesLongsTours_4/data_out/res_month_results.csv 
#> 
#> Ok - extra results written : in  ./data_out/41_CRAW_LTE_OM_LesLongsTours/LesLongsTours/LesLongsTours_4/data_out/res_extra_results.csv
#> Saving 7 x 5 in image
#> Saving 7 x 5 in image
#> 
#>  🎼​🎶​🎵​ O.K. Fred ​🎶​🎵​ 
#> 
#> == == == == == == == == 
#> Computing ID : 6
#> == == == == == == == == 
#> 
#> Input XLSX file copied here : 
#>  ./data_out/41_CRAW_LTE_OM_LesLongsTours/LesLongsTours/LesLongsTours_6/data_in/DO-NOT-EDIT-copy_of_input_SocMo.xlsx 
#> 
#> == a - Crop management input data ==================================
#> New names:
#> • `` -> `...2`
#> • `` -> `...3`
#> • `` -> `...7`
#> == b - Initiate calender with crop rotation =========================
#> == c - Add cover crops information ==================================
#> == d - Add irrigation application and tillage practices ================= e - Add external organic matter application =======================
#> == f - compute C input from crops, cover crops and eom ================
#> == ----> f.1 C input from crops ----
#> == ----> f.2 C input from cover crops ----
#> == ----> f.3 C input from both crops and cover crops & plant cover  ----
#> == ----> f.4 C input from eom ----
#> == f.end (graph) - export rotation ========================================
#> == g - get meteo data =================================================
#> == h - radio carbon & DPM_RPM ration ==========================
#> == i - Environmental input data ===============================
#> == j - aggregate the 2 main data frames and write the dat file ==============
#> == k - export intermediate files ==============================
#> == l - run and export results ==============================
#> Ok - yearly results written : in  ./data_out/41_CRAW_LTE_OM_LesLongsTours/LesLongsTours/LesLongsTours_6/data_out/res_year_results.csv 
#> 
#> Ok - monthly results written : in  ./data_out/41_CRAW_LTE_OM_LesLongsTours/LesLongsTours/LesLongsTours_6/data_out/res_month_results.csv 
#> 
#> Ok - extra results written : in  ./data_out/41_CRAW_LTE_OM_LesLongsTours/LesLongsTours/LesLongsTours_6/data_out/res_extra_results.csv
#> Saving 7 x 5 in image
#> Saving 7 x 5 in image
#> 
#>  🎼​🎶​🎵​ O.K. Fred ​🎶​🎵​

Comparing the treatments

f.compare.socmo.res(l.res.lte.om, input.sim.run, input.case)
#> Dimension of the data frame :  93 19
#> Saving 7 x 5 in image
#> [1] "ok fred"

op.full.crop.list <- f.get.all.crops(l.res.lte.om)

f.plot.many.graphs(
  l.res.lte.om, input.sim.run, input.case, input.rotation.id,
  op.res = TRUE, op.full.crop.list = op.full.crop.list
)
#> 1  - == export rotation ========================================
#> 4  - == export rotation ========================================
#> 6  - == export rotation ========================================
#> [1] "\n 🎼​🎶​🎵​ O.K. Fred ​🎶​🎵​ \n\n"

Treatment 6 (incorporation + cover crop) gains the most SOC, treatment 4 (cattle manure) is a close second, and the control stays essentially flat.

A custom rotation schematic

g.rotation.t6 <- f.plot.rotation(
  l.res.lte.om[["6"]]$input$simul.values.full.input,
  title = "Longs Tours - treatment 6",
  subtitle = "Residue incorporation + cover crop",
  op.carbon.input = TRUE,
  op.rotation.cycle = 1,
  op.full.crop.list = op.full.crop.list
)
g.rotation.t6

Spin-up convergence

run.socmo() can produce the spin-up convergence diagnostic itself via op.spin.up.analysis = TRUE – no need to replay the .dat file by hand.

l.res.spinup.t6 <- run.socmo(
  input.sim.run, input.case, input.rotation.id = 6,
  op.run = TRUE, start_year = 2024, n_years = 30,
  op.split.oa = "complex", op.spin.up.analysis = TRUE,
  source.climate.data = file.path(project.dir, "data_in/97_climate/27_Sombreffe.csv")
)
#> 
#> 
#> ,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._
#> -
#> -  ./data_in/41_CRAW_LTE_OM_LesLongsTours/input_LesLongsTours.xlsx
#> -
#> ,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._
#> 
#> == == == == == == == == 
#> Computing ID : 6
#> == == == == == == == == 
#> 
#> Input XLSX file copied here : 
#>  ./data_out/41_CRAW_LTE_OM_LesLongsTours/LesLongsTours/LesLongsTours_6/data_in/DO-NOT-EDIT-copy_of_input_SocMo.xlsx 
#> 
#> == a - Crop management input data ==================================
#> New names:
#> • `` -> `...2`
#> • `` -> `...3`
#> • `` -> `...7`
#> == b - Initiate calender with crop rotation =========================
#> == c - Add cover crops information ==================================
#> == d - Add irrigation application and tillage practices ================= e - Add external organic matter application =======================
#> == f - compute C input from crops, cover crops and eom ================
#> == ----> f.1 C input from crops ----
#> == ----> f.2 C input from cover crops ----
#> == ----> f.3 C input from both crops and cover crops & plant cover  ----
#> == ----> f.4 C input from eom ----
#> == g - get meteo data =================================================
#> == h - radio carbon & DPM_RPM ration ==========================
#> == i - Environmental input data ===============================
#> == j - aggregate the 2 main data frames and write the dat file ==============
#> == k - export intermediate files ==============================
#> == l - run and export results ==============================
#> 
#>  🎼​🎶​🎵​ O.K. Fred ​🎶​🎵​

How run.socmo() initializes the starting carbon stock

RothC needs an initial state for the carbon pools before it can simulate the requested years – the spin-up – and run.socmo() offers several independent, combinable ways to control it:

  • op.spin.out – which synthetic “year 1” data to use for the spin-up: "roth.c.example.file" (default, neutral), "mean.first.rotation", "historic.crop", "historic.grassland", "historic.forest" (permanent cover presets, pushing equilibrium SOC substantially higher).
  • op.soc.initial.adj – rescale the spin-up’s pools so their sum matches the observed soc.stock from the workbook’s Sol sheet.
  • op.adjust.cinput – override the spin-up year’s driving data directly, typically from f.optim.param.c.input().
l.res.t1.grassland <- run.socmo(
  input.sim.run, input.case, input.rotation.id = 1,
  input.case = "LesLongsTours-spinout-grassland",
  op.run = TRUE, start_year = 2024, n_years = 1,
  op.split.oa = "complex", op.spin.out = "historic.grassland",
  source.climate.data = file.path(project.dir, "data_in/97_climate/27_Sombreffe.csv")
)
#> 
#> 
#> ,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._
#> -
#> -  ./data_in/41_CRAW_LTE_OM_LesLongsTours/input_LesLongsTours.xlsx
#> -
#> ,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._
#> 
#> == == == == == == == == 
#> Computing ID : 1
#> == == == == == == == == 
#> 
#> Input XLSX file copied here : 
#>  ./data_out/41_CRAW_LTE_OM_LesLongsTours/LesLongsTours-spinout-grassland/LesLongsTours-spinout-grassland_1/data_in/DO-NOT-EDIT-copy_of_input_SocMo.xlsx 
#> 
#> == a - Crop management input data ==================================
#> New names:
#> • `` -> `...2`
#> • `` -> `...3`
#> • `` -> `...7`
#> == b - Initiate calender with crop rotation =========================
#> == c - Add cover crops information ==================================
#> == d - Add irrigation application and tillage practices ================= e - Add external organic matter application =======================
#> == f - compute C input from crops, cover crops and eom ================
#> == ----> f.1 C input from crops ----
#> == ----> f.2 C input from cover crops ----
#> == ----> f.3 C input from both crops and cover crops & plant cover  ----
#> == ----> f.4 C input from eom ----
#> == g - get meteo data =================================================
#> == h - radio carbon & DPM_RPM ration ==========================
#> == i - Environmental input data ===============================
#> == j - aggregate the 2 main data frames and write the dat file ==============
#> == k - export intermediate files ==============================
#> == l - run and export results ==============================
#> 
#>  🎼​🎶​🎵​ O.K. Fred ​🎶​🎵​

cat(
  "SOC initial (op.spin.out = roth.c.example.file, default):",
  l.res.lte.om[["1"]]$res$output_years$SOC_t_C_ha[1], "tC/ha\n",
  "SOC initial (op.spin.out = historic.grassland)          :",
  l.res.t1.grassland[["1"]]$res$output_years$SOC_t_C_ha[1], "tC/ha\n"
)
#> SOC initial (op.spin.out = roth.c.example.file, default): 45.03008 tC/ha
#>  SOC initial (op.spin.out = historic.grassland)          : 229.552 tC/ha

The difference is striking: assuming permanent grassland before the simulated period pushes the spin-up equilibrium roughly five times higher than the neutral default – the choice is not a detail.

l.calib.t6 <- f.optim.param.c.input(
  input.sim.run, input.case, my.id = 6, c.obs = 54.25
)
l.calib.t6$c.input ## ready to be passed to run.socmo(op.adjust.cinput = ...)
#> $PC
#>  [1] 1 1 1 1 1 1 1 1 0 1 1 1
#> 
#> $FYM
#> [1] 0
#> 
#> $C_inp
#>  [1] 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 2.12173 0.00000
#> [10] 0.00000 0.00000 0.00000
#> 
#> $DPM_RPM
#> [1] 1.44

Summary table and stock-variation graphs

df.comp <- f.table.compare.socmo.res(
  l.res.lte.om, input.sim.run, input.case, n.years.end.avg = 3
)
df.comp[, c("id", "info", "year_init", "year_end", "SOC_init", "SOC_end",
            "deltaSOC", "deltaSOC_per_year")]
#> # A tibble: 3 × 8
#>   id    info      year_init year_end SOC_init SOC_end deltaSOC deltaSOC_per_year
#>   <chr> <chr>         <dbl>    <dbl>    <dbl>   <dbl>    <dbl>             <dbl>
#> 1 1     T1-Rem. …      2023     2053     45.0    46.8     1.77            0.0591
#> 2 4     T4-Catte…      2023     2053     45.0    56.5    11.5             0.382 
#> 3 6     T6-Inc. …      2023     2053     45.0    59.1    14.1             0.470
f.graph.delta.soc(df.comp, by = id)
#> `geom_smooth()` using method = 'loess' and formula = 'y ~ x'

f.graph.evol.soc(df.comp, by = id)

f.graph.variation(df.comp, by = id)

The rotation, animated

f.make.gif.rotation() replays f.plot.rotation() month by month over one full rotation cycle and assembles the frames into an animated GIF with magick. It is the most expensive step here (one ggplot render per month), so we only animate treatment 6. The fig/sources_gif/ folder is not created automatically by init.container().

gif.container <- file.path(project.dir, "data_out", input.sim.run, input.case,
                            paste0(input.case, "_6"))
dir.create(file.path(gif.container, "fig", "sources_gif"), recursive = TRUE, showWarnings = FALSE)

f.make.gif.rotation(
  l.res.lte.om, input.sim.run, input.case,
  input.rotation.id = 6, op.full.crop.list = op.full.crop.list, op.fps = 5
)
#>   |                                                                              |                                                                      |   0%
#>   |                                                                              |==                                                                    |   3%
#>   |                                                                              |====                                                                  |   6%
#>   |                                                                              |======                                                                |   8%
#>   |                                                                              |========                                                              |  11%
#>   |                                                                              |==========                                                            |  14%
#>   |                                                                              |============                                                          |  17%
#>   |                                                                              |==============                                                        |  19%
#>   |                                                                              |================                                                      |  22%
#>   |                                                                              |==================                                                    |  25%
#>   |                                                                              |===================                                                   |  28%
#>   |                                                                              |=====================                                                 |  31%
#>   |                                                                              |=======================                                               |  33%
#>   |                                                                              |=========================                                             |  36%
#>   |                                                                              |===========================                                           |  39%
#>   |                                                                              |=============================                                         |  42%
#>   |                                                                              |===============================                                       |  44%
#>   |                                                                              |=================================                                     |  47%
#>   |                                                                              |===================================                                   |  50%
#>   |                                                                              |=====================================                                 |  53%
#>   |                                                                              |=======================================                               |  56%
#>   |                                                                              |=========================================                             |  58%
#>   |                                                                              |===========================================                           |  61%
#>   |                                                                              |=============================================                         |  64%
#>   |                                                                              |===============================================                       |  67%
#>   |                                                                              |=================================================                     |  69%
#>   |                                                                              |===================================================                   |  72%
#>   |                                                                              |====================================================                  |  75%
#>   |                                                                              |======================================================                |  78%
#>   |                                                                              |========================================================              |  81%
#>   |                                                                              |==========================================================            |  83%
#>   |                                                                              |============================================================          |  86%
#>   |                                                                              |==============================================================        |  89%
#>   |                                                                              |================================================================      |  92%
#>   |                                                                              |==================================================================    |  94%
#>   |                                                                              |====================================================================  |  97%
#>   |                                                                              |======================================================================| 100%
#> 1/5 ## Read all PNG files (make sure they are ordered correctly)2/5 ## Optional: ensure correct order if names like 1.png, 2.png, ... 72.png3/5 ## Read images4/5 ## Create GIF (adjust fps as needed)5/5 ## Save

Animated monthly schematic of the treatment 6 rotation (residue incorporation + cover crop)

Reusing a generic soil/climate file

All Longs Tours treatments sit on the same physical plot, so when comparing only management practices there is no need to retype the same soil/climate values into every workbook. run.socmo() accepts a standalone file for either, applied identically to every requested treatment ID: source.climate.data (monthly CSV) and source.soil.data (long var/value CSV). input.case (the 4th argument, distinct from input.file) sets the output container label, keeping this demo in its own tree instead of overwriting the main run above.

l.res.generic.site <- run.socmo(
  input.sim.run, input.case, input.rotation.id,
  input.case = "LesLongsTours-altsoil",
  op.run = TRUE, start_year = 2024, n_years = 30,
  op.split.oa = "complex",
  source.climate.data = file.path(project.dir, "data_in/97_climate/27_Sombreffe.csv"),
  source.soil.data = file.path(project.dir, "data_in/98_soil/Gembloux_lte_om.csv")
)
#> 
#> 
#> ,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._
#> -
#> -  ./data_in/41_CRAW_LTE_OM_LesLongsTours/input_LesLongsTours.xlsx
#> -
#> ,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._,+°`'~._
#> 
#> == == == == == == == == 
#> Computing ID : 1
#> == == == == == == == == 
#> 
#> Input XLSX file copied here : 
#>  ./data_out/41_CRAW_LTE_OM_LesLongsTours/LesLongsTours-altsoil/LesLongsTours-altsoil_1/data_in/DO-NOT-EDIT-copy_of_input_SocMo.xlsx 
#> 
#> == a - Crop management input data ==================================
#> New names:
#> • `` -> `...2`
#> • `` -> `...3`
#> • `` -> `...7`
#> == b - Initiate calender with crop rotation =========================
#> == c - Add cover crops information ==================================
#> == d - Add irrigation application and tillage practices ================= e - Add external organic matter application =======================
#> == f - compute C input from crops, cover crops and eom ================
#> == ----> f.1 C input from crops ----
#> == ----> f.2 C input from cover crops ----
#> == ----> f.3 C input from both crops and cover crops & plant cover  ----
#> == ----> f.4 C input from eom ----
#> == g - get meteo data =================================================
#> == h - radio carbon & DPM_RPM ration ==========================
#> == i - Environmental input data ===============================
#> == j - aggregate the 2 main data frames and write the dat file ==============
#> == k - export intermediate files ==============================
#> == l - run and export results ==============================
#> 
#>  🎼​🎶​🎵​ O.K. Fred ​🎶​🎵​ 
#> 
#> == == == == == == == == 
#> Computing ID : 4
#> == == == == == == == == 
#> 
#> Input XLSX file copied here : 
#>  ./data_out/41_CRAW_LTE_OM_LesLongsTours/LesLongsTours-altsoil/LesLongsTours-altsoil_4/data_in/DO-NOT-EDIT-copy_of_input_SocMo.xlsx 
#> 
#> == a - Crop management input data ==================================
#> New names:
#> • `` -> `...2`
#> • `` -> `...3`
#> • `` -> `...7`
#> == b - Initiate calender with crop rotation =========================
#> == c - Add cover crops information ==================================
#> == d - Add irrigation application and tillage practices ================= e - Add external organic matter application =======================
#> == f - compute C input from crops, cover crops and eom ================
#> == ----> f.1 C input from crops ----
#> == ----> f.2 C input from cover crops ----
#> == ----> f.3 C input from both crops and cover crops & plant cover  ----
#> == ----> f.4 C input from eom ----
#> == g - get meteo data =================================================
#> == h - radio carbon & DPM_RPM ration ==========================
#> == i - Environmental input data ===============================
#> == j - aggregate the 2 main data frames and write the dat file ==============
#> == k - export intermediate files ==============================
#> == l - run and export results ==============================
#> 
#>  🎼​🎶​🎵​ O.K. Fred ​🎶​🎵​ 
#> 
#> == == == == == == == == 
#> Computing ID : 6
#> == == == == == == == == 
#> 
#> Input XLSX file copied here : 
#>  ./data_out/41_CRAW_LTE_OM_LesLongsTours/LesLongsTours-altsoil/LesLongsTours-altsoil_6/data_in/DO-NOT-EDIT-copy_of_input_SocMo.xlsx 
#> 
#> == a - Crop management input data ==================================
#> New names:
#> • `` -> `...2`
#> • `` -> `...3`
#> • `` -> `...7`
#> == b - Initiate calender with crop rotation =========================
#> == c - Add cover crops information ==================================
#> == d - Add irrigation application and tillage practices ================= e - Add external organic matter application =======================
#> == f - compute C input from crops, cover crops and eom ================
#> == ----> f.1 C input from crops ----
#> == ----> f.2 C input from cover crops ----
#> == ----> f.3 C input from both crops and cover crops & plant cover  ----
#> == ----> f.4 C input from eom ----
#> == g - get meteo data =================================================
#> == h - radio carbon & DPM_RPM ration ==========================
#> == i - Environmental input data ===============================
#> == j - aggregate the 2 main data frames and write the dat file ==============
#> == k - export intermediate files ==============================
#> == l - run and export results ==============================
#> 
#>  🎼​🎶​🎵​ O.K. Fred ​🎶​🎵​