In taudem I know that I can use StreamNet function:
StreamNet -fel <felfile> -p <pfile> -ad8 <ad8file> -src <srcfile> -ord <ordfile> -tree <treefile> -coord<coordfile> -net <netfile> [ -netlyr netlayername] [ -o <outletfile>] [ -lyrname <layer name>] [ -lyrno <layer number>] -w <wfile> [ -sw] pfile: Input D8 flow directions grid 'p' srcfile: Input stream raster grid 'src' ordfile: Output grid of channel network Strahler order 'ord' ad8file: Input grid with D8 contributing area 'ad8' felfile: Input pit filled elevation data grid 'fel' treefile: Output textfile with list of links in channel network tree coordfile: Output textfile with list of coordinates in channel network tree outletfile: input outlets file (OGR readable dataset).This must contain a field named "id" that is used to identify the links upstream of outlet points layer name: OGR layer name if outlets are not the first layer in outletfile (optional) layer number: OGR layer number if outlets are not the first layer in outletfile (optional) Layer name and layer number should not both be specified. wfile: Output grid of watershed identifiers 'w' netfile: Output file (OGR writeable data set) of resultant channel network. netlayername: layer name of netfile (Optional)
to obtain the streamline shape, by reading off the values in the output file
But what about obtaining, for each cell, the portion of upstream cells that contribute flow to it?
I suspect that the answer lies somewhere in the command argument
wfile( with the file extension
netfile ( with the extension
.shp). But these are binary files, and I don't know how can I extract the information out.
Note: I am aware that
tif files can be opened by GIS suite, but that is not my purpose. I want to extract those information out because I want to be able to render them on my own choice of viewer, and maybe do some statistical analysis on it using statistical tools of my choice