[GRASSLIST:2499] r.stats/r.report problem -- ?

Steven Stoddard sstoddar at uiuc.edu
Fri Feb 6 15:16:27 EST 2004


I don't know if this is a problem w/ r.stats or with me (likely the 
latter), but when I do either r.stats or r.report on a fp map I 
generated, asking for 10 bins, I get the following:

  r.stats -a input=gh1.step3 nsteps=10
r.stats:  100%
0-0.099721 265214927.507447
0.099721-0.199442 100882669.359852
0.199442-0.299163 58216243.533102
0.299163-0.398884 42019678.621828
0.398884-0.498605 33211683.308533
0.498605-0.598326 27753460.722638
0.598326-0.698047 24208494.471648
0.698047-0.797768 23274803.791991
0.797768-0.897489 16712883.263959
0.897489-0.99721 899.509325
* 753529755.895994

This shows that there are only 900 m^2 of the region for the last range 
of values (0.89-0.99).  But this is wrong.  If I do the following:
d.rast gh1.step3 vallist=0.9-1
I get the attached map.  There is clearly a considerable area in the 
range 0.89-0.99.  And if I do r.stats without bins, I get:

0.897645-0.901565 2400790.389209
0.901565-0.905485 2385498.730679
0.905485-0.909404 2376503.637426
0.909404-0.913324 2402589.407860
0.913324-0.917244 2352216.885643
0.917244-0.921164 2381900.693378
0.921164-0.925084 2370207.072149
0.925084-0.929004 2558204.521136
0.929004-0.932923 2479047.700510
0.932923-0.936843 2560903.049112
0.936843-0.940763 2506932.489594
0.940763-0.944683 2676939.752074
0.944683-0.948603 2599581.950099
0.948603-0.952523 2647255.944340
0.952523-0.956443 2710221.597110
0.956443-0.960362 2701226.503857
0.960362-0.964282 2924304.816530
0.964282-0.968202 2900018.064747
0.968202-0.972122 2994466.543903
0.972122-0.976042 3116799.812143
0.976042-0.979962 3146483.619878
0.979962-0.983881 2944094.021687
0.983881-0.987801 2581591.763593
0.987801-0.991721 1953734.254538
0.991721-0.995641 792467.715584
0.995641-0.999561 899.509325
* 754476039.706173

So what is going on here?

Cheers,

Steve

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedGraphic2.tiff
Type: image/tiff
Size: 6362 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20040206/3cf9ea31/pastedGraphic2.tiff
-------------- next part --------------


---
Steven T. Stoddard

Program in Ecology and Evolutionary Biology
University of Illinois at Urbana-Champaign
302 Shelford Vivarium
606 E. Healy Ave
Champaign, IL  61820
(217) 333-2235
(847) 433-6396
(217) 778-9692 (cel.)


More information about the grass-user mailing list