[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Newbie tries to read in data file
thanks for your reply. I have raster data. I have read the appendix of the
user manual, but I can't read this test file in. Can you? And if so, how?
And if not, what's wrong with the file. The example I have found is
zinc.eas, which is a rather different format. As I have many files with
just the values, not x and y coord, as they are implicit in a regular
raster, I hope I don't have to change to much to read them in.
Many thanks, Jan.
On Thu, 10 Feb 2000, Konstantin Malakhanov wrote:
> >>>>> "Kreft" == Jan Kreft <Kreft@Cardiff.ac.uk> writes:
> Kreft> I'm probably missing something simple, but being a biologist I have no
> Kreft> experience with what the data formats supported by gstat actually look
> Kreft> like.
> See gstat manual, section 2.2 "Data formats'. And look at examples in
> the directory cmd of gstat distribution.
> Kreft> I have matrices that simply contain, row by row, and column by
> Kreft> column, the data values. A small example is this:
> Kreft> As you might notice, I'm trying to use the ArcInfo asciigrid format, which
> Kreft> is why I have added the header lines to this file.
> Kreft> How can I read this into gstat?
> Ypu really have raster data, don't you? Otherwise it makes little
> sense to format it to any raster format.
> You can use your data in data-statement or in map statement. The
> minimal example is:
> data(test): 't.dat';
> Save it to t.cmd and use with
> gstat t.cmd
> t.dat would be the name of file with your data. The above example
> starts gstat in interactive mode, giving a possibility to calculate
> and fit variogram/variogram model.
> Hope it helps.
> Konstantin Malakhanov, research fellow
> Institut for Hydraulic Engineering & Groundwater Mgmt., RWTH Aachen, Germany
> E-Mail: email@example.com Tel. +49/(0)241/807343