landConservation: landConservation

View source: R/landConservation.R

landConservationR Documentation

landConservation

Description

reads land conservation information out of a MAgPIE gdx file. Land restoration 'restore' is reported in Mha/yr by default but can be also reported both over the time step length and cumulatively.

Usage

landConservation(
  gdx,
  file = NULL,
  level = "cell",
  cumuRestor = FALSE,
  baseyear = 1995,
  annualRestor = FALSE,
  sum = FALSE,
  dir = "."
)

Arguments

gdx

GDX file

file

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

level

Level of regional aggregation; "cell", "grid", "iso, "reg" (regional), "glo" (global), "regglo" (regional and global) or any secdforest aggregation level defined in superAggregate

cumuRestor

Logical; Whether function should report cumulative land restoration.

baseyear

Base year used for cumulative land restoration reporting (default = 1995)

annualRestor

Logical; Whether function should report annual land restoration.

sum

sum over land pools (default = FALSE)

dir

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

Details

protected areas in primforest, secdforest and other land

Value

protected area in Mha

Author(s)

Florian Humpenoeder, Patrick v. Jeetze

Examples

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

## End(Not run)


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