Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.62 KB

tutorial.md

File metadata and controls

27 lines (21 loc) · 1.62 KB

Tutorials

  • To understand how to submit to the IIASA database, read this REMIND tutorial.

  • To edit a template in R, use:

    templatedata <- getTemplate("AR6")
    ...
    write.csv2(templatedata, "test.csv", na = "", row.names = FALSE, quote = FALSE)
    
  • The github diff on a large semicolon-separated file is often unreadable. For a human-readable output, save the old version of the mapping and run:

    remind2::compareScenConf(fileList = c("oldfile.csv", "mappingfile.csv"), row.names = NULL)
    
  • To compare the results of different models, pass as modeldata a quitte object or a csv/xlsx file. You get a PDF document for each scenario and each model with area plots for all the summation groups in AR6 (or NAVIGATE) summation files plus line plots for each variable in the lineplotVariables vector you supplied. It takes some time, better use a slurm job for:

    plotIntercomparison(modeldata, summationsFile = "AR6", lineplotVariables = c("Temperature|Global Mean", "Population"))
    
  • If your modeldata is not well filtered such that for example model regions are not too different, you can use interactive = TRUE which allows to select models, regions, scenarios and variables that you like in your PDF. As lineplotVariables, you can also specify template names.

    plotIntercomparison(modeldata, summationsFile = "AR6", lineplotVariables = c("AR6", "AR6_NGFS"), interactive = TRUE)