Residues: Residues

View source: R/Residues.R

ResiduesR Documentation

Residues

Description

reads various crop residue (carbon) outputs out of a MAgPIE gdx file

Usage

Residues(
  gdx,
  level = "regglo",
  products = "kres",
  waterAggr = TRUE,
  output = "all"
)

Arguments

gdx

GDX file

level

Level of regional aggregation; "reg" (regional), "glo" (global), "regglo" (regional and global)

products

Selection of products (either "kcr" or "kres")

waterAggr

Aggregate irrigated and non-irriagted production or not (boolean).

output

Switch between different outputs: "biomass", "fieldBalance", "resDemand", all

Value

production as MAgPIE object (unit depends on attributes)

Author(s)

Kristine Karstens, Michael Crawford

See Also

ResidueBiomass

Examples


  ## Not run: 
    x <- Residues(gdx)
  
## End(Not run)

pik-piam/magpie4 documentation built on Sept. 20, 2024, 10 a.m.