emisCO2 | R Documentation |
reads detailed CO2 emissions out of a MAgPIE gdx file
emisCO2(
gdx,
file = NULL,
level = "cell",
unit = "gas",
sum_cpool = TRUE,
sum_land = TRUE,
cumulative = FALSE,
baseyear = 1995,
lowpass = 3
)
gdx |
GDX file |
file |
a file name the output should be written to using write.magpie |
level |
Level of regional aggregation; "reg" (regional), "glo" (global), "regglo" (regional and global) or any other aggregation level defined in superAggregate |
unit |
"element" or "gas"; "element": co2_c in Mt C/yr "gas": co2_c Mt CO2/yr |
sum_cpool |
aggregate carbon pools (TRUE), below ground (soilc) and above ground (vegc and litc) will be reported, if FALSE |
sum_land |
TRUE (default) or FALSE. Sum over land types (TRUE) or report land-type specific emissions (FALSE). |
cumulative |
Logical; Determines if emissions are reported annually (FALSE) or cumulative (TRUE). The starting point for cumulative emissions is y1995. |
baseyear |
Baseyear used for cumulative emissions (default = 1995) |
lowpass |
number of lowpass filter iterations (default = 3) |
CO2 emissions as MAgPIE object (unit depends on unit
)
Florian Humpenoeder, Michael Crawford
## Not run:
x <- emisCO2(gdx)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.