waterEFVratio: waterEFVratio

View source: R/waterEFVratio.R

waterEFVratioR Documentation

waterEFVratio

Description

calculates ratio of environmental flow violation volume (EFV) to water environmental flow requirements (EFR) in MAgPIE.

Usage

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

dir

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

Value

MAgPIE object

Author(s)

Felicitas Beier

Examples


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


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