Description Usage Arguments Value
View source: R/vic_relevents.R
Create the flow direction data of each VIC gridcell for the routing model of VIC by providing a high resolution flow accumulation data (about 90m usually caculated from SRTM DEM by ArcGIS) and the domain file of VIC model. WARNING: This is a simple heuristic method and more fit for small gridcell. It's usually needs further manual calibration by set_direc and plot_flow_direc.
1 2 | create_flow_direction(flow_file, domain_file, arc_code = TRUE,
diag_tsh = 0.382)
|
flow_file |
An netCDF4 file of the flow accumulation data from high resolution DEM (about 90m). Must containing all the area. |
domain_file |
Domain file (netCDF4 format) of VIC model. |
arc_code |
If the direction code is ArcInfo type. If FALSE, it would set to 1 to 8. |
diag_tsh |
Diag threshould. Determine if flow to the diag gridcell. |
A list including the meta parameters (num of rows and columns, size of the cells, x and y corner) and the matrix of the flow direction data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.