Commit fafcbd51 authored by mppalves's avatar mppalves
Browse files

new madrat retrieve parameters

parent 7630b5c9
......@@ -19,12 +19,12 @@ cfg$lpjml <- c(natveg = "LPJmL4_for_MAgPIE_44ac93de+oldGSWP3",
# ssp126, ssp245, ssp370, ssp585,
# ssp119 (only MRI, IPSL, UKESMI),
# ssp460 (only MRI, IPSL)
# cfg$climatetype <- "MRI-ESM2-0:ssp370"
cfg$climatetype <- "IPSL-CM6A-LR:ssp126"
cfg$climatetype <- "MRI-ESM2-0:ssp370"
#cfg$climatetype <- "IPSL-CM6A-LR:ssp126"
# Pasture Soil carbon Machine learning emulator ID.
# This ID can be found in the source folder 'GrassSoilEmu' after the emulator has been trained.
cfg$emu_id <- "0d9d46"
cfg$emu_id <- "d660cb"
# Current ISIMIP version from where climate raw data will be read.
cfg$version_isimip = "ISIMIP3b"
......@@ -40,7 +40,7 @@ cfg$isimip <- NULL
cfg$revision <- 4.62
# developer suffix for regional revision
cfg$dev <- ""
cfg$dev <- "MPPA3"
# aggregation clustering type, which is a combination of a single letter, indicating the cluster methodology, and a number,
# indicating the number of resulting clusters. Available methodologies are hierarchical clustering (h), normalized k-means clustering
......
......@@ -24,6 +24,6 @@ start_preprocessing <- function(cfg, debug=FALSE){
madrat::retrieveData(model="CellularMAgPIE", rev=cfg$revision, dev=cfg$dev, cachetype="def",
ctype=cfg$ctype, lpjml=cfg$lpjml,
climatetype=cfg$climatetype, clusterweight=cfg$clusterweight, isimip=cfg$isimip,
version_isimip = cfg$version_isimip, emu_id = cfg$emu_id)
madrat::retrieveData(model="Validation", rev=cfg$revision, dev=cfg$dev, cachetype="def")
version_isimip = cfg$version_isimip, emu_id = cfg$emu_id, maxLengthLogMessage = 500)
madrat::retrieveData(model="Validation", rev=cfg$revision, dev=cfg$dev, cachetype="def", emu_id = cfg$emu_id, lpjml=cfg$lpjml)
}
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