Re: [GRASS-user] How GRASS loads raster images into memory?

2013-08-17 Thread Glynn Clements
Andranik Hayrapetyan wrote: I would like to understand how GRASS loads raster images into memory to perform calculations on them. Does it load the entire image into memory and only then do the calculation on them, or it loads image into memory by portions sequentially? The lowest-level read

[GRASS-user] How GRASS loads raster images into memory?

2013-08-16 Thread Andranik Hayrapetyan
Good day, I would like to understand how GRASS loads raster images into memory to perform calculations on them. Does it load the entire image into memory and only then do the calculation on them, or it loads image into memory by portions sequentially? Or may be this depends on specific module? In

Re: [GRASS-user] How GRASS loads raster images into memory?

2013-08-16 Thread Benjamin Ducke
Hi, Basically, GRASS reads rasters row-by-row. But it is up to the individual module to keep more than one row in memory to speed up calculations. That is why some GRASS modules have options for the user to adjust the amount of raster data to be cached in memory. The GRASS raster engine is very

Re: [GRASS-user] How GRASS loads raster images into memory?

2013-08-16 Thread Pietro Zambelli
On Friday 16 Aug 2013 18:08:53 Andranik Hayrapetyan wrote: Good day, I would like to understand how GRASS loads raster images into memory to perform calculations on them. Does it load the entire image into memory and only then do the calculation on them, or it loads image into memory by