View source: R/totalAreaVolume.R
totalAreaVolume | R Documentation |
The total area and volume are used to find hysteresis and to determine the contributing (conencted) fraction.
totalAreaVolume(location = ".", filespec = "*.asc", outfile = "")
location |
Optional. Directory containing the WDPM output files. Default is the current working directory. |
filespec |
Optional. File specification of WDPM output in current working directory. Default is *.asc. |
outfile |
Optional. Name of file to export values. Values are comma-delimited. If not specified, values are not written. |
Returns basin area, water volume, water area for each .asc file. Optionally writes values to outfile.
Kevin Shook
## Not run: setwd('./WDPM/output') areasVolumes <- totalAreaVolume(filespec='*_d.asc', 'drainedAreasVolumes.csv') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.