Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cs2: add explicit historic variables #628

Open
robertpietzcker opened this issue Jul 15, 2024 · 0 comments
Open

cs2: add explicit historic variables #628

robertpietzcker opened this issue Jul 15, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@robertpietzcker
Copy link
Contributor

With more and more versions of variables with slightly different definitions (w/ vs w/o bunkers, "LULUCF national accounting", w/ vs w/o non-energy use) it would be very helpful to have the possibility to add variables that should as well be displayed from "historical.mif".

as an example, I added "Emi|GHG|w/ Bunkers|LULUCF national accounting" as a new variable from REMIND to cs2.
Now as there is no variable with the same name in historical.mif, no historic lines appear.
it would be great if one could write something like this:

showLinePlots(data, "Emi|GHG|w/ Bunkers|LULUCF national accounting", historic="Emi|GHG|w/ Bunkers", modelsHistInclude="UNFCCC")

I think we will always have the situation where a source only provides one of the two versions, but we still want to be able to use it as comparison point also for the "slightly different" variable definition.
Currently this is realized by just adding both names, eg:

items <- c(
  "Emi|GHG", # scenario
  "Emi|GHGtot") # historical
showLinePlots(data, items)

but this only works as long as REMIND doesn't provide both variables. Once you have versions such as "w/ Bunkers" where REMIND provides BOTH variables, adding both variable names would mean also both REMIND values are plotted in the same plot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants