[GRASS-user] r.univar: total null and non-null cells: -1580967296

2011-08-22 Thread Hermann Peifer
Hi, r.univar gives me negative cell counts, whereas r.stats -c produces correct results (I hope ;-): (...) 41 118441 42 193 43 135 44 8189 * 2704177984 I guess this is the same integer overflow issue reported earlier [1]. I am just a bit puzzled that after changing to a 64-bit Linux OS, resu

[GRASS-user] winGrass and v.distance error

2011-08-22 Thread Sharon M
Hi, I'm running winGrass build 6.4 r47775-1 on win XP and using v.distance to identify nearest area for about 7000 points. Using the v.distance window to enter required parameter values creates and runs the following command... v.distance from=txtloc@PERMANENT to=RA@PERMANENT to_type=line,area up

Re: [GRASS-user] r.sun with opencl

2011-08-22 Thread Markus Neteler
Hi Daniel, On Mon, Aug 22, 2011 at 5:42 PM, Daniel Lee wrote: > Dear list, > > I'm not sure if it would be better to ask here or in the developer list, but > I'll try it here first - I'm trying to get r.sun to run on my graphic card > with OpenCL. I've managed to compile OpenCL and GRASS 7, but w

[GRASS-user] r.sun with opencl

2011-08-22 Thread Daniel Lee
Dear list, I'm not sure if it would be better to ask here or in the developer list, but I'll try it here first - I'm trying to get r.sun to run on my graphic card with OpenCL. I've managed to compile OpenCL and GRASS 7, but when I try to run r.sun it doesn't work. I've tracked the problem down to

Re: [GRASS-user] bash script error

2011-08-22 Thread Glynn Clements
Rebecca Bennett wrote: > r.mapcalc '${BKG} = if(isnull(modern_mask@Brovey),${MAP},0)' > > but it ends with the error > > Invalid map <${MAP}> > > Can > anyone tell me how I should include calls to the map and name a > derivative using the original raster name? I have used this syntax with >

[GRASS-user] bash script error

2011-08-22 Thread Rebecca Bennett
Dear bash scripters, I  would like to create the following r.mapcalc command calling a map in a script in GRASS 6.4.1 (Ubuntu 10.4): g.ask type=old prompt="enter DTM" elem=cell_misc unixfile=/home/becca/Documents/grassdata/scripts/settings . /home/becca/Documents/grassdata/scripts/settings if [