waterOptions: Global options for water package

Description Usage Arguments Value Author(s) References

View source: R/zzz.R

Description

This function is based on raster::rasterOptions by Robert Hijmans.

Usage

1
2
waterOptions(overwrite, writeResults, outputFolder, SRTMrepo, autoAoi,
  default = FALSE)

Arguments

overwrite

Logical. If TRUE and writeResults is TRUE it will overwrite results. If FALSE, results are save with a name with name_datetime.

writeResults

Logical. If TRUE it'll write result to disk. This is slower but if FALSE you can have out-of-memory problems.

outputFolder

Name of a folder to save files, relative to workind folder.

SRTMrepo

A folder where SRTM grids are stored, to create DEM. See prepareSRTMdata()

autoAoi

Logical. If TRUE it'll look for a object called aoi on .GlobalEnv and use it as aoi. See createAoi()

default

Logical. If TRUE will revert all options to defaults values

Value

list of the current options (invisibly). If no arguments are provided the options are printed.

Author(s)

Guillermo F Olmedo, [email protected]

References

Robert J. Hijmans (2015). raster: Geographic Data Analysis and Modeling. R package version 2.4-18. http://CRAN.R-project.org/package=raster


water documentation built on May 29, 2017, 5:55 p.m.