<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'>Hi Johannes,<div><br></div><div>perhaps you procedure could be correct.</div><div>Let'me try and I will notify my progress</div><div>Pierluigi</div><div><br><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>Da: </b>"Johannes Radinger" <johannesradinger@gmail.com><br><b>A: </b>"Ing. Pierluigi De Rosa" <pierluigi.derosa@gfosservices.it><br><b>Cc: </b>"grass-user" <grass-user@lists.osgeo.org><br><b>Inviato: </b>Giovedì, 17 dicembre 2015 11:51:15<br><b>Oggetto: </b>Re: [GRASS-user] Average raster value of the upslope contributing area,<br><br><div dir="ltr">Hi Pierluigi,<div><br></div><div>I think here you could use the tool r.watershed (<a href="https://grass.osgeo.org/grass70/manuals/r.watershed.html" target="_blank">https://grass.osgeo.org/grass70/manuals/r.watershed.html</a>)</div><div>with your underlying DEM as input. This tool will provide you an accumulation map with increasing values in</div><div>downstream direction.</div><div><br></div><div>I am not exactly sure if this is your task, but if you provide an input map for 'flow' with values for each cell that represents</div><div>the actual cell size than the output accumulation map output is your upslope contributing area. If you</div><div>use another input map for 'flow' (e.g. sediment input per cell) than the output will be the accumulated sediment</div><div>in downstream direction. Subsequently you can use r.mapcalc to divide both maps to get the ratio</div><div>of sediment delivery per unit upslope contributing area.</div><div><br></div><div>I hope that helps?!</div><div><br></div><div>cheers,</div><div>Johannes</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 17, 2015 at 11:29 AM, Ing. Pierluigi De Rosa <span dir="ltr"><<a href="mailto:pierluigi.derosa@gfosservices.it" target="_blank">pierluigi.derosa@gfosservices.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear users,<br>
<br>
my deal is to calculate a raster of the sediment delivery ratio like<br>
explained here:<br>
<a href="http://data.naturalcapitalproject.org/nightly-build/invest-users-guide/html/sdr.html#sediment-delivery-ratio" rel="noreferrer" target="_blank">http://data.naturalcapitalproject.org/nightly-build/invest-users-guide/html/sdr.html#sediment-delivery-ratio</a><br>
<br>
moreover I need to calculate, for each cell, the average of a raster (C<br>
factor) of the upslope contributing area.<br>
take a look to these image to better explication:<br>
<a href="http://data.naturalcapitalproject.org/nightly-build/invest-users-guide/html/_images/connectivity_diagram.png" rel="noreferrer" target="_blank">http://data.naturalcapitalproject.org/nightly-build/invest-users-guide/html/_images/connectivity_diagram.png</a><br>
<br>
How can I do that?<br>
Thanks<br>
<span class="HOEnZb"><font color="#888888">Pierluigi<br>
<br>
<br>
--<br>
<br>
<br>
________________________________________________________________________<br>
Ing. Pierluigi De Rosa (PhD)<br>
Studio Associato GFOSSERVICES<br>
<br>
<br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a></font></span></blockquote></div><br></div>
</div><br></div></div></body></html>