Creating slope units in landlab

Hi, this is probably a really simple question, but I’ve been trying to build a simple function that can divide up a landlab grid into slope units. I’ve been unable to find any existing packages that do this, but I’m quite new to this. The only things that I’ve found are SUMak (which is a code for R), and some others made using GRASS GIS. I’ve been trying to make one myself, but it’s not been successful (yet).

Does anyone have any ideas?

@sghoshal This sounds great! I don’t know of a Landlab component that does this but I would be happy to help you out in building one.

I checked the SUMak R package and it uses the rgrass package that is a wrapper to run GRASS GIS in R. Maybe you can use the Python wrapper or check WhiteboxTools that I have used as an alternative to GRASS.

1 Like

Thanks so much for pointing out WhiteboxTools. I went over a few of its functions, and it looks really cool! It has a lot of stuff that I’m trying to work on right now. I’ll go through it a bit more and let you know what happens. :smiley:

1 Like

That would be great! I’m not quite there yet, though. :grinning: