[GRASS-user] (sin asunto)

2009-05-29 Thread Leonardo Hardtke
Hi, first, sorry about my english... I have lot of points (over 60.000), some with the same attribute (Date), and are very near (clustered). I don't now how to get only 1 point for each cluster and whit its attributes. I followed the example of the archsites from v.buffer, but it does not work

[GRASS-user] GIPE install ubuntu

2009-06-29 Thread Leonardo Hardtke
Hi, i'm new to GRASS and not an linux expert. I need help to install GIPE. I installed the GRASS 6.4 RC4 on UBUNTU 9.04 from the les-ejk and downloaded the GIPE svn to my home directory, what shoud I do now? Thanks! -- Lic. Leonardo A. Hardtke Laboratorio de Teledetección y S.I.G. Centro

[GRASS-user] GIPE INSTALL UBUNTU

2009-06-30 Thread Leonardo Hardtke
directorio make: *** No hay ninguna regla para construir el objetivo `../../include/Make/Module.make'. Alto. make: *** No hay ninguna regla para construir el objetivo `install'. Alto. Thanks in advise Leonardo Hardtke -- Lic. Leonardo A. Hardtke Laboratorio de Teledetección y S.I.G. Centro Nacional

[GRASS-user] problem in Grass 6.4 rc3 Ubuntu 9.04

2009-08-24 Thread Leonardo Hardtke
Hi, I'm having problems running Grass 6.4 rc3 on Ubuntu 9.04 When trying to open an existing grass database i see the following error. *** glibc detected *** g.proj: double free or corruption (fasttop): 0x09b8fee0 *** === Backtrace: = /lib/tls/i686/cmov/libc.so.6[0xb78b7604]

[GRASS-user] Problem with Grass 6.4 and R 2.9.2 on Ubuntu 9.04

2009-09-15 Thread Leonardo Hardtke
Hi, I'm doing my first steps with the R-Grass interface but... library(spgrass6) Loading required package: sp Loading required package: rgdal Geospatial Data Abstraction Library extensions to R successfully loaded Loaded GDAL runtime: GDAL 1.6.1, released 2009/05/11 Path to GDAL shared files:

[GRASS-user] Python problem

2009-12-16 Thread Leonardo Hardtke
Hi! I'm trying to develop some pyton code without luck(Grass64 on a Ubuntu 9.04 python 2.6) I start using the example from the wiki http://grass.osgeo.org/wiki/GRASS_and_Python, but I got error messages... Traceback (most recent call last): File

[GRASS-user] random subset in R

2010-06-14 Thread Leonardo Hardtke
? Thanks! Leonardo Hardtke ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Compiling r.seg

2010-06-17 Thread Leonardo Hardtke
Hi, I compiled r.seg in grass 6.5 (Ubuntu 10.04) but it must be the same in grass 6.4. Just copy r.seg directory to the raster subdirectory of the grass source code tree. cd /usr/local/grass-6.4.0svn/ratster/r.seg make when done... cd /usr/local/grass-6.4.0svn make sudo make install. Hope it

[GRASS-user] r.what error

2010-07-02 Thread Leonardo Hardtke
Self updating by doing g.region rast=cleanNDVI_.. r.what . on the terminal gives the correct result... but... wyh g.gui does it good without g.region??? Thanks Leonardo Hardtke ___ grass-user mailing list grass-user@lists.osgeo.org http

Re: [GRASS-user] Cluster whit area?

2010-07-27 Thread Leonardo Hardtke
Hi, you can run R in a grass terminal, and load data via spgrass6 package, readRAST6 or readVECT6. Or export raster and read with rgdal. Hope it helps. Leonardo Hardtke On 07/27/2010 01:30 PM, Etienne DELAY (deust 2010) wrote: I'm come back :-) I want to try clustTool in GRASS, so I reset

Re: [GRASS-user] Cluster whit area?

2010-07-28 Thread Leonardo Hardtke
Hi! I never used clustTool before. I made a try and i think I found the trick :-). You have to transform your (SpatialPointDataFrame) data to a dataframe... Vine1.df=as.data.frame(Vine1) and then you can Set acctive data in the GUI! hope it helps! Leonardo On 07/27/2010 09:06 PM, Etienne

Re: [GRASS-user] Cluster whit area?

2010-07-28 Thread Leonardo Hardtke
On 07/28/2010 08:50 PM, Etienne DELAY (deust 2010) wrote: I made my excuses to you, it works perfectly ... thank you very much now I can go to bed happy :D Glad to hear it worked! Leonardo ___ grass-user mailing list grass-user@lists.osgeo.org

Re: [GRASS-user] Cluster whit area?

2010-07-29 Thread Leonardo Hardtke
, Leonardo Hardtke a écrit : Hi! I never used clustTool before. I made a try and i think I found the trick :-). You have to transform your (SpatialPointDataFrame) data to a dataframe... Vine1.df=as.data.frame(Vine1) and then you can Set acctive data in the GUI! hope it helps! Leonardo On 07

Re: [GRASS-user] wx.class

2010-09-08 Thread Leonardo Hardtke
Hi, I tried to use it, but GRASS 6.4.0RC6 (Spearfish):~ ./wx.class.py ./wx.class.py: line 19: ! @package wx.class.py @brief Interface implementation of i.class module without Xterm. Many thanks to Markus Neteler for his help which allowed me to know about i.class and its

[GRASS-user] read raster by block...

2010-10-08 Thread Leonardo Hardtke
Hi list, I made a gdal-phyton script that reads big images (a 230 images timeseries 4000x4000 px) by blocks, something like data = band.ReadAsArray(j, i, xBlSize, yBlSize) someone knows how to do that in a Grass-phyton script (or has a better idea! )? Thaks Leonardo Hardtke -- Lic. Leonardo

Re: [GRASS-user] Is Watershed image segmentation program in GRASS GIS?

2015-11-11 Thread Leonardo Hardtke
Hi there... I used r.grow to segment dNBR images to map wildfires. See: https://www.researchgate.net/publication/269692754_Semi-automated_mapping_of_burned_areas_in_semi-arid_ecosystems_using_MODIS_time-series_imagery Hope it helps... 2015-11-11 3:47 GMT-03:00 Uttam Kumar

Re: [GRASS-user] t.rast.mapcalc question

2015-08-27 Thread Leonardo Hardtke
, Vero 2015-08-27 9:52 GMT-03:00 Leonardo Hardtke leohard...@gmail.com: Dear GRASS users: I'm experienced grass user... I use GRASS since I started my PhD research in landscape ecology back in 2009... I'm trying to calculate the difference of NDVI between consecutive dates. I used to do

Re: [GRASS-user] problem with t.rast.mapcalc (grass71 daily ubuntu 14.04)

2015-09-09 Thread Leonardo Hardtke
.. > > Maybe a bug? Dunno :) > > Cheers, > Vero > > El sep 9, 2015 3:05 PM, "Leonardo Hardtke" <leohard...@gmail.com> > escribió: > >> Dear GRASS users (and developers?!), >> >> I'm facing a problem with an expression in the t.rast.m

[GRASS-user] problem with t.rast.mapcalc (grass71 daily ubuntu 14.04)

2015-09-09 Thread Leonardo Hardtke
Dear GRASS users (and developers?!), I'm facing a problem with an expression in the t.rast.mapcalc module... t.rast.mapcalc inputs=QA_mask,ndvi,ndvi_smooth_spacetime expression="if(QA_mask==0,ndvi,ndvi_smooth_spacetime)" output=ndvi_fixed basename=ndvi_fixed It throws the following error:

Re: [GRASS-user] How to get a list of maps from a group in python script

2016-04-05 Thread Leonardo Hardtke
his the best way to deal with outputs of i.group -l in python? 2016-04-06 11:02 GMT+10:00 Laurent C. <lrn...@gmail.com>: > Hello, > > Try the .splitlines() method on the string. > > Cheers, > Laurent > El abr. 5, 2016 19:52, "Leonardo Hardtke" <leohard..

[GRASS-user] How to get a list of maps from a group in python script

2016-04-05 Thread Leonardo Hardtke
Dear list members, I know this is more a python question than a GRASS question, bot for sure some of you knows the ansewer and is able to help me I need to get a python list with the maps from a group, like ["map1","map2","map"] But by using gscript.read_command i get string, not a list.

Re: [GRASS-user] How to get a list of maps from a group in python script

2016-04-05 Thread Leonardo Hardtke
Oh! Thanks "g" flag combined with .split() worked Leo 2016-04-06 11:59 GMT+10:00 Anna Petrášová <kratocha...@gmail.com>: > On Tue, Apr 5, 2016 at 9:15 PM, Leonardo Hardtke <leohard...@gmail.com> > wrote: > > Thanks Laurent for your help, > >

[GRASS-user] problem with python scripting

2016-04-05 Thread Leonardo Hardtke
Dear users, I am writing a script and I'm having problems with the flags for mapcalc gscript.mapcalc('endmember_rstr.1 = null()', flags="o") ERROR: output map exists. To overwrite, use the --overwrite flag Traceback (most recent call last): File "", line 1, in File

Re: [GRASS-user] problem with python scripting

2016-04-05 Thread Leonardo Hardtke
rue) > Am 05.04.2016 09:02 schrieb "Leonardo Hardtke" <leohard...@gmail.com>: > >> Hi Paulo and thanks for the answer... but It gives me a very similar >> error if I write the full flag (The only difference is TypeError... str >> if I use 'o' and int

Re: [GRASS-user] problem with python scripting

2016-04-05 Thread Leonardo Hardtke
/__init__.py", line 68, in __init__ msg = _("Module run %s %s ended with error") % (module, code) TypeError: 'int' object is not callable Thanks for your help! 2016-04-05 16:56 GMT+10:00 Paulo van Breugel <p.vanbreu...@gmail.com>: > > > On 05-04-16 08:53, Le

[GRASS-user] multiprocessing in python

2018-02-06 Thread Leonardo Hardtke
Dear all, I am working on a module to extract the phenological parameters (like timesat) from a time series implemented in python/cython and making use of gscript and other grass stuff. It works great on a 256x256 and as the plan is applying it over Australia at 250m over 17 years, I need to split