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

Glynn Clements glynn at gclements.plus.com
Sat Jul 4 10:50:44 PDT 2015


Moritz Lennert wrote:

> 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.

The odd thing is that a MASK raster is read using the same functions
which are used for reading any other raster.

Is the MASK raster itself fine? If you rename it to something other
than MASK, can it be read by r.* commands without error?

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list