Re: [GRASS-user] List rasters with valid data inside a defined computational region

2013-10-25 Thread António Rocha
Hello Nikos I would rephrase and say list of raster maps with at least a single not-NULL cell inside a computational region. Regards, Antonio On 25-10-2013 11:26, Nikos Alexandris wrote: On Friday 25 of October 2013 10:07:27 António Rocha wrote: I would like to know if there is any direct met

Re: [GRASS-user] List rasters with valid data inside a defined computational region

2013-10-25 Thread Michel Wortmann
Hi Antonio, here is a python script snipped. this might be slow if you have many rasters that have values in the current region, those that don't, wont take any time though. import grass.script as grass def inregion(): '''Return rasters in current mapset that have non-NULL values in curr

Re: [GRASS-user] List rasters with valid data inside a defined computational region

2013-10-25 Thread Nikos Alexandris
On Friday 25 of October 2013 10:07:27 António Rocha wrote: > I would like to know if there is any direct method (of a suggestion of > an indirect method) to list raster layers with valid pixels (not null) > in a defined computational region? You mean only raster maps that do not contain NULL cell

[GRASS-user] List rasters with valid data inside a defined computational region

2013-10-25 Thread António Rocha
Dear all, I would like to know if there is any direct method (of a suggestion of an indirect method) to list raster layers with valid pixels (not null) in a defined computational region? Thank you Regards, Antonio Rocha ___ grass-user mailing list gra