[GRASS-user] Re: v.rast.stats

Sandile Gumede akasandile at gmail.com
Tue Jun 15 07:35:46 EDT 2010


Hi
If I run g.region rast=rainfall -p, I get:

projection: 3 (Latitude-Longitude)
zone:       0
datum:      wgs84
ellipsoid:  wgs84
north:      33:40:46.49916S
south:      34:20:55.49928S
west:       18:17:55.50036E
east:       19:10:16.50036E
nsres:      0:00:05.01875
ewres:      0:00:02.18125
rows:       480
cols:       1440
cells:      691200

and If I run r.univar rainfall, I get the following output:

 100%
total null and non-null cells: 691200
total null cells: 0

Of the non-null cells:
----------------------
n: 691200
minimum: 0
maximum: 3094
range: 3094
mean: 22.0228
mean of absolute values: 22.0228
standard deviation: 76.1639
variance: 5800.94
variation coefficient: 345.841 %
sum: 15222164



On Tue, Jun 15, 2010 at 12:22 PM, Hamish <hamish_b at yahoo.com> wrote:

> Micha wrote:
> > The only unusual thing I notice above is that the resolution settings
> > for the raster are different N-S and E-W. This came from the original
> > tiff (see below) which also has rectangular pixels,
>
> that is perfectly normal for a lat/lon map away from the equator.
> longitude scales a cos(lat).
>
>
> > (the v.rast.stats module creates a temp raster at the *current region's
> > resolution* settings, which might be different from this rainfall
> > raster's rectangular resolution...)
>
> the results of:
>
> g.region -p rast=mapname
> r.univar mapname
>
>
> could help.
>
>
> Hamish
>
>
>
>


-- 
Kind Regards
TS Gumede
CSIR, Meraka Institute
072 258 1650
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100615/14c1c28f/attachment.html


More information about the grass-user mailing list