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

Unit shift: USD2005 -> USD2017 #50

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

robinhasse
Copy link
Contributor

  • shift to USD2017 unit
  • use biomass split from mrcommons to ensure consistency

Copy link
Contributor

@ricardarosemann ricardarosemann left a 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) %>%
Copy link
Contributor

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.

Comment on lines +85 to +88
as.quitte() %>%
as.magpie() %>%
toolSplitBiomass(gdppop, "biomod", dim = "carrier") %>%
as.quitte() %>%
Copy link
Contributor

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 -----------------------------------------------------------------
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably not intentional?

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

Successfully merging this pull request may close these issues.

Function name toolSplitBiomass is duplicated
2 participants