[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie tries to read in data file



Dear Group,

I'm probably missing something simple, but being a biologist I have no
experience with what the data formats supported by gstat actually look
like. I have matrices that simply contain, row by row, and column by
column, the data values. A small example is this:

ncols 10
nrows 10
cellsize 2
xllcorner 0
yllcorner 0
0 711.155 246.284 0 0 0 0 0 0 0
0 886.983 759.012 109.714 0 0 0 0 0 0
0 819.122 894.999 487.733 0 0 0 0 0 0
0 807.441 873.186 555.957 0 0 0 0 0 0
0 937.831 878.635 187.281 0 0 0 0 0 0
0 934.766 858.123 171.103 0 0 0 0 0 0
0 721.866 795.062 8.00909 0 0 0 0 0 0
0 113.503 64.1974 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0

As you might notice, I'm trying to use the ArcInfo asciigrid format, which
is why I have added the header lines to this file.

How can I read this into gstat?

Many thanks, Jan.

Jan Kreft				Phone +44 (0)1222 875278
Cardiff School of Biosciences		Fax   +44 (0)1222 874305
Cardiff	University 			E-mail Kreft@cardiff.ac.uk
PO Box 915, Cardiff CF10 3TL, UK