-
Notifications
You must be signed in to change notification settings - Fork 7
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
Unit shift: USD2005 -> USD2017 #50
base: main
Are you sure you want to change the base?
Conversation
robinhasse
commented
Dec 6, 2024
- shift to USD2017 unit
- use biomass split from mrcommons to ensure consistency
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.
Thank you, also for all the small code improvements (that nicely solve some issues I've stumbled upon recently).
Just some minor comments :-)
as.quitte() %>% | ||
as.magpie() | ||
as.magpie() %>% | ||
toolSplitBiomass(gdppop, dim = 3.1) %>% |
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.
dim = 3.1
is the default, so you could also skip this.
as.quitte() %>% | ||
as.magpie() %>% | ||
toolSplitBiomass(gdppop, "biomod", dim = "carrier") %>% | ||
as.quitte() %>% |
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.
Maybe we could also enable toolSplitBiomass
to handle both quitte and magpie obejcts? Just an idea and definitely does not have to be now.
# DISAGGREGATE --------------------------------------------------------------- | ||
# SAGGREGATE ----------------------------------------------------------------- |
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.
Probably not intentional?