• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

MakefileH A D10-Oct-2021184 116

READMEH A D10-Oct-2021747 2615

arc.to.gridatb.plH A D10-Oct-2021926 4644

file_io.cH A D10-Oct-20212.8 KiB10084

global.hH A D10-Oct-2021773 3528

gridatb.to.arc.plH A D10-Oct-2021652 3028

main.cH A D10-Oct-20212 KiB7239

topidx.cH A D10-Oct-20216.6 KiB274244

README

1Main algorithm sources are rewritten from GRIDATB.FOR.
2GRIDATB.FOR is available from http://www.es.lancs.ac.uk/hfdg/topmodel.html.
3
4Thanks to Keith Beven.
5
6
7
8[r.topidx]
9creates topographic index, ln(a/tan(beta)), map from elevation map.
10
11	where
12		a: the area of the hillslope per unit contour length that drains
13		   through any point
14
15	tan(beta): the local surface topographic slope
16		   (delta vertical) / (delta horizontal)
17
18
19Elevation map need not to be rectangular if study basin was already determined.
20Non-interesting region may have NULL values.  Study basin map can be taken
21from r.water.outlet then the following r.mapcalc statements will create
22study basin extracted elevation map.
23
24	r.mapcalc "belev = if(isnull(basin), basin, elev)"
25
26