[GRASS-user] Re: Importing multiple files with r.in.xyz

2010-08-11 Thread Hanlie Pretorius
Thanks for the reply. I'll try that if I don't manage with the Linux version. However, previously when I worked with the SVN version, I was advised to rather use the stable version. 2010/8/10, Helmut Kudrnovsky hel...@web.de: Hi, I'm working with WinGRASS 6.4RC6 on Win XP [...] please try

Re: [GRASS-user] Re: Importing multiple files with r.in.xyz

2010-08-11 Thread razmjooeis
Hanlie You might find this useful: http://www.surfaces.co.il/?p=578 It's in qgis, but still you can use GRASS plugin to interact with your datasets. Cheers Saber Thanks for the reply. I'll try that if I don't manage with the Linux version. However, previously when I worked with the SVN

Re: [GRASS-user] Re: Importing multiple files with r.in.xyz

2010-08-11 Thread Hanlie Pretorius
Had a look at the article. Interesting process. However, the TRMM rainfall data is already spatially distributed, albeit at a coarse resolution (0.25 degrees). 2010/8/11, razmjoo...@faunalia.co.uk razmjoo...@faunalia.co.uk: Hanlie You might find this useful: http://www.surfaces.co.il/?p=578

Re: [GRASS-user] Re: Importing multiple files with r.in.xyz

2010-08-11 Thread Micha Silver
Hello Hanlie: First I must thank Saber for pointing you to my blog. Regarding your r.in.xyz question, If you decide to make the jump to Linux, then the scripting capabilities in a bash shell will give you a real eye-opener. As others have mentioned, you can loop thru a whole directory of

[GRASS-user] addons installation under GRASS 7.0-svn

2010-08-11 Thread Rhot
Hello! I've got a problem with installing of any addon to grass 7.0-svn (Ubuntu 9.10). Particularly, while installing module i.landsat.acca, I got the following errors. r...@rhot-workstation:~/Dl/i.landsat.acca$ LANGUAGE=en.US.UTF-8 make MODULE_TOPDIR=/usr/local/grass-7.0.svn/ : gcc

Re: [GRASS-user] addons installation under GRASS 7.0-svn

2010-08-11 Thread Martin Landa
Hi, 2010/8/11 Rhot r...@rambler.ru: Hello! I've got a problem with installing of any addon to grass 7.0-svn (Ubuntu 9.10). Particularly, while installing module i.landsat.acca, I got the following errors. you need to update the code to use raster library which has been introduced in GRASS 7

[GRASS-user] Scripts interface without optional tab

2010-08-11 Thread Nikos Dumakis
Greetings I have created a Python Script and defined only required parameters so no optionals but, it's still created a Optional tab with Verbose module output and Quiet module output. Is it possible to have scripts without these parameters? Another question: What is difference between Verbose

Re: [GRASS-user] Importing multiple files with r.in.xyz

2010-08-11 Thread Hanlie Pretorius
My apologies for my ignorance, but how do I get this to run in Linux? Am using Ubuntu 10.04 and GRASS 6.4RC6. I entered the following into the GRASS text window and am testing it with a list of two files (I removed the region settings because the files all have the same region, which I have

Re: [GRASS-user] Importing multiple files with r.in.xyz

2010-08-11 Thread Vincent Bain
Hi, short intrusion in this current thread, without knowing exactly what it is related to : I only mean to suggest you to close the while loop... This prompt means the shell expects the end of your statement ; here you should type done to close the while instruction. Hope it helps, Regards.

Re: [GRASS-user] Importing multiple files with r.in.xyz

2010-08-11 Thread Micha Silver
On 08/11/2010 03:10 PM, Hanlie Pretorius wrote: My apologies for my ignorance, but how do I get this to run in Linux? Am using Ubuntu 10.04 and GRASS 6.4RC6. Samber's method will surely work, but you might more simply try as follows: # start grass in a location which matches the txt file data

Re: [GRASS-user] Importing multiple files with r.in.xyz

2010-08-11 Thread Micha Silver
On 08/11/2010 03:32 PM, Micha Silver wrote: On 08/11/2010 03:10 PM, Hanlie Pretorius wrote: My apologies for my ignorance, but how do I get this to run in Linux? Am using Ubuntu 10.04 and GRASS 6.4RC6. Samber's method will surely work, but you might more simply try as follows: # start

Re: [GRASS-user] Importing multiple files with r.in.xyz

2010-08-11 Thread Hanlie Pretorius
2010/8/11, Vincent Bain b...@toraval.fr: Hi, short intrusion in this current thread, without knowing exactly what it is related to : I only mean to suggest you to close the while loop... This prompt means the shell expects the end of your statement ; here you should type done to close the

Re: [GRASS-user] Importing multiple files with r.in.xyz

2010-08-11 Thread razmjooeis
Open gedit (from Accessories) and copy paste the the commands into it. Save the file to the same location as your raster and your files.txt file call it import_xyz.sh Now, open grass from terminal Once in grass environment...change directory to your file sh import_xyz.sh Cheers Saber On

Re: [GRASS-user] addons installation under GRASS 7.0-svn

2010-08-11 Thread Rhot
Martin Landa пишет: Hi, 2010/8/11 Rhot r...@rambler.ru: Hello! I've got a problem with installing of any addon to grass 7.0-svn (Ubuntu 9.10). Particularly, while installing module i.landsat.acca, I got the following errors. you need to update the code to use raster library which has

Re: [GRASS-user] Importing multiple files with r.in.xyz

2010-08-11 Thread Hanlie Pretorius
2010/8/11, Micha Silver mi...@arava.co.il: Samber's method will surely work, but you might more simply try as follows: # start grass in a location which matches the txt file data # change to the directory where your txt files are, then do for infile in *.txt; do outrast=`basename ${infile}

Re: [GRASS-user] Importing multiple files with r.in.xyz

2010-08-11 Thread Nikos Alexandris
Micha Silver mi...@arava.co.il: Samber's method will surely work, but you might more simply try as follows: # start grass in a location which matches the txt file data # change to the directory where your txt files are, then do for infile in *.txt; do outrast=`basename ${infile}

Re: [GRASS-user] Importing multiple files with r.in.xyz

2010-08-11 Thread Hanlie Pretorius
2010/8/11, Nikos Alexandris nikos.alexand...@felis.uni-freiburg.de: Micha Silver mi...@arava.co.il: Samber's method will surely work, but you might more simply try as follows: # start grass in a location which matches the txt file data # change to the directory where your txt files are,

[GRASS-user] Re: Importing multiple files with r.in.xyz

2010-08-11 Thread Hermann Peifer
On 11/08/2010 15:07, Hanlie Pretorius wrote: This works nicely, except that my input files have names like: 3B42.000201.0.6.nc.lieb.txt 3B42.000201.3.6.nc.lieb.txt and I want the output rasters to be named 3B42.000201.0.6 3B42.000201.3.6 In fact, it would be best if they could be named:

[GRASS-user] GRASS compiled from source: child_exception

2010-08-11 Thread LeeDaniel
Hi all, I've got another problem again. Since I had so much trouble with getting g.extension to work and never managed to get the add-on I desperately need to compile (r.area), I'm trying it now with GRASS compiled from source. I tried GRASS 7 and now I've tried GRASS 6.5, both with the same

[GRASS-user] Re: GRASS compiled from source: child_exception

2010-08-11 Thread LeeDaniel
Hi there, Alright, I think I figured out the problem: I've got a 32-bit system and not a 64-bit one. My mistake. Now I'm back to the old problem, though. I really need r.area because I'm working with python and don't want to pipe awk commands through r.stats in order to find out the area of my

Re: [GRASS-user] Missing database drivers

2010-08-11 Thread razmjooeis
Have you used your linux distro to install grass (apt, yum, emerge, etc)? You can always compile GRASS with sqlite option: http://grass.osgeo.org/wiki/Compile_and_Install http://grass.osgeo.org/wiki/Compile_and_Install#Prerequisites Cheers Saber I am reading Open Source GIS, and the authors