[GRASS-user] How to use the neighborhood modifier of grass:r.mapcalculator in PyQGIS

2016-11-17 Thread Sophie Crommelinck
Hello, I would like use r.mapcalculator in a PyQGIS processing script to change values from one raster in another accordingly. I don't know how to call the variables row and col, which are now read as simple strings in the following code: processing.runalg('grass:r.mapcalculator',{"amap": rlayer,

[GRASS-user] g.region and terraflow

2016-11-17 Thread Robert Kuszinger
Hi, it seems that terraflow could handle only and exatly only the situation when g.region raster=*sourcedtm* *Is it true?* I tried to script setting g.region to raster and then limit extent changing to a smaller sub-portion of the image. Full image: (g.,region raster=) projection: 99 (HD

Re: [GRASS-user] g.region and terraflow

2016-11-17 Thread Mark Seibel
Hi. Not sure if this is part of the problem, but the g.region " -a " switch will align the raster and should get rid of the non-square (rectangular) cells. Mark ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/list

Re: [GRASS-user] Sentinel2 para procesar imágenes de Sentinel-2 MSI L1C a L2A

2016-11-17 Thread Eddison Araya
Hola Stefan y Markus, muchas gracias por su respuesta Saludos cordiales Eddison 2016-11-17 1:51 GMT-06:00 Blumentrath, Stefan : > Hei Eddision, > > > > Currently you will have to use a 3rd party solution for that (e.g. > sen2cor). > > Please note that ESA is conducting a “Atmospheric Correction

Re: [GRASS-user] Sentinel2 para procesar imágenes de Sentinel-2 MSI L1C a L2A

2016-11-17 Thread Blumentrath, Stefan
Hei Eddision, Currently you will have to use a 3rd party solution for that (e.g. sen2cor). Please note that ESA is conducting a “Atmospheric Correction Inter-comparison Exercise” (ACIX) where the different available algorithms are benchmarked against each other: https://earth.esa.int/web/sppa/me

Re: [GRASS-user] 3D Grid

2016-11-17 Thread Anna Petrášová
That's easy: r.mapcalc "new = 1" On Nov 17, 2016 3:26 AM, "Paul Shapley" wrote: > Hello Anna, > > Thanks for your quick reply. How would you create a raster with just a > single value? r.recode or r.mapcalc? > > Thanks, > > Paul Shapley > > On 16 November 2016 at 13:59, Anna Petrášová > wrote:

Re: [GRASS-user] Sentinel2 para procesar imágenes de Sentinel-2 MSI L1C a L2A

2016-11-17 Thread Markus Neteler
On Thu, Nov 17, 2016 at 3:30 AM, Eddison Araya wrote: > Hello, it's a pleasure to greet you, hoping you are well. Has anyone > processed sentinel 2 images to convert from level to L1C to L2A? Yes, we do that frequently (using sen2cor which not always works). Best, Markus -- Markus Neteler htt