[GRASS-dev] what is the meaning of: "Error reading raster data for row 239 of <MASK>"

Moritz Lennert mlennert at club.worldonline.be
Fri Jul 3 03:21:46 PDT 2015

On 03/07/15 11:27, Paulo van Breugel wrote:
> On 03-07-15 11:04, Moritz Lennert wrote:
>> On 02/07/15 19:26, Markus Neteler wrote:
>>> On Jul 2, 2015 5:18 PM, "Moritz Lennert" <mlennert at club.worldonline.be
>>> <mailto:mlennert at club.worldonline.be>> wrote:
>>>  >
>>>  > Hello,
>>>  >
>>>  > When I run a script that loops over a long series of point data sets
>>> and then does a series of raster calculations based on these data sets,
>>> I sometimes get the following error:
>>>  >
>>>  > ERROR: Error reading raster data for row 239 of <MASK>
>>>  >
>>>  > Can someone explain what this means and how to debug this ?
> Just to note that this does not seem to be an isolated problem:
> * http://lists.osgeo.org/pipermail/grass-dev/2014-September/070584.html
> * http://lists.osgeo.org/pipermail/grass-dev/2015-May/074937.html

Right. And as in those two cases, when I do not use a mask, I do not 
have the problem, but calculation times are increased which makes it a 
pain to work without a mask.

The error comes from here:

raster/get_row.c:142:	G_fatal_error(_("Error reading raster data for row 
%d of <%s>"),

which is part of the 'read_data_compressed' function.

read(fcb->data_fd, cmp, readamount) returns 0, while readamount is 18.

I'm not familiar enough with the raster lib to understand what this implies.


More information about the grass-dev mailing list