waterEFVarea: waterEFVarea

View source: R/waterEFVarea.R

waterEFVareaR Documentation

waterEFVarea

Description

calculates area that falls into cluster experiencing environmental flow violations from MAgPIE outputs

Usage

waterEFVarea(gdx, file = NULL, level = "reg", digits = 4, dir = ".")

Arguments

gdx

GDX file

file

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

level

spatial level of aggregation: "cell" (cellular), "reg" (regional), "glo" (global), "regglo" (regional and global), or "grid" (for disaggregated output using cropland as weight)

digits

integer. For rounding of the return values

dir

directory for weight for disaggregation

Value

A MAgPIE object containing the area under environmental flow violations (Mha)

Author(s)

Felicitas Beier

Examples

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

## End(Not run)

pik-piam/magpie4 documentation built on April 27, 2024, 2:12 p.m.