[GRASS-user] Basin seperation from r.watershed output and thoughts on using topmodel welcome

I would like to break up basins to that I can apply topmodel on a
particular drainage. My thought is that it would be exceedingly
useful to be able to set the computational region based on a certain
subsets of watersheds. Is there a way to do this without to much pain
and suffering? I will probably need to start learning how to code in
C sometime shortly. I am have practicability in R and I am thinking
that using the spgrass6 package may be the way to go as the code for
the model is the same as that for grass. Does anyone have any
experience using topmodel in R or GRASS? I am trying to make the best
decision on the way to proceed and the more information the better.
kind regards,

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                -K. Mullis

Also, in breaking up the watershed this will allow for things like
total contributing area of a watershed to be calculated. Also, things
that maybe I haven't thought of yet.

Stephen Sefick

On Sun, Aug 2, 2009 at 1:18 PM, stephen sefick<ssefick@gmail.com> wrote:

I would like to break up basins to that I can apply topmodel on a
particular drainage. My thought is that it would be exceedingly
useful to be able to set the computational region based on a certain
subsets of watersheds. Is there a way to do this without to much pain
and suffering? I will probably need to start learning how to code in
C sometime shortly. I am have practicability in R and I am thinking
that using the spgrass6 package may be the way to go as the code for
the model is the same as that for grass. Does anyone have any
experience using topmodel in R or GRASS? I am trying to make the best
decision on the way to proceed and the more information the better.
kind regards,

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                                                           \-K\. Mullis

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                -K. Mullis

ps - top-posting reads weird

stephen wrote:

> I would like to break up basins to that I can apply topmodel on a
> particular drainage. My thought is that it would be exceedingly
> useful to be able to set the computational region based on a certain
> subsets of watersheds. Is there a way to do this without to much pain
> and suffering?

r.what / d.what.rast to get a list of basin IDs
r.reclass -> r.mask -> g.region zoom=MASK to zoom in on area of interest
+maybe: g.region -a res=[$res*2] ; g.region res=[$res] to step back a little

?

Also, in breaking up the watershed this will allow for things like
total contributing area of a watershed to be calculated. Also, things
that maybe I haven't thought of yet.

r.report, r.stats?

Hamish

On 02/08/09 20:18, stephen sefick wrote:

I would like to break up basins to that I can apply topmodel on a
particular drainage. My thought is that it would be exceedingly
useful to be able to set the computational region based on a certain
subsets of watersheds. Is there a way to do this without to much pain
and suffering?

How about using the desired subset as basis for a mask ? You can reclass you basin map to let those basins you want to work in = 1 and the others = 0 and name the output MASK.

Moritz