reportYieldShifter: reportYieldShifter

View source: R/reportYieldShifter.R

reportYieldShifterR Documentation

reportYieldShifter

Description

Reports the Crop model input yield shifter

Usage

reportYieldShifter(
  gdx,
  file = NULL,
  level = "reg",
  baseyear = "y2000",
  relative = TRUE,
  dir = ".",
  spamfiledirectory = ""
)

Arguments

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

baseyear

baseyear for the yield shifter. Also fixes land patterns for aggregation to baseyear.

relative

relative or absolute changes to baseyear

dir

for gridded outputs: magpie output directory which contains a mapping file (rds) for disaggregation

spamfiledirectory

deprecated. please use dir instead

Value

crop yield as MAgPIE object (unit depends on attributes)

Author(s)

Benjamin Leon Bodirsky

See Also

reportYieldShifter

Examples


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


pik-piam/magpie4 documentation built on Dec. 20, 2024, 1:59 p.m.