[GRASSLIST:2548] Re: Median site to raster

Eric G. Miller egm2 at jps.net
Wed Oct 3 00:04:28 EDT 2001

On Wed, 3 Oct 2001 11:54:09 +1000, Gordon Keith <gordon.keith at marine.csiro.au> wrote:

> Is there a way in grass to create a raster from the median value of 
> sites falling in each cell?

You might be able to work something up using s.medp and s.to.rast.  After
getting a sites list of medians on the grid, adjust the region resolution
to match your grid before creating the raster.  It might be a bit funky
since s.medp is uses grid nodes, but you'll want those nodes to center on
cells for the raster.

Don't have time to work up such a program at the moment, but maybe later
this week...

Eric G. Miller <egm2 at jps.net>

More information about the grass-user mailing list