I have a small data set that I want to manipulate in GRASS. The problem
is the header file. Creation of this file requires that I specify the
number of rows, columns, and bytes per cell. As you know the product of
these 3 values must equal the file size. My file is 125124 mb. I have
400 columns and 107 rows. Dividing the file's size by the product of
columns and rows indicates I have 2.9 bytes per cell. This isn't
acceptable of course. I believe my problem lies in the presentation of
the data. I used a spreadsheet (Microsoft's Excel) to enter the data and
saved it as a text file. This program is limited to 256 columns so I
wrapped the columns down to the next line, starting a new line at each
new row. Is this my problem? If so does anyone have a suggestion as to
how I might create a text file without this problem? Your help is
appreciated.
Brad Robbins Dept. of Biology
brobbins@chuma.cas.usf.edu Univ. of South Florida
It has been pointed out that I've had a "slip of the finger" so to speak
when I stated the size of my file. I said the file was 125124 mb. What
I meant was 125124 _bytes_.
Brad Robbins Dept. of Biology
brobbins@chuma.cas.usf.edu Univ. of South Florida
On Tue, 23 Aug 1994, Brad Robbins (BIO) wrote:
I have a small data set that I want to manipulate in GRASS. The problem
is the header file. Creation of this file requires that I specify the
number of rows, columns, and bytes per cell. As you know the product of
these 3 values must equal the file size. My file is 125124 mb. I have
400 columns and 107 rows. Dividing the file's size by the product of
columns and rows indicates I have 2.9 bytes per cell. This isn't
acceptable of course. I believe my problem lies in the presentation of
the data. I used a spreadsheet (Microsoft's Excel) to enter the data and
saved it as a text file. This program is limited to 256 columns so I
wrapped the columns down to the next line, starting a new line at each
new row. Is this my problem? If so does anyone have a suggestion as to
how I might create a text file without this problem? Your help is
appreciated.
Brad Robbins Dept. of Biology
brobbins@chuma.cas.usf.edu Univ. of South Florida