Re: [GRASS-user] GRASS at the 12th International Conference on Hydroinformatics

2016-08-12 Thread Thomas Adams
Hi Laurent, Not sure what I'm doing wrong; I followed the installation using: pip install itzi which placed itzi here... /home/teaiii/.local/lib/python2.7/site-packages/itzi Running: itzi run parameter_file_name ... gives me this... GRASS 7.0.3 (nc_spm_08_grass7):~/grass/data > itzi run test

Re: [GRASS-user] GRASS at the 12th International Conference on Hydroinformatics

2016-08-12 Thread Anna Petrášová
On Fri, Aug 12, 2016 at 7:09 PM, Laurent C. wrote: > Hello, > > This message to let you know that I'll give a talk called "A GRASS GIS > module for 2D superficial flow simulations" at the 12th International > Conference on Hydroinformatics that will be held from 21 to 26 of >

Re: [GRASS-user] grass run_command within python/grass script

2016-08-12 Thread Laurent C.
Hello, You try to pass a string as an argument to run_command, which will not work. If you want to change the input, change that string only: for m in maps: grass.run_command('r.in.gdal', input=m, output=m) or, as in your example: grass.run_command('r.in.gdal', input=sys.argv[5],

Re: [GRASS-user] GRASS_VERBOSE=-1

2016-08-12 Thread Laurent C.
Hello, One solution is to set the environment variable like this: os.environ['GRASS_VERBOSE'] = '3' the other is to pass the verbosity as an argument to run_command(verbose=True) Cheers, Laurent 2016-08-12 9:56 GMT-05:00 Micha Silver : > How do I use the VERBOSE=-1 option

[GRASS-user] GRASS at the 12th International Conference on Hydroinformatics

2016-08-12 Thread Laurent C.
Hello, This message to let you know that I'll give a talk called "A GRASS GIS module for 2D superficial flow simulations" at the 12th International Conference on Hydroinformatics that will be held from 21 to 26 of august in Incheon, Korea. The goal is basically to present Itzï

[GRASS-user] Pan sharpen Worldview-2 imagery

2016-08-12 Thread William Hudspeth
Hello, I was wondering whether anyone has a workflow to pan sharpen Worldview-2 imagery (0.5 m pan, and 2.0 m MS) with 5 bands (panchromatic, red, blue, green, NIR). I am using grass 7.0.3 on ubuntu 16.01, but cannot find the i.fusion.hbf command. I would also like information on any

Re: [GRASS-user] Data ranges of geotiff not preserved after import to GRASS

2016-08-12 Thread William Hudspeth
Thank you. That solution worked On 08/11/2016 01:34 AM, Markus Metz wrote: On Wed, Aug 10, 2016 at 10:29 PM, Bill Hudspeth wrote: Hello I am trying to import a multiband geotiff into GRASS 7.0.3 (running on Ubuntu 16.01). The gdalinfo output shows the 4 bands,

Re: [GRASS-user] (no subject)

2016-08-12 Thread alassane toure
Thanks Anna, it worked! On Fri, Aug 12, 2016 at 11:31 AM, Anna Petrášová wrote: > On Fri, Aug 12, 2016 at 1:05 PM, alassane toure wrote: > > Group, > > I am running a grass-python script but when i replace a variable argument > > within the command the

Re: [GRASS-user] (no subject)

2016-08-12 Thread Anna Petrášová
On Fri, Aug 12, 2016 at 1:05 PM, alassane toure wrote: > Group, > I am running a grass-python script but when i replace a variable argument > within the command the script does not work > > The following works... > grass.run_command('r.in.gdal', >

[GRASS-user] (no subject)

2016-08-12 Thread alassane toure
Group, I am running a grass-python script but when i replace a variable argument within the command the script does not work The following works... grass.run_command('r.in.gdal', input='/home/alassane/Data/ SanbornCD/tile/newconstr_mask.tif', output='construction') But not this...

[GRASS-user] GRASS_VERBOSE=-1

2016-08-12 Thread Micha Silver
How do I use the VERBOSE=-1 option in a python script? I am importing lists of rasters that do not have CRS info (grib2 format), so I use the '-o' option to override CRS check. But the screen gets filled with: WARNING: Datum not recognised by GRASS and no parameters found WARNING:

Re: [GRASS-user] Problems with v.to.db after breaking with v.edit

2016-08-12 Thread Mira Kattwinkel
Hello Thanks for the advice. The first step suggested does produce a new vector map with the old information in layer 1 and new categories in layer 2 (nothing else). However, I do not understand the 2nd step. Do you really mean to connect table2 (I guess that is the one belonging to map2) to