The r.water.outlet module takes as input a flow direction raster
that needs to be created first by r.watershed. So the SFD/MFD
question is irrelevant at this stage. When you first ran r.watershed
you chose which method to use for determining flow direction for
each pixel. Further, SFD/MFD influences only the stream routing, not
the total number of cells in the basin. I'm pretty sure that if you
run r.watershed once with MFD and again with SFD, you'll get the
same basin, only with slightly different stream networks.
AFAIK there should never be a situation where water is directed out
of the basin. So all cells that flow into cell C are then directed
downstream to your final drainage point.
On 08/31/2017 10:04 PM, Ken Mankoff
wrote:
Yes. This! What you wrote.
But the issue is that r.water.outlet make basins based on
SFD, right? What if there are 10,000 cells that feed into cell C
at x,y, and then cell C feeds 49% (based on MFD) into the basin.
These 10,000 cells are not included in the r.water.outlet basin,
are they?
-k.
Please excuse brevity. Sent from pocket computer with tiny
non-haptic feedback keyboard.
I'm also not clear what you are asking. But risking a guess:
You could run r.water.outlet *1 time* to get the basin. Then
use that raster as a MASK, so that the next process will
address only the pixels within the basin. Now do a loop with
r.univar on all 14,000 flow rasters, and you'll get 14,000
results with total, min, max, mean, etc of the basin pixels
for each of the flow rasters.
--
Micha
On 08/31/2017 09:30 PM, Thomas
Adams wrote:
Ken,
You "want 14,000 values" of what?? Your original email
stated you were "trying to determine flow past a
drainage basin outlet" -- r.watershed does NOT do this,
if indeed this is what you want. And you say you have
"14,000 flow rasters to be used as input" -- what
exactly are these 'flow rasters'; what is your goal? I
may not understand...
Tom
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user
--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918
--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918
|