largestWaterPatchVolume: Finds volumes of largest water patches

View source: R/largestWaterPatchVolume.R

largestWaterPatchVolumeR Documentation

Finds volumes of largest water patches

Description

Finds volumes of largest water patches

Usage

largestWaterPatchVolume(waterFile, threshold = 0.001)

Arguments

waterFile

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

threshold

Optional. Threshold for delineating water. Default is 0.001 m.

Value

Returns a vector consisting of the area (m^2), and the volume (m^3) for the largest patch.

Examples

## Not run: 
vols <- waterPatchVolume("5m_300_0_0_0_d.asc", threshold = 0.001)

## End(Not run)

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