waterPatchVolume: Finds volumes of water patches

View source: R/waterPatchVolume.R

waterPatchVolumeR Documentation

Finds volumes of water patches

Description

Finds volumes of water patches

Usage

waterPatchVolume(patches, waterFile, quiet = TRUE)

Arguments

patches

Required. SDMTools object containing numbered water patches, as returned by getWaterPatches.

waterFile

Required. An ArcGIS .asc file containing water depths, as produced by WDPM.

quiet

Optional. If TRUE, the default, there is no extra output. If FALSE, the patches are listed as they are measured.

Value

Returns a data frame consisting of the ID, area (m^2), and the volume (m^3) for each patch.

Examples

## Not run: 
vols <- waterPatchVolume(patches, '5m_300_0_0_0_d.asc')

## End(Not run)

KevinShook/WDPMr documentation built on April 23, 2022, 12:32 a.m.