Re: [GRASS-user] r.mapcalculator

2010-10-26 Thread Micha Silver
Hello On 24/10/2010 19:29, ALT SHN wrote: Regarding your first question, (convert floating point raster to integer) you can use: r.mapcalc "int_raster = int(fp_raster) Hello users, I really could use some hints

[GRASS-user] Creating training areas map to be used in i.gensig

2010-10-26 Thread Luisa Peña
Greetings I have 5 raster maps each one represents a training area for a land-use/cover class. I wanted to know what is the best method merge into a single training map to be used in i.gensig? Thanks Luisa ___ grass-user mailing list

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] pb. with netCDF row order

2010-10-26 Thread Eduardo Corbelle Rico
Nicolas, I've been struggling with the issue of row order in netCDF files and your post came perfect for me. Thank you very much for it. I still have a problem that surely you or anyone in the list would find trivial: the file I'm trying to convert (downloadable in the Prudence project:

[GRASS-user] Error with r.mapcalc

2010-10-26 Thread António Rocha
signature database 5563 (20101026) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] Check if a covariance matrix is invertible- in a Python Script

2010-10-26 Thread Luisa Peña
Greetings I'm building a script where I need to check if a raster map covariance matrix is invertible. How can I do this? Is it possible? Thanks Luisa ___ grass-user mailing list grass-user@lists.osgeo.org

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 =

Re: [GRASS-user] Error with r.mapcalc

2010-10-26 Thread Glynn Clements
António Rocha wrote: I have a Python script with the following: # Conversion to at-sensor brightness temperature grass.mapcalc($raster_file= $K2/log(($K1/$L)+1), raster_file=raster_file, K2=K2, K1=K1,L= tempL) grass.mapcalc($raster_file= if($raster_file 0, null(),

[GRASS-user] Buffer overflow

2010-10-26 Thread Christian Braun
Hi all, I did discover a buffer overflow in r.sunmask. I've been testing it on two different machines with 6.4.0 and 6.4RC6 GRASS 64bit Ubuntu On MacOS X SnowLeopard it is working with packages of Kyngchaos Are there any workarounds to quickly solve the problems? cheers, Christian r.sunmask

[GRASS-user] NVIZ Legend

2010-10-26 Thread Suzanne
I would like to place a legend on my map of the volume. It seems like it would be pretty straight forward, but when I click on Place legend and on the map to set the corners, nothing happens. Thanks, Suzanne ___ grass-user mailing list

Re: [GRASS-user] pb. with netCDF row order

2010-10-26 Thread Nicolas Pérenne
Hi Eduardo, I have downloaded your file and indeed as you guessed there is a way to select the time index, and possibly also a level (altitude or depth) index. It goes through optional positional arguments which are not documented (sorry), because one has to guess that 'l' stands for the time