| 1 | <h2>DESCRIPTION</h2> |
| 2 | |
| 3 | <em>r.water.outlet</em> generates a watershed basin from a drainage |
| 4 | direction map and a set of coordinates representing the outlet point |
| 5 | of the watershed. |
| 6 | |
| 7 | <p> |
| 8 | Input drainage direction map indicates the "aspect" for each |
| 9 | cell. Multiplying positive values by 45 will give the direction in |
| 10 | degrees that the surface runoff will travel from that cell. The value |
| 11 | -1 indicates that the cell is a depression area. Other negative values |
| 12 | indicate that surface runoff is leaving the boundaries of the current |
| 13 | geographic region. The absolute value of these negative cells |
| 14 | indicates the direction of flow. This raster map is generated from |
| 15 | <em><a href="r.watershed.html">r.watershed</a></em>. |
| 16 | |
| 17 | <p> |
| 18 | Output raster map values of one (1) indicate the watershed |
| 19 | basin. Values of zero (0) are not in the watershed basin. |
| 20 | |
| 21 | <h2>NOTES</h2> |
| 22 | |
| 23 | In the context of this program, a watershed basin is the region |
| 24 | upstream of an outlet point. Thus, if the user chooses an outlet point |
| 25 | on a hill slope, the resulting map will be a thin sliver of land |
| 26 | representing the overland slope uphill of the point. |
| 27 | |
| 28 | <h2>EXAMPLE</h2> |
| 29 | |
| 30 | A watershed in |
| 31 | the <a href="https://grass.osgeo.org/download/data/">North |
| 32 | Carolina sample dataset</a> region: |
| 33 | |
| 34 | <div class="code"><pre> |
| 35 | g.region raster=elev_lid792_1m -p |
| 36 | # the watershed outlet position should be placed on a stream (from |
| 37 | # accumulation map): |
| 38 | r.watershed elev_lid792_1m threshold=5000 accumulation=accum_5K drainage=draindir_5K basin=basin_5K |
| 39 | r.water.outlet input=draindir_5K output=basin_A30 coordinates=638740.423248,220271.519225 |
| 40 | |
| 41 | d.mon wx0 |
| 42 | d.rast map=accum_5K |
| 43 | d.rast map=basin_A30 |
| 44 | |
| 45 | # overlay with transparency |
| 46 | r.colors map=basin_A30 color=grey |
| 47 | d.his h=accum_5K i=basin_A30 |
| 48 | |
| 49 | # report outlet size in ha |
| 50 | r.report map=basin_A30 units=h |
| 51 | </pre></div> |
| 52 | |
| 53 | <p> |
| 54 | <center> |
| 55 | <img src="r_water_outlet.png" border="0"><br> |
| 56 | <i>Figure: Watershed draped over flow accumulation</i> |
| 57 | </center> |
| 58 | |
| 59 | <h2>SEE ALSO</h2> |
| 60 | |
| 61 | <em> |
| 62 | <a href="https://grass.osgeo.org/grass8/manuals/addons/r.wateroutlet.lessmem.html">r.wateroutlet.lessmem</a> (addon), |
| 63 | <a href="d.where.html">d.where</a>, |
| 64 | <a href="r.basins.fill.html">r.basins.fill</a>, |
| 65 | <a href="r.watershed.html">r.watershed</a>, |
| 66 | <a href="r.topidx.html">r.topidx</a> |
| 67 | </em> |
| 68 | |
| 69 | <h2>AUTHOR</h2> |
| 70 | |
| 71 | Charles Ehlschlaeger, U.S. Army Construction Engineering Research Laboratory |