Commit cbe0f9a1 authored by Kristine Karstens's avatar Kristine Karstens
Browse files

update LPjmL version and start scripts (add new baseline test preprocessing)

parent ff628d02
...@@ -8,8 +8,9 @@ cfg$regionmapping <- "config/regionmappingH12.csv" ...@@ -8,8 +8,9 @@ cfg$regionmapping <- "config/regionmappingH12.csv"
# which LPJmL data set should be used # which LPJmL data set should be used
# see cmuellers landuse folder for available options # see cmuellers landuse folder for available options
cfg$lpjml <- c(natveg = "LPJmL4_for_MAgPIE_84a69edd", # use '+' for add-on settings specified in mrcommons::toolLPJmLVersion
crop = "ggcmi_phase3_nchecks_fbed5c8b_newparam", cfg$lpjml <- c(natveg = "LPJmL4_for_MAgPIE_44ac93de+oldGSWP3",
crop = "ggcmi_phase3_nchecks_9ca735cb+oldGSWP3",
cgrazing = "LPJmL_cgrazing", cgrazing = "LPJmL_cgrazing",
mowing = "LPJmL_mowing") mowing = "LPJmL_mowing")
...@@ -52,4 +53,4 @@ cfg$ctype <- "c200" ...@@ -52,4 +53,4 @@ cfg$ctype <- "c200"
cfg$clusterweight <- NULL cfg$clusterweight <- NULL
# number of cores # number of cores
cfg$nocores <- 10 cfg$n_cores <- 10
#########################################################################
#### Start script for MAgPIE input data with various gcm as baseline ####
#########################################################################
source("preprocessing.R")
#set defaults
source("config/default.cfg")
gcm <- c("GFDL-ESM4", "IPSL-CM6A-LR", "MPI-ESM1-2-HR", "MRI-ESM2-0", "UKESM1-0-LL")
rcp <- "ssp370"
lpjml <- cfg$lpjml[1:2]
for(g in gcm){
# new setting fpr lpjml input
cfg$lpjml[1:2] <- paste0(lpjml, "+", g, ":", rcp)
cfg$climatetype <- paste(g, rcp, sep=":")
start_preprocessing(cfg)
}
################################################# ########################################################
#### Preprocessing for MAgPIE 4.0 test runs #### #### Preprocessing for set of MAgPIE 4.0 test runs ####
################################################# ########################################################
source("preprocessing.R") source("preprocessing.R")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment