croplandTreeCover: croplandTreeCover

View source: R/croplandTreeCover.R

croplandTreeCoverR Documentation

croplandTreeCover

Description

calculates tree cover on cropland (Mha) from a MAgPIE gdx file

Usage

croplandTreeCover(gdx, level = "reg", dir = ".", sum_ac = TRUE, debug = FALSE)

Arguments

gdx

GDX file

level

aggregation level, reg, glo or regglo, cell or grid

dir

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

sum_ac

sum over age classes TRUE / FALSE

debug

debug mode TRUE makes some consistency checks between estimates for different resolutions

Author(s)

Florian Humpenoeder

Examples

## Not run: 
x <- fallow(gdx)

## End(Not run)


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