I ran into the same problem last week. I temporarily solved the problem by modifying the source-code of r.in.sunrast, in a sence that it only works with an odd number of bytes in one row. When I have an even number, I will have to modify the code again. Maybe in grass4.1 the bug is solved. Ronald Wiemer Archis centre of expertise Amersfoort The Netherlands