On Wednesday, April 14, 2004, at 08:21 PM, grass5-request@grass.itc.it wrote:
Everything in the r.univar script is implemented except for the extended
stats (but some framework is in place for someone to continue that) and
the base= map option (just use a MASK). Only minor modification of
dependant scripts is needed (but definitely some).
AFAICT, there is no mask function implemented for GRASS 5.7 yet. If I've missed it, please let me know. Thanks.
Michael Barton
____________________
C. Michael Barton, Professor
Department of Anthropology
PO Box 872402
Arizona State University
Tempe, AZ 85287-2402
USA
> Everything in the r.univar script is implemented except for the
> extended stats (but some framework is in place for someone to
> continue that) and the base= map option (just use a MASK). Only
> minor modification of dependant scripts is needed (but definitely
> some).
AFAICT, there is no mask function implemented for GRASS 5.7 yet. If
I've missed it, please let me know. Thanks.
It's there, it works.
There's no r.mask module though (couldn't tell you why). Just use
r.mapcalc or g.copy to make a raster map called MASK.
On Sun, Apr 18, 2004 at 04:16:18PM +1200, Hamish wrote:
> > Everything in the r.univar script is implemented except for the
> > extended stats (but some framework is in place for someone to
> > continue that) and the base= map option (just use a MASK). Only
> > minor modification of dependant scripts is needed (but definitely
> > some).
>
> AFAICT, there is no mask function implemented for GRASS 5.7 yet. If
> I've missed it, please let me know. Thanks.
It's there, it works.
There's no r.mask module though (couldn't tell you why). Just use
r.mapcalc or g.copy to make a raster map called MASK.
Up to now only raster modules with cmd/ part have been
included into 5.7. That's why r.support and r.mask are missing.
If someone adds cmd line support to r.mask, we can easily
link it.
Motivation: only with command line support the GUI pops up in 5.7.
This is a simple procedure to name (or copy) any raster map to MASK. A couple of questions.
1. Is this the same kind of binary map as is used in GRASS 5.3? That is, operations take place in grid squares with a MASK value of 1, while those with a MASK value of 0 are ignored.
2. Does the name have to be in all caps (i.e., MASK vs. Mask or mask)?
Thanks for the info.
Michael
On Saturday, April 17, 2004, at 09:16 PM, Hamish wrote:
Everything in the r.univar script is implemented except for the
extended stats (but some framework is in place for someone to
continue that) and the base= map option (just use a MASK). Only
minor modification of dependant scripts is needed (but definitely
some).
AFAICT, there is no mask function implemented for GRASS 5.7 yet. If
I've missed it, please let me know. Thanks.
It's there, it works.
There's no r.mask module though (couldn't tell you why). Just use
r.mapcalc or g.copy to make a raster map called MASK.
Hamish
____________________
C. Michael Barton, Professor
Department of Anthropology
PO Box 872402
Arizona State University
Tempe, AZ 85287-2402
USA
This is a simple procedure to name (or copy) any raster map to MASK. A
couple of questions.
1. Is this the same kind of binary map as is used in GRASS 5.3? That
is, operations take place in grid squares with a MASK value of 1, while
those with a MASK value of 0 are ignored.
There is absolutely no difference between 5.3 and 5.7 for raster
processing operations. The code is copied over from 5.3 and is exactly the
same. In both 5.3 and 5.7, the MASKed cells can be either 0 or null and
the un-masked cells any other value (I'm not sure if I've seen that
documented anywhere but that's my experience anyway). I've never used
r.mask; always found it much easier to do g.copy rast=xxx,MASK.
2. Does the name have to be in all caps (i.e., MASK vs. Mask or mask)?
> > > Everything in the r.univar script is implemented except for the
> > > extended stats (but some framework is in place for someone to
> > > continue that) and the base= map option (just use a MASK). Only
> > > minor modification of dependant scripts is needed (but definitely
> > > some).
> >
> > AFAICT, there is no mask function implemented for GRASS 5.7 yet. If
> > I've missed it, please let me know. Thanks.
>
>
> It's there, it works.
>
> There's no r.mask module though (couldn't tell you why). Just use
> r.mapcalc or g.copy to make a raster map called MASK.
Up to now only raster modules with cmd/ part have been
included into 5.7. That's why r.support and r.mask are missing.
There is a "cmd" r.support program, but it only has minimal
functionality.
I'm not sure that it makes sense to have all of the features of
r.support (or similar multi-purpose programs) in a single command-line
program. The last time that I looked at this (regarding setting the
boundaries), I wrote a separate r.region program instead.
Also, some of the functionality of r.support is inherently
interactive, e.g. editing the history or category labels.