metis.prepGrid: metis.prepGrid

Description Usage Arguments Value

View source: R/metis.prepGrid.R

Description

This function prepares gridded data for use with other metis modules.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
metis.prepGrid(demeterFolder = NULL, demeterScenario = NULL,
  demeterTimesteps = seq(from = 2005, to = 2100, by = 5),
  demeterUnits = NULL, tethysFolder = NULL, tethysScenario = NULL,
  tethysUnits = NULL, tethysFiles = c("wddom", "wdelec", "wdirr",
  "wdliv", "wdmfg", "wdmin", "wdnonag", "wdtotal"), xanthosFolder = NULL,
  xanthosScenario = NULL, xanthosUnits = NULL, xanthosFiles = NULL,
  xanthosCoordinatesPath = paste(getwd(),
  "/dataFiles/grids/xanthosCoords/coordinates.csv", sep = ""),
  scarcityXanthosRollMeanWindow = 10, dirOutputs = paste(getwd(),
  "/outputs", sep = ""), reReadData = 1,
  gridMetisData = paste(dirOutputs, "/Grids/gridMetis.RData", sep = ""))

Arguments

demeterFolder

Full path to demeter outputs

demeterScenario

Name of demeter scenario

demeterTimesteps

Default is seq(from=2005,to=2100,by=5)

demeterUnits

No Default

tethysFolder

Folder for tethys results

tethysScenario

Scenario name for tethys run

tethysUnits

No Default

tethysFiles

Default =c("wddom","wdelec","wdirr","wdliv","wdmfg","wdmin","wdnonag","wdtotal"),

xanthosFolder

Xanthos Folder Path

xanthosScenario

Xanthos Scenario Name

xanthosUnits

Xanthos Untis

xanthosFiles

Xanthos Files to Read

xanthosCoordinatesPath

paste(getwd(),"/dataFiles/grids/xanthosCoords/coordinates.csv",sep="")

scarcityXanthosRollMeanWindow

Default = 10,

dirOutputs

Default =paste(getwd(),"/outputs",sep=""),

reReadData

Default =1,

gridMetisData

Default = paste(dirOutputs, "/Grids/gridMetis.RData", sep = "")

Value

A table with data by polygon ID for each shapefile provided


zarrarkhan/srn documentation built on May 21, 2019, 4:07 a.m.