Re: [GRASS-user] g.extension - ERROR: G_getenv(): Variable LOCATION_NAME not set

2012-02-07 Thread Hamish
Eric wrote: > Not sure if I should be sending this to the mail list or > reporting it as a bug? Seems I am doing everything right, > but I still have a lot to learn. I hope I am missing something > easy??? usually a bug report would be good, but g.extension is still a work in progress, so the ma

Re: [GRASS-user] r.sunmask (position) and r.shaded.relief

2012-02-07 Thread Paolo Cavallini
Il 07/02/2012 14:43, Markus Neteler ha scritto: Hope this helps, Markus Thanks a lot! -- Paolo Cavallini See: http://www.faunalia.it/pc ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] Re: [GRASS-dev] how to import NetCDF data??

2012-02-07 Thread Michael Barton
Thanks Markus, Once William comes out with a new GDAL framework, I'll be able to test this out. How does it work on Windows? Does GDAL come packaged with GRASS? Or is it installed separately? Michael C. Michael Barton Director, Center for Social Dynamics & Complexity Profe

[GRASS-user] Import dgn with v.in.ogr

2012-02-07 Thread ellsamie
I am a new user to GRASS, so please forgive my stupid question. I tried to import a dgn in V8 XM version into GRASS but the software failed to open the source data. I confirmed with the location of my dgn and don't know what is happening. Thanks~~~ -- View this message in context: http://osgeo-or

[GRASS-user] Re: [GRASS-dev] how to import NetCDF data??

2012-02-07 Thread Markus Neteler
On Tue, Feb 7, 2012 at 7:33 PM, Michael Barton wrote: > I'm trying to help someone at NCAR import NetCDF data and we keep getting an > illegal north latitude error. The new GDAL 1.9.0 has an improved netCDF driver, see http://trac.osgeo.org/gdal/wiki/Release/1.9.0-News Markus ___

Re: [GRASS-user] G_calloc error using r.in.xyz

2012-02-07 Thread Hamish
Patrick wrote: > r.in.xyz in=FILENAME.txt fs=, out=FILENAME_RAST > > I receive the error > > ERROR:  G_calloc: unable to allocate 1253898072 * 4 bytes at > main.c:431 it means you are out of memory. (fwiw the development branches include the missing word but it has not been backported to 6.4 yet)

Re: [GRASS-user] how to import NetCDF data??

2012-02-07 Thread kapo coulibaly
Also which package are you using and which version of netcdf? On Tue, Feb 7, 2012 at 1:33 PM, Michael Barton wrote: > I'm trying to help someone at NCAR import NetCDF data and we keep getting > an illegal north latitude error. Looking at the GDAL info, I think we need > to specify some additional

Re: [GRASS-user] how to import NetCDF data??

2012-02-07 Thread Kirk Wythers
I had to import a bunch of SSURGO NetCDF data not too long ago Michael (I was going back and forth with GRASS and MATLAB). I don't seem to remember having any trouble with gdal (which means that it must have worked!) Are you sure that the NetCDF is Lat Long? What was your error exactly? Is the

[GRASS-user] how to import NetCDF data??

2012-02-07 Thread Michael Barton
I'm trying to help someone at NCAR import NetCDF data and we keep getting an illegal north latitude error. Looking at the GDAL info, I think we need to specify some additional metadata, but the GDAL page stops short of giving an example of how to do this. Has anyone imported climate data this wa

[GRASS-user] G_calloc error using r.in.xyz

2012-02-07 Thread Patrick Proffitt
I'm using r.in.xyz on a simple xyz point cloud. I'm operating on 64 bit Windows 7 with 4 GB RAM and 1.7GHz i5 processor. I am running GRASS 6.4 from the MSYS command line and I am using this tutorialas a templete. My data is simple xyz from a comma seperated te

Re: [GRASS-user] v.generalize threshold and boyle's algorithm

2012-02-07 Thread Markus Metz
Johannes Radinger wrote: > Hello, > > after some month a tried an script again which > calls v.generalize. It seems that this module > has changed in version 6.4.2 and 6.5SVN. > > Before I could use following: > grass.run_command("v.generalize", >                      input = input, >              

[GRASS-user] g.extension - ERROR: G_getenv(): Variable LOCATION_NAME not set

2012-02-07 Thread Eric Momsen
Not sure if I should be sending this to the mail list or reporting it as a bug? Seems I am doing everything right, but I still have a lot to learn. I hope I am missing something easy??? I want to add some extensions for all users on a shared virtual machine (Gnome, Debian, GRASS 6.4.2RC3 (2012)

Re: [GRASS-user] Cost Path

2012-02-07 Thread Moritz Lennert
On 07/02/12 14:39, ALT SHN wrote: Hello list, I have a raster obtained through r.mapcalc whose cells values represent friction or cost. I suppose that is friction per cell. To finish my study I'm lacking one final step - calculate the least cost path! How do I do it? I've tried r.cost but t

Re: [GRASS-user] r.sunmask (position) and r.shaded.relief

2012-02-07 Thread Markus Neteler
On Tue, Feb 7, 2012 at 1:33 PM, Paolo Cavallini wrote: > Hi all. > What is in short, the difference between the two commands? They are completely different. r.sunmask calculated the sun position for a given date-time, optionally writing out a sun cast shadow map (not shaded!) r.shaded.relief

[GRASS-user] Cost Path

2012-02-07 Thread ALT SHN
Hello list, I have a raster obtained through r.mapcalc whose cells values represent friction or cost. To finish my study I'm lacking one final step - calculate the least cost path! How do I do it? I've tried r.cost but the result is not wat I expected - My desired output is just a line from A to

[GRASS-user] r.sunmask (position) and r.shaded.relief

2012-02-07 Thread Paolo Cavallini
Hi all. What is in short, the difference between the two commands? Thanks. -- Paolo Cavallini See: http://www.faunalia.it/pc ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] How to compile r.example

2012-02-07 Thread Luisa Peña
Hello Hamish First of all, thank you for your feedback but.. please clean away the previous build and start from a clean > source tree. (the g.html2man Perl script used to be installed > into a directory of the same name but now exists where the > directory used to be. if you haven't run 'make di

[GRASS-user] v.generalize threshold and boyle's algorithm

2012-02-07 Thread Johannes Radinger
Hello, after some month a tried an script again which calls v.generalize. It seems that this module has changed in version 6.4.2 and 6.5SVN. Before I could use following: grass.run_command("v.generalize", input = input, output = "vector_gen",

Re: [GRASS-user] How to compile r.example

2012-02-07 Thread Hamish
Luisa wrote: > GRASS_PERL=/usr/bin/perl VERSION_NUMBER=6.4.2RC2 sh > /home/opt/grass642RC2/grass-6.4.2RC2/tools/g.html2man > /opt/grass642RC2/grass-6.4.2RC2/docs/html/r.example.html > /opt/grass642RC2/grass-6.4.2RC2/man/man1/r.example.1 1 > > /home/opt/grass642RC2/grass-6.4.2RC2/tools/g.html2man: >

Re: [GRASS-user] How to compile r.example

2012-02-07 Thread Luisa Peña
Hi Now I got this: /home/opt/grass642RC2/grass-6.4.2RC2/include/Make/Module.make:25: warning: overriding commands for target `install' /home/opt/grass642RC2/grass-6.4.2RC2/include/Make/Rules.make:90: warning: ignoring old commands for target `install' gcc -L/opt/grass642RC2/grass-6.4.2RC2/lib -Wl,-

Re: [GRASS-user] Python - GRASS module output, r.univar

2012-02-07 Thread Markus Neteler
Hi, I took liberty to add the notes here: http://grass.osgeo.org/wiki/GRASS_and_Python#NULL_data_management Markus ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user