[GRASS-user] Problem with r.basin in grass7

Markus Neteler neteler at osgeo.org
Sun Nov 2 09:26:35 PST 2014


HI Andrea,

On Fri, Oct 31, 2014 at 3:18 PM, Andrea Timmermann <timmermann at gmx.at> wrote:
> Hi Markus,
>
> Thanks for your help!
>
> We got some more RAM, changed the basins I was using (got smaller ones) and
> reduced the resolution of the computational region, so I hope I do not run
> into memory problems.
>
> I downloaded the new grass version and run:
> r.basin map=map at Elevation prefix=o coordinates=-71.10394196,43.9865230801
> threshold=19005 dir="C:\\Users\\Andrea\\Basins"
>
> I get:
> "...
> Number of isles: 0
> ERROR: option <output>: <o_map_outlet_snap> exists.

---> apparently the overwrite fails or you did not specify --o or old
cruft remained as indicated (please clean it first).

> Reading features...
> Writing raster map...
> Converted points/lines: 1 of 1
> v.to.rast complete.
> ERROR: Module built against version $Revision: 62060 $ but trying to use
> version $Revision: 62364 $. You need to rebuild GRASS GIS or untangle
> multiple installations.

Mhh, "this should not happen" issue. In a winGRASS installer there
should not be any version mixture.
Helli, Martin, any ideas?

[...]
> I still have grass 6.4.4 and grass 7.0 installed, maybe I have too many
> grasses on my machine ?

No, that should be fine. At time we are doing heavy cleanup in 7, to
get stuff ready for beta4. Perhaps the installer was autogenerated in
a bad moment. Please be patient and update it again, for us your
feedback is very important.

> I also have two more questions:
> - Should I set the computational region to the whole raster map I am using
> or to the vector map defining my basin? (I tried both alternatives and
> r.basin writes something a bit different on the screen depending on what I
> use)

This is a question for the author of r.basin, I don't know.

> I am using a mask based on my vector map, so maybe the computations are
> anyways done only for the area covered by the basin?

... also here.

> - You wrote that I might have 24 bytes/cell .. How can I find out how many
> bytes/cell my raster has? I did not find any information about that and just
> would like to know ...

Here is an overview, I hope it is right :-)

http://grasswiki.osgeo.org/wiki/GRASS_raster_semantics

best,
Markus


More information about the grass-user mailing list