RE: [GRASS-user] suppress output to terminal completely

2008-12-29 Thread Hufkens Koen
can run in the background and I can keep working. Thanks, Koen -Original Message- From: Paul Kelly [mailto:paul-gr...@stjohnspoint.co.uk] Sent: Mon 29-12-2008 17:36 To: Hufkens Koen Cc: grass-user@lists.osgeo.org Subject: Re: [GRASS-user] suppress output to terminal completely On Mon

[GRASS-user] r.mapcalc in ssh session

2008-12-14 Thread Hufkens Koen
Hi list, this weekend I ssh'd in computer to let some processes run in the background so I have my results tommorow. However my script crashes on a strange error related to r.mapcalc. I tried some r.mapcalc commands within the ssh'd GRASS session and I get the same error. for example:

[GRASS-user] Exotic patch based statistics, a solution...

2008-12-13 Thread Hufkens Koen
Hi list, just want to share some code that could be useful to some of you. I was looking for a way to do other patch based statistics than those provided in r.statistics. Using masks and a loop in GRASS was terribly slow (certainly for very patchy areas (in my case some 10). So this is

[GRASS-user] output r.out.ascii

2008-12-10 Thread Hufkens Koen
Hi list, I'm trying to use r.out.ascii to dump a map (or better a masked part of it) to stdout. I would then use sed to clean up the data so I'm only left with the pixel values and no spatial information (don't need it). However, If I run something in the lines of: r.out.ascii -h input=patch

[GRASS-user] speeding up context evaluation...

2008-12-02 Thread Hufkens Koen
Hi list, for a validation exercise I need to extract the class values around certain pixel location. I have a map with all the locations (numbered) and a map with the validation map. The code you find below is the one I came up with to get this information (only output to terminal for the

RE: [GRASS-user] r.texture NULL value error

2008-11-25 Thread Hufkens Koen
Markus Neteler Verzonden: ma 24-11-2008 15:46 Aan: Hufkens Koen CC: GRASS user list Onderwerp: Re: [GRASS-user] r.texture NULL value error On Mon, Nov 24, 2008 at 2:39 PM, Hufkens Koen [EMAIL PROTECTED] wrote: Hi list, I've been trying to run a r.texture filter on a map but I constantly get

[GRASS-user] r.texture NULL value error

2008-11-24 Thread Hufkens Koen
Hi list, I've been trying to run a r.texture filter on a map but I constantly get the error: ERROR: Negative or no data pixel found. This module is not yet able to process no data holes in a map, please fill with r.fillnulls or other algorithms However, I ran r.null to set all

[GRASS-user] calculating statistics based upon a raster patch map

2008-11-20 Thread Hufkens Koen
Hi list, I've got two maps, a map with patches or areas which I want to evaluate. A second map contains a parameter which I want to evaluate (average, std) based upon areas as delineated in the first map. The output of all this would optimally be a third map with the results of the evaluation

[GRASS-user] Download link of Lorenzo Moretti's builds for mac OSX

2008-11-11 Thread Hufkens Koen
Hi list, I don't know who maintains the grass site but I couldn't reach the latest builds of grass from Lorenzo Moretti for Mac OSX from the link provided by the grass site. It seems that the page has moved to http://grass.bologna.enea.it/download/ . Maybe I double post but anyway... this

[GRASS-user] getting the number of occurences of different classes in a moving window neighbourhood

2008-10-20 Thread Hufkens Koen
Hi list, I'm looking for a way to extract the occurence (number of pixels of a certain class in a moving window) of a certain class in a moving window neighbourhood and write this to a map. r.neighbors only provides summarized versions of what I need. Is there a way to calculate this basic

[GRASS-user] Geotiff export error (extra row and column)

2008-10-20 Thread Hufkens Koen
Hi list, I've recently noticed that when exporting maps as Geotiff GDAL adds an extra row and column to the map. Within grass this data is not there. For example my map that measures 4509 rows and 4359 columns gets exported as a tiff of size 4510 by 4360. The added row and column are empty

[GRASS-user] programming an automated GRASS analysis with a custom interface

2008-09-08 Thread Hufkens Koen
Hi list, I'm currently working on a project where it would be nice to have user friendly and above all limited interface to an automated GRASS routine. Is there a quick and easy way to call GRASS from within other code (preferably a fast scripting language)? Furthermore, is interaction