[GRASSLIST:8573] Re: Changing scale of raster map
Gordon Keith
gordon.keith at csiro.au
Mon Oct 10 18:04:01 EDT 2005
On Tue, 11 Oct 2005 01:35, Bruno GUILLAUME wrote:
> Dear GRASS users,
>
> My problem concerns a raster in lat-lon projection, having a given
> resolution of ewres1,nsres1. For every cell, the category value is
> expressed in kilogram.
> I need to transform it into the same grid but with coarser resolution,
> say ewres2=10*ewres1 and nsres2=10*nsres1, BUT the transformation need
> to be mass-conservative (so, I need to get exactly the same amount in
> kilograms with finer and coarser resolution).
>
> Can I do in a simple way with GRASS ?
Depends on which version you are using.
In version 5:
r.to.sites
g.region
s.cellstats
s.to.rast
Version 6 doesn't have an equivalent to s.cellstats
Regards
Gordon
--
Gordon Keith
Programmer/Data Analyst
Marine Acoustics
CSIRO Marine and Atmospheric Research
http://www.cmar.csiro.au
42.7% of all statistics are made up.
More information about the grass-user
mailing list