waterEFViolation: waterEFViolation

View source: R/waterEFViolation.R

waterEFViolationR Documentation

waterEFViolation

Description

calculates environmental flow violation volume from MAgPIE outputs

Usage

waterEFViolation(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 volume of environmental flow violations (km^3)

Author(s)

Felicitas Beier

Examples

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

## End(Not run)

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