bug in r.in.sunrast?

Bob Courtney courtney at agcrr.bio.ns.ca
Tue Jun 8 12:47:19 EDT 1993


> 
> 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
> 
The problem arises from the fact that ALL sun rasterfiles have null
padding to extend odd  number of bytes in one row to an even number.
The 4.0 version of r.in.sunrast does not know this, but the problem
has been fixed in 4.1

Bob Courtney
Atlantic Geoscience Centre





More information about the grass-user mailing list