dir2river: Conver flow direction ascii grid to river table.

Description Usage Arguments Value

View source: R/river_routing.R

Description

Conver flow direction ascii grid to rivers.

Usage

1
dir2river(dir.file, grid.loc, arcinfo = TRUE)

Arguments

dir.file

Path of the flow direction ascii grid file.

grid.loc

A two-column array, a column is longitute and another column is latitude of the grids to be considered in XAJ model.

arcinfo

If the direction code is arcgis style. Default TRUE.

Value

A table containing the informations of the river network. Each row represents a river channel, the first column is the next river channel to flow in, the second column is the length [m] of the river channel, while the third column is the subbasin flow into that river channel.


Sibada/XAJ documentation built on Jan. 10, 2022, 9:36 p.m.