Skip to content

Commit

Permalink
make checkSummationRegional valuable for REMIND-EU21
Browse files Browse the repository at this point in the history
  • Loading branch information
orichters committed Jul 15, 2024
1 parent ca46048 commit ffaf2eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/output/single/checkProjectSummations.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ if(! exists("source_include")) {
scen <- lucode2::getScenNames(outputdir)
mif <- file.path(outputdir, paste0("REMIND_generic_", scen, ".mif"))
mifdata <- as.quitte(mif)
envi <- new.env()
load(file.path(outputdir, "config.Rdata"), env = envi)

stopmessage <- NULL

Expand Down Expand Up @@ -57,6 +59,7 @@ for (mapping in c("AR6", "NAVIGATE")) {
droplevels()

csregi <- d %>%
filter(.data$region %in% unique(c("GLO", "World", read.csv2(envi$cfg$regionmapping)$RegionCode))) %>%
checkSummationsRegional(skipUnits = TRUE) %>%
rename(World = "total") %>%
droplevels()
Expand Down

0 comments on commit ffaf2eb

Please sign in to comment.