protectedArea: protectedArea

View source: R/protectedArea.R

protectedAreaR Documentation

protectedArea

Description

reads protectedArea out of a MAgPIE gdx file

Usage

protectedArea(gdx, file = NULL, level = "cell", 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

sum

sum over land pools (default = FALSE)

dir

for gridded outputs: magpie output directory which contains a mapping file (rds or spam) 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 <- protectedArea(gdx)

## End(Not run)


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