[GRASSLIST:2885] Re: r.in.bin and 8 bit (unsigned) binary

Glynn Clements glynn.clements at virgin.net
Tue Mar 9 11:42:32 EST 2004


Martin du Saire wrote:

>  > So I managed to import the data using r.in.bin with r=8996, c=9223, and am
> > > currently messing around with r.support to get the output I want.  However,
> > > there is a mismatch between the actual (81,026kb) and calculated file size
> > > (based on row x cols: 82,970kb).  What does this mean?

The mismatch is due to the difference between 1000 bytes and a
kilobyte (1024 bytes):

	8996 * 9223 = 82970108 bytes.

	82970108 / 1000 = 82970
	82970108 / 1024 = 81025

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list