On Sat, 4 Jul 2015 18:50:44 +0100, Glynn Clements <[email protected]> wrote: > 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?
I've tried r.info, r.stats, r.report, r.univar, r.neighbors, r.series, r.mapcalc and all of them work fine on the result of 'g.rename MASK,mymask'. Moritz _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
