[STATSGRASS] gstat problem on Linux

Thomas Adams Thomas.Adams at noaa.gov
Wed Mar 3 12:31:49 EST 2004


I have been using GSTAT with GRASS successfully on a Mac OS X system 
with no problems. When I move the **IDENTICAL** files to a Linux system 
(RedHat Linux 7.3) the GSTAT variogram code works fine, but when I 
attempt to generate a predicted map using ordinary kriging I get a 
singled valued map, which is completely different from the results with 
the same data on my Mac OS X system.

I have attached 2 gif files that show the difference; the 
"precip.200301_pr.map.gif" is generated on Linux (the one that is bad - 
the single value everywhere is 1.528851), the "2003.pr.gif" was 
generated on Mac OS X, which is correct.

gstat kriging output:

GRASS:/grass/data > gstat gstat.krige.200301.precip
gstat: Linux version 2.4.3 (04 July 2003)
Copyright (C) 1992, 2003 Edzer J. Pebesma
using Marsaglia's random number generator
name|sta.precip.200301.15k
desc|s.in.ascii sites=sta.precip.200301.15k 
input=sta.precip.200301.grass fs='|'
GRASS site list sta.precip.200301.15k: 0 cat, 2 dim, 0 str, 1 dbl.
data(precip.200301): gstat/grass: 414 sites read successfully.
sta.precip.200301.15k     (GRASS site list)
attribute:             col[1]     [x:] x_1        : [    
193192,1.74381e+06]
n:                        414     [y:] y_2        : [    
992152,2.21716e+06]
sample mean:          1.64865     sample std.:          0.87102    
[using ordinary kriging]
ncols 305
nrows 242
initializing maps ..
84% done
CREATING SUPPORT FILES FOR precip.200301_pr.map
CREATING SUPPORT FILES FOR precip.200301_var.map
100% done

One twist is that during the gstat build I get the following:

.
.
.
gcc -c -O  -DHAVE_CONFIG_H hsehldr.c
ar ru meschach.a lufactor.o chfactor.o qrfactor.o solve.o norm.o hsehldr.o
ranlib meschach.a
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: Leaving directory `/grass/gstat-2.4.3/meschach'
cp meschach/meschach.a lib/libmeschach.a
(cd src; make)
make[1]: Entering directory `/grass/gstat-2.4.3/src'
.
.
.

I have found on the internet that this type of warning can occur with 
older versions of Gnu make, but I am using version 3.79.1.

Any and all ideas are welcomed!

Regards,
Tom

-- 
Thomas E Adams
National Weather Service
Ohio River Forecast Center
1901 South State Route 134
Wilmington, OH 45177

EMAIL:	thomas.adams at noaa.gov

VOICE:	937-383-0528
FAX:	937-383-0033

-------------- next part --------------
A non-text attachment was scrubbed...
Name: precip.200301_pr.map.jpg
Type: image/jpeg
Size: 11440 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-stats/attachments/20040303/667226d7/precip.200301_pr.map.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2003.pr.jpg
Type: image/jpeg
Size: 16734 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-stats/attachments/20040303/667226d7/2003.pr.jpg


More information about the grass-stats mailing list