Re: [GRASS-user] Check if a raster map has any valid pixel

2010-10-26 Thread Kim Besson
Thank Glynn. But how can I retrieve min and max using a Python Script? 2010/10/25 Glynn Clements gl...@gclements.plus.com Kim Besson wrote: I have a python script where I need to check if an input raster map has any valid pixel (at least one pixel that is not null). How can I check

Re: [GRASS-user] Check if a raster map has any valid pixel

2010-10-26 Thread Glynn Clements
Kim Besson wrote: I have a python script where I need to check if an input raster map has any valid pixel (at least one pixel that is not null). How can I check this (easy and quick way?) in order to be integrated in my Script? Check the range: $ r.mapcalc --o 'foo =

[GRASS-user] Check if a raster map has any valid pixel

2010-10-25 Thread Kim Besson
Greetings I have a python script where I need to check if an input raster map has any valid pixel (at least one pixel that is not null). How can I check this (easy and quick way?) in order to be integrated in my Script? Thjanks Kim ___ grass-user

Re: [GRASS-user] Check if a raster map has any valid pixel

2010-10-25 Thread Glynn Clements
Kim Besson wrote: I have a python script where I need to check if an input raster map has any valid pixel (at least one pixel that is not null). How can I check this (easy and quick way?) in order to be integrated in my Script? Check the range: $ r.mapcalc --o 'foo = null()'