PeatlandArea: PeatlandArea

View source: R/PeatlandArea.R

PeatlandAreaR Documentation

PeatlandArea

Description

reads peatland area out of a MAgPIE gdx file

Usage

PeatlandArea(gdx, file = NULL, level = "cell", sum = TRUE)

Arguments

gdx

GDX file

file

a file name the output should be written to using write.magpie

level

Level of regional aggregation; "cell", "reg" (regional), "glo" (global), "regglo" (regional and global) or any aggregation level defined in superAggregate. In addition "climate" for the 3 climate regions tropical, temperate and boreal is available.

sum

sum over land types TRUE (default) or FALSE

Details

Intact, degraded and rewettet peatland area

Value

Peatland area in Mha

Author(s)

Florian Humpenoeder

Examples


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

pik-piam/magpie4 documentation built on April 17, 2024, 9:22 a.m.