pik-piam / magpie4

R package | MAgPIE outputs R package for MAgPIE version 4.x
GNU Lesser General Public License v3.0
2 stars 24 forks source link

Remove inorg_fert aggregate if split into pasture and crop #33

Closed jansteinhauser closed 1 year ago

jansteinhauser commented 1 year ago

Remove aggregate to avoid double counting for subcategories = FALSE.

Currently, Emissions(gdx, level = "reg", type = c("n2o_n"), subcategories = FALSE, inorg_fert_split = TRUE) double-counts inorg_fert, as it's present both in the initially aggregated form and disaggregated for pasture and crop.

Since, for inorg_fert_split = TRUE, the fertilizer data is still available in split form, can we remove the aggregate as suggested?