[GRASSLIST:3568] Re: site sampling (fwd)

Benjamin Ducke benducke at compuserve.de
Tue Jun 1 15:55:48 EDT 2004


Hi Carlos,

I have written a module for GRASS 5 that you can use
to produce an n% sample of a GRASS site file.
It will select sites from the current working region
and (optionally) only from non-NULL areas of an
underlying raster file. It is called s.random.sample.
I can mail you the source code, if you like,
but you'll have to compile it yourself for
the version of GRASS you are using.

Cheers, Benjamin

On Tue, 1 Jun 2004 20:00:59 +0100 (BST)
Paul Kelly <paul-grass at stjohnspoint.co.uk> wrote:

> 
> 
> ---------- Forwarded message ----------
> Date: Tue,  1 Jun 2004 15:35:47 -0300
> From: Carlos Henrique Grohmann <guano at usp.br>
> To: Paul Kelly <paul-grass at stjohnspoint.co.uk>
> Subject: site sampling
> 
> Hello all.
> 
> I'm working on some trend surface analysis (with R), and my sites file has too
> amny sites, so I start thinking about perform a stratified random sampling on
> them, but I couldn't find any command to do it.
> Any ideas?
> 
> thanks
> 
> --
> +-------------------------------------------------+
>          Carlos Henrique Grohmann - Guano
>    Geologist M.Sc - PhD Student at IGc-USP - Brazil
>         Linux User #89721  ICQ: 214752832
> +-------------------------------------------------+
> 




More information about the grass-user mailing list