Marks all the outlets of the considered region on the drainage directions map with the conventional value 10. In fact some applications in JGrassTools request that the outlets are specified explicitly.
Inputs
- the file containing the matrix of the drainage directions to
modify (obtained with FlowDirections or DrainDir)
Output
- the file containing the matrix of the flow data assigned in input
with the outlets set equal to 10
Notes
The program works following the drainage directions until it finds a value that is not a drainage direction. Then it marks the point directly upriver as outlet.