[GRASSLIST:307] r.topmodel

Hello,

Some time ago I asked here on the list whether someone was using the
r.topmodel hydrological modelling module. It seemed that nobody knew
anything about the module, written by someone in South Korea who does
not respond to emails.

Yesterday I met prof. Beven who is the author of the original TOPMODEL
program, and he didn't know anyting about the grass port.
But I've revised the code of both the original model and the grass-port
and it seems they are quite similar. However, the r.topmodel lacks all
the comments available in the original fortran code, what makes it hard
to understand/adapt.

As I finally figured it out (for my PhD) I'd like to adapt both the
reference manual and the source code (at least add the comments) to
share the fruit of my work.

So what's the best way to do this? (and maybe I should subscribe to the
developers mailinglist...)

regards,

Wouter Buytaert

Hello,

As I finally figured it out (for my PhD) I'd like to adapt both the
reference manual and the source code (at least add the comments) to
share the fruit of my work.

Neat ! Nice idea. Good luck with the code. As you should have access to the
original FORTRAN code, things should go smoothly. Basically, you'd need GRASS
only to process the initial maps (topo, topo index...), leave TOPMODEL
compute its saturated areas, and reuse GRASS to get the resulting saturation
map. The generic idea is to avoid using r.mapcalc (where'd be the point of
semi-distribution ?).
Just a note : leave enough room to further options (how to compute the
contributing areas and topoindex, for example...).
Anyway, let us know, I'd be happy to put my grain of salt (some of our grads
reimplement it in two-three different ways already...)

P.