[GRASS-user] A question before I embark on a programming exercise

Thomas Adams tea3rd at gmail.com
Wed Nov 12 05:21:53 PST 2014


Rainer,

Thank you very much. I just downloaded everything via git. I greatly
appreciate your help.

Best,
Tom

On Wed, Nov 12, 2014 at 1:28 AM, Rainer M Krug <Rainer at krugs.de> wrote:

> Thomas Adams <tea3rd at gmail.com> writes:
>
> > All:
> >
> > I need to generate an ascii text file from a flow direction grid that
> > consists of (among a couple other things that don't really matter at this
> > point) for each pixel:
> >
> > (1) a unique integer identifier (1 -- N) for the pixel
> > (2) the integer identifier of the downstream pixel (assuming there is
> ONLY
> > one)
> > (3) the x,y location of the pixel (presumably, the lower left corner of
> the
> > pixel)
> >
> > has anyone already done something like this?
>
> Well - I have done something similar, i.e. simulated water dispersal, in
> a package which is at [1]. The actual function is at [1]. After reading
> your mail again, it seems to be different, but it still might give you
> some ideas.
>
> Cheers,
>
> Rainer
>
> >
> > It's needed (along with some header information) as an input file for a
> > gridded distributed hydrologic model, identifying the flow connectivity
> > from pixel to pixel for streamflow routing purposes. I have already
> > formulated conceptually how to do this, but if someone has already done
> > such a thing, why reinvent the wheel??
> >
> > Any help is appreciated.
> >
> > Regards,
> > Tom
> > _______________________________________________
> > grass-user mailing list
> > grass-user at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/grass-user
>
>
> Footnotes:
> [1] https://github.com/rkrug/seedDisp
>
> [1]  https://github.com/rkrug/seedDisp/blob/master/R/waterDispGRASS.R
>
> --
> Rainer M. Krug
> email: Rainer<at>krugs<dot>de
> PGP: 0x0F52F982
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20141112/91f2af71/attachment.html>


More information about the grass-user mailing list