View source: R/getWaterPatches.R
getWaterPatches | R Documentation |
The purpose is to find water patches in an .asc file. The patch numbers can be used to determine the drainage basin areas.
getWaterPatches(infile, threshold = 0.001)
infile |
Required. ArcGIS .asc file of water depths, as output by WDPM. |
threshold |
Optional. Threshold (in m) to determine the existence of water. The default value is 0.001 m, i.e. 1 mm. |
Returns an SDMTools object containing the numbered water patches.
## Not run: patches <- getWaterPatches('10_0_0_0_d.asc') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.