diff --git a/scripts/output/single/fixOnRef.R b/scripts/output/single/fixOnRef.R index 833873358..341b29b87 100644 --- a/scripts/output/single/fixOnRef.R +++ b/scripts/output/single/fixOnRef.R @@ -81,7 +81,7 @@ fixOnMif <- function(outputdir) { dref <- quitte::as.quitte(refmif) d <- fixMAGICC(d, dref, startyear, title) failfile <- file.path(outputdir, "log_fixOnRef.csv") - fixeddata <- piamInterfaces::fixOnRef(d, dref, ret = "TRUE_or_fixed", startyear = startyear, failfile = failfile) + fixeddata <- piamInterfaces::fixOnRef(d, dref, ret = "TRUE_or_fixed", startyear = startyear, failfile = failfile, relDiff = 0.00002) update <- paste0("MAGICC data. ", if (! isTRUE(fixeddata)) "Run output.R -> single -> fixOnRef to fix the rest.") if (! isTRUE(fixeddata) && isTRUE(envi$cfg$fixOnRefAuto)) {