Hi!
simple test with r.volume. Small testing dataset here:
http://ubuntuone.com/2Odq6BDeQDdQhIJX2D8sHn
On Grass 6.4
r.volume --overwrite data=slope clump=basin centroids=centroid1
Cat Average Data # Cells Centroid Total
Number in clump Total in clump Easting Northing Volume
1 2.92 229610 78593 635195.00 220715.00 22961000.00
Total Volume = 22961000.00
On Grass 7.0
r.volume --overwrite input=slope clump=basin centroids=centroid1
Cat Average Data # Cells Centroid Total
Number in clump Total in clump Easting Northing Volume
1-57817810.36-4544075169558 78593 635195.00 220715.00 -454407516955800.00
–
Best regards,
Dr. Margherita DI LEO
Scientific / technical project officer
European Commission - DG JRC
Institute for Environment and Sustainability (IES)
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261
Tel. +39 0332 78 3600
margherita.di-leo@jrc.ec.europa.eu
Disclaimer: The views expressed are purely those of the writer and may not in any circumstance be regarded as stating an official position of the European Commission.