[GRASS-user] r.volume - cannot calculate with resolution=1m

Carlos Grohmann carlos.grohmann at gmail.com
Wed Feb 9 08:42:40 EST 2011


Hi, it seem s to me that r.volume has a problem with resolution=1m (at
least here).

If I set the region to res=1, r.volume won't work, but with anything
above that (I tried a range from 2 to 100), it works.

best

Carlos



GRASS 7.0.svn (santa_catarina):~ > g.region n=6902500 s=6899200
w=731900 e=733200 res=1 res3=1 t=60 b=0 tbres=1 -pa3
projection: 1 (UTM)
zone:       -22
datum:      wgs84
ellipsoid:  wgs84
north:      6902500
south:      6899200
west:       731900
east:       733200
top:        60.00000000
bottom:     0.00000000
nsres:      1
nsres3:     1
ewres:      1
ewres3:     1
tbres:      1
rows:       3300
rows3:      3300
cols:       1300
cols3:      1300
depths:     60
cells:      4290000
cells3:     257400000
GRASS 7.0.svn (santa_catarina):~ > r.volume
input=garopaba_SOLO_bicubic clump=areia_garopaba
Complete ...
 100%
ERROR: Reading raster map <areia_garopaba@> request for row -1016 is
       outside region



GRASS 7.0.svn (santa_catarina):~ > g.region n=6902500 s=6899200
w=731900 e=733200 res=2 res3=2 t=60 b=0 tbres=1 -pa3
projection: 1 (UTM)
zone:       -22
datum:      wgs84
ellipsoid:  wgs84
north:      6902500
south:      6899200
west:       731900
east:       733200
top:        60.00000000
bottom:     0.00000000
nsres:      2
nsres3:     2
ewres:      2
ewres3:     2
tbres:      1
rows:       1650
rows3:      1650
cols:       650
cols3:      650
depths:     60
cells:      1072500
cells3:     64350000
GRASS 7.0.svn (santa_catarina):~ > r.volume
input=garopaba_SOLO_bicubic clump=areia_garopaba
Complete ...
 100%
Volume report on data from garopaba_SOLO_bicubic using clumps on
areia_garopaba map

 Cat    Average   Data   # Cells        Centroid             Total
Number  in clump  Total  in clump   Easting   Northing       Volume

    1     13.95   4829193  346277   732577.00  6900413.00      19316772.00
                                            Total Volume =    19316772.00










-- 
Prof. Carlos Henrique Grohmann - Geologist D.Sc.
Institute of Geosciences - Univ. of São Paulo, Brazil
http://www.igc.usp.br/pessoais/guano
http://lattes.cnpq.br/5846052449613692
Linux User #89721
________________
Can’t stop the signal.


More information about the grass-user mailing list