Description Usage Arguments Value
View source: R/vic_relevents.R
Offer the grid of flow direction and the site (row and column) of the hydrological station and returns a table of the coordinates of the gridcells in the basin controled by the station.
1 2 |
dir |
Direction grid created by create_flow_direction() or a matrix. |
stn_col |
Column of the hydrological station |
stn_row |
Row of the hydrological station |
arc_code |
If use the ArcInfo direction code. Default True. |
xcor |
X coordinate of the corner of the grid. Should offered if dir is a matrix. |
ycor |
Y coordinate of the corner of the grid. Should offered if dir is a matrix. |
csize |
Size of the gridcells. Should offered if dir is a matrix. |
get_coords |
If return the coordinates of the gridcells of the basin, or return the rows and columns. |
A data frame contains the coordinates of the gridcells in the basin.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.