Re: [gdal-dev] gdal error in multi-core process

2012-04-03 Thread Giuseppe Amatulli
Hi thanks for the fast replay. yes my mistake, there was the same temp.tif file in read/write from the different processors. Thanks Ciao Ciao > > Giuseppe, > > You haven't offered too much detail of what myscript.sh does, but > I'm guessing you use a fixed name for temporary files (ie. temp.tif)

Re: [gdal-dev] gdal error in multi-core process

2012-04-03 Thread Frank Warmerdam
On Tue, Apr 3, 2012 at 10:39 AM, Giuseppe Amatulli wrote: >> Error which happen in a random way. >> >> NDVI_TOA >> Input file size is 5000, 5000 >> 0...10...20...30...40...50...60...70...80...ERROR 1: >> TIFFFillStrip:Read error at scanline 4479; got 2040 bytes, expected >> 1 >> ERROR 1: TIFFR

[gdal-dev] gdal error in multi-core process

2012-04-03 Thread Giuseppe Amatulli
> HI > i'm trying to use gdal*   in multi-core pc, running the same script > for 2 in pendent folders containing several geotif  files. > The script return no error if it run in one terminal ( for file in > 2002/*.tif  2007/*.tif  ; do  bash myscript.sh  $file ; done  ) > Instead  It gives the down