I agree this would work. Given that I have 65036 basins, I was trying to avoid
a loop. But if it's fast, who cares... I will try this method.
Thanks,
-k.
On 2020-12-16 at 08:29 -08, Thomas Adams wrote...
> Hi Ken!
>
> So, presumably, you know the locations of all the basin outlets
>
Hi Ken!
So, presumably, you know the locations of all the basin outlets (lat-long,
e.g.). Using *v.what.rast*, query the elevation map to get the elevation
at the basin outlet (locations) that the vector points identify. This
associates the basin outlet elevation with its location. Assuming you
On 2020-12-15 at 12:28 -08, Thomas Adams wrote...
> So, if I understand, that seems pretty simple and could be done with
> r.mapcalc:
>
> diff = elev - outlet_elev
>
> where elev is a raster map of elevations and outlet_elev is the elevation
> at the basin outlet. Using a basin mask the
Hi Ken,
So, if I understand, that seems pretty simple and could be done with
r.mapcalc:
diff = elev - outlet_elev
where elev is a raster map of elevations and outlet_elev is the elevation
at the basin outlet. Using a basin mask the calculation could be confined
to any basin of interest. But, I
Hi Thomas,
On 2020-12-15 at 11:34 -08, Thomas Adams wrote...
> What exactly do you mean by elevation drop (at each cell)? I can only guess…
I meant the change in each cell between their elevation and the elevation of
the associated hydrologic outlet cell.
I actually need to query a different
Hi Anna,
On 2020-12-15 at 11:29 -08, Anna Petrášová wrote...
> isn't r.stream.distance what you need?
Yes that is what I need. I did not realize it worked for the non-stream cells
too.
Thank you,
-k.
___
grass-user mailing list
Hi Ken,
What exactly do you mean by elevation drop (at each cell)? I can only guess…
Tom
On Tue, Dec 15, 2020 at 1:10 PM Ken Mankoff wrote:
>
> Specifically, I have outlets and basins. I can find the (x,y) location of
> the outlet for every cell in each basin using the following code. Note
On Tue, Dec 15, 2020 at 1:10 PM Ken Mankoff wrote:
>
> Specifically, I have outlets and basins. I can find the (x,y) location of
> the outlet for every cell in each basin using the following code. Note that
> I'm doing this for all cells in the basin, not just stream cells. The
> r.stream.order