View source: R/findClosestPointToOutlet.R
findClosestPointToOutlet | R Documentation |
Finds minumum distance to outet from pond
findClosestPointToOutlet(water_file, outletXY)
water_file |
Required. WDPM output. |
outletXY |
Required. Vector containing outlet X and Y coordinates. Can be
the output of the command |
Returns the minimum distance from the the pond divide to the outlet.
Kevin Shook
findOutlet
## Not run: outlet <- findOutlet("basin5.asc") min_distance <- findClosestPointToOutlet("100_0_0_0_d.asc", outlet$pourXY) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.