[GRASS-user] Check if a raster exists in a new region

2010-11-16 Thread António Rocha
Greetings I've created a raster based on region (let's call it A). Now, I have changed my region (B for example) and I need to check (in a Py Script) if my raster has any valid value in this new region. How can I do that? Thanks Antonio __ Information from ESET NOD32 Antivirus, versi

Re: [GRASS-user] r.neighbors - annulus (torus) neighbor

2010-11-16 Thread Glynn Clements
Milton Cezar Ribeiro wrote: > I suggest put a flag on r.neighbor for annulus (torus), so in future > versions the module will be always update. A flag alone isn't sufficient; it would also need an option for the inner radius. In general, we try to avoid adding options for features which can be

[GRASS-user] add-ons installation failure

2010-11-16 Thread Patrick_schirmer
Dear list, I am trying to install add-ons on GRASS (6.4.0) through g.extension, as Markus mentioned this should be possible with RC07. Had to import grass-dev package, create a directory "build" in directory "/" (which is not mentioned in wiki) and change rights to chmod -777 that it would st

Re: [GRASS-user] add-ons installation failure

2010-11-16 Thread Markus Metz
On Tue, Nov 16, 2010 at 12:14 PM, Patrick_schirmer wrote: > Dear list, > > I am trying to install add-ons on GRASS (6.4.0) through g.extension, as > Markus mentioned this should be possible with RC07. Had to import grass-dev > package, Some of these grass-dev packages seem to have bugs introduced

Re: [GRASS-user] add-ons installation failure

2010-11-16 Thread Markus Metz
I forgot... On Tue, Nov 16, 2010 at 1:26 PM, Markus Metz wrote: > On Tue, Nov 16, 2010 at 12:14 PM, Patrick_schirmer wrote: >> Dear list, >> >> I am trying to install add-ons on GRASS (6.4.0) through g.extension, as >> Markus mentioned this should be possible with RC07. Had to import grass-dev >

Re: [GRASS-user] TRMM (3B43) handling

2010-11-16 Thread nikos
hey list, Sorry that I took so much to respond, I'm orientating in a different direction right now, and I'd like an opinion (on TRMM 3B43 ofc). Here are my thoughts: a) the hdf that delivers the product only wraps a table 1400 long x 440 tall. Each tile is represented by known cords. eg the upp

[GRASS-user] Re: Values from multiple raster - "to link" together

2010-11-16 Thread Gabriele N.
Sorry, I have not explained well. The problem was related to the value of C map. That is, I take the example above. If the value of C map is equal to 1, I get a result -> A =12 B=3323 C=1 =12332301 (8 digit number) and instead could be useful 1233231 (number 7-digit). However I checked and I need

Re: [GRASS-user] add-ons installation failure

2010-11-16 Thread Patrick Schirmer
Thanks Markus, that helped and it will nearly finish installation of add-on v.vect.stats. Had to change all rights for the folders grass64 and subfolders to allow manipulation. But still one error (tested at home on other computer, so in German): //usr/bin/install: Aufruf von stat für „/usr

[GRASS-user] Unable to start wxGUI vector digitizer in ubuntu 10.10

2010-11-16 Thread Paolo Craveri
Hi to all I've just installed Grass6.4 in Ubuntu 10.10 from this repository: http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu maverick main When I try editing a vector map I get this message: Unable to start wxGUI vector digitizer. Do you want to start TCL/TK digitizer (v.digit) i

Re: [GRASS-user] add-ons installation failure

2010-11-16 Thread Markus Metz
Patrick Schirmer wrote: > Thanks Markus, > > that helped and it will nearly finish installation of add-on v.vect.stats. > Had to change all rights for the folders grass64 and subfolders to allow > manipulation. But still one error (tested at home on other computer, so in > German): > > /usr/bin/ins

[GRASS-user] GRASS API questions- related with free()

2010-11-16 Thread Pedro Roma
Greetings I'm using i.gensigset and I realized that, in a few variavbles, memory is not being released. and those are: indx = G_alloc_ivector(nbands); y = G_alloc_matrix(nbands, nbands); col = G_alloc_vector(nbands); What specific functions, from GRASS APIm can I use to release allocated memory