-
Notifications
You must be signed in to change notification settings - Fork 42
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
add Price|Carbon|Imported
for ELEVATE
#490
Conversation
0e3863c
to
95aa02e
Compare
@@ -1015,7 +1032,9 @@ reportPrices <- function(gdx, output=NULL, regionSubsetList=NULL, | |||
map <- data.frame(region=getRegions(out),world="GLO",stringsAsFactors=FALSE) | |||
tmp_GLO <- new.magpie("GLO",getYears(out),getNames(out),fill=0) | |||
|
|||
for (i2e in names(int2ext)){ | |||
int2ext <- int2ext[intersect(names(int2ext), getNames(out))] # select only data that exists |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not familiar with this. would be great if @pweigmann could check this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good!
@@ -1015,7 +1032,9 @@ reportPrices <- function(gdx, output=NULL, regionSubsetList=NULL, | |||
map <- data.frame(region=getRegions(out),world="GLO",stringsAsFactors=FALSE) | |||
tmp_GLO <- new.magpie("GLO",getYears(out),getNames(out),fill=0) | |||
|
|||
for (i2e in names(int2ext)){ | |||
int2ext <- int2ext[intersect(names(int2ext), getNames(out))] # select only data that exists |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good!
95aa02e
to
65d8938
Compare
Fixed another error. If none of the |
Price|Carbon|Imported
for ELEVATEint2ext
for global aggregation is not leading to fails anymore