Re: [gdal-dev] Parllelization slows down single gdal_calc process in python

2016-03-03 Thread Lorenzo Bottaccioli
gt; On 03/03/2016 12:44 AM, Lorenzo Bottaccioli wrote: > >> If i run the code with out parallelization it takes around 650s to >> complete the calculation. Each process of the for loop is executed in >> ~10s. If i run with parallelization it takes ~900s to complete the >>

[gdal-dev] Parllelization slows down single gdal_calc process in python

2016-03-02 Thread Lorenzo Bottaccioli
Hi, I'm trying to parallelize a code for raster calculation with Gdal_calc.py, but i have relay bad results. I need to perform several raster operation like FILE_out=FILA_a*k1+FILE_b*k2. This is the code I'm usign: import pandas as pdimport osimport timefrom multiprocessing import Pool df = pd.r

[gdal-dev] [gadl-dev][Grass-dev] Make error with grass 7 and Gdal-grass-plugin-2.0

2015-07-27 Thread Lorenzo Bottaccioli
Hi, I'm trying to compile GDAL-grass-plugin-2.0 against grass 7. I have previously installed GDAL2.0 with out grass support. Then I have compiled grass 7 with no errors. I'f I try to compile GDAL-grass-plugin wtih this configure *./configure --prefix=/usr/local --with-gdal=/usr/bin/gdal-config