<div dir="ltr">Hi,<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 27, 2014 at 2:20 PM, Moritz Lennert <span dir="ltr"><<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="">On 27/03/14 14:08, Newcomb, Doug wrote:<br>

</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><br></div><div class="">
<br>
<br>
    1) to keep r.stream.basins as an add-on, demanding the delineation of<br>
    multiple subbasins from coordinates to a user´s script looping<br>
    r.water.outlet;<br>
    2) to include r.stream.basins and keep also r.water.outlet;<br>
    3) to include r.stream.basins in the core and remove r.water.outlet as<br>
    obsolete.<br>
    4) ?<br>
<br>
    regards from Vienna<br>
<br>
    Madi, Helmut<br><br>
<br>
If r.stream.basins can replicate the functionality of r.water.outlet, I<br>
would prefer 3  . Some argument might be made for a conservative<br>
approach for option 2 for version 7.0 and drop r.water.outlet in version<br>
7.1, but 7.0 is in development status. Why not make the change now?<br>
</div></blockquote>
<br>
As long as results are identical, +1. If not, this should be explored further.<span class=""><font color="#888888"><br>
<br></font></span></blockquote><div> </div><div>I reproduced the example given in the manual page (NC dataset) of r.water.outlet using r.stream.basin:</div><div><pre style="color:rgb(0,0,0)">g.region rast=elev_lid792_1m -p</pre>

<pre><pre style="color:rgb(0,0,0)">r.watershed elev_lid792_1m thresh=5000 accum=accum_5K drain=draindir_5K basin=basin_5K
r.water.outlet input=draindir_5K output=basin_A30 coord=638740.423248,220271.519225</pre><pre><font color="#000000">r.stream.basins dirs=draindir_5K@testing coors=638740.423248,220271.519225 basins=basin_rstreambasins<br>

</font></pre><pre><font color="#000000">r.mapcalc expression="diff=basin_rstreambasins-basin_A30"<br></font></pre><pre><font color="#000000"><a href="http://r.info">r.info</a> diff
 +----------------------------------------------------------------------------+
 | Layer:    diff                           Date: Thu Mar 27 14:34:25 2014    |
 | Mapset:   testing                        Login of Creator: madi            |
 | Location: nc_spm_08                                                        |
 | DataBase: /home/madi/grassdata                                             |
 | Title:     ( diff )                                                        |
 | Timestamp: none                                                            |
 |----------------------------------------------------------------------------|
 |                                                                            |
 |   Type of Map:  raster               Number of Categories: 0               |
 |   Data Type:    CELL                                                       |
 |   Rows:         750                                                        |
 |   Columns:      700                                                        |
 |   Total Cells:  525000                                                     |
 |        Projection: Lambert Conformal Conic                                 |
 |            N:     220750    S:     220000   Res:     1                     |
 |            E:     639000    W:     638300   Res:     1                     |
 |   Range of data:    min = 0  max = 0                                       |
 |                                                                            |
 |   Data Description:                                                        |
 |    generated by r.mapcalc                                                  |
 |                                                                            |
 |   Comments:                                                                |
 |    basin_rstreambasins - basin_A30                                         |
 |                                                                            |
 +----------------------------------------------------------------------------+
</font></pre><div><font color="#000000">Best regards,</font></div><div><font color="#000000">madi</font></div><pre><font color="#000000"><br></font></pre><pre><br></pre></pre></div><div><br></div><div> </div></div><br clear="all">

<div><br></div>-- <br><div dir="ltr"><span style="border-collapse:separate;font-family:'Times New Roman';border-spacing:0px;font-size:medium"><span style="font-family:arial;font-size:small"><div><font color="#666666">Best regards,<br>

<br>Dr. Margherita DI LEO    </font></div><div><span style="color:rgb(102,102,102)">Scientific / technical project officer</span><br></div><div><font color="#666666"><br></font></div><div><font color="#666666">European Commission - DG JRC </font></div>

<div><font color="#666666">Institute for Environment and Sustainability (IES)</font></div><div><font color="#666666">Via Fermi, 2749</font></div><div><font color="#666666">I-21027 Ispra (VA) - Italy - TP 261</font></div>
<div>
<font color="#666666">       </font></div><div><font color="#666666">Tel. +39 0332 78 3600   </font></div><div><font color="#666666"><a href="mailto:margherita.di-leo@jrc.ec.europa.eu" target="_blank">margherita.di-leo@jrc.ec.europa.eu</a></font></div>

<div><font color="#666666"><br></font></div><div><font color="#666666">Disclaimer: The views expressed are purely those of the writer and may not in any circumstance be regarded as stating an official position of the European Commission.</font></div>

</span></span></div>
</div></div>