172 Geostatistics with Applications in Earth Sciences
797
C
WRI TE (2 , 7 9 7 )N
FORMAT(/14X,
'NO.
OF DATA
POINTS
='
,
I4)
************************************************************
************************************************************
COMPUTES AUTO-CORRELATION
THROUGH
SUB-ROUTINE ' SRL . FOR'
************************************************************
************************************************************
AND R(
O)'
I)
WRI TE ( 2 , 4 1 )
FORMAT
(/2X
, ' MEAN
LAGGED
PRODUCT
IF
(CONTL . EQ
.1.
0 )GO TO
776
WRI TE (2 , 7 72 )
AM
, VAR
FORMAT
(/5X
, ' MEAN OF DATA
='
, F 8 .
2,
2X, ' VARI ANC
E='
, F
10
. 2 )
GO TO
778
WRI TE (2 , 7 7 7 )
AM
, VAR
FORMAT
(/5X
, ' MEAN OF TRANS . DATA= ' , F
8.
2 , 2X, ' VARI ANC
E='
,F6
. 2)
772
776
777
C
C
C
778
41
C
CALL SRL (XX, CPO , RZERO, WP , R)
c
************************************************************
42 FORMAT(3X
,F1
0
.2
,4X
,F8
.2/)
WRI TE ( 2 , 4 3 )
43
FORMAT
(2X , ' MEAN
LAGGED
PRODUCTS AND
R(K)
FOR LAGS '
I)
C
************************************************************
CALL SRL (XX, CPO , RZERO, WP , R)
c
************************************************************
447
WRI TE ( 2 , 4 4 )
(L,R(L)
, L=1 , M1 )
44 F
ORMAT(7(lX,I
3
,lX
,F6
.2))
781
D
=AM
B=
1.
0 / R (1 )
TT
=(1.0/R(1)**2
-4
.0)
c
************************************************************
C WHEN DISCRIMINANT I S NEGATIVE OR ZERO
C
************************************************************
IF(TT)22
,22,2
3
22 WRI TE ( 2 , 1 1 1 )
111
FORMAT
(lX
, ' DI SCRI MI NANT
IS
<= ZERO - CAN NOT PROCEED' )
GO TO 99 4
c
************************************************************
C WHEN THE DISCRIMINANT
IS
P
OSITIVE
C
************************************************************
23
T11
=(
-B+S
QRT(TT))/2
.
T12
=(
- B
-SQRT(TT))/2.
40
0 WRI TE ( 2 , 1 2 )
12
F
ORMAT(/24X
, ' D
IS
CRI MI NAN
T'
)
WRI TE (2 ,
13
) TT
13
FORMAT(24X,F8.3)
WRI TE ( 2 , 1 4 )
14
FORMAT
(/23X,
'THETA(l)
',
7X ,
'THETA(2)',
6X, ' MEAN' )
WRI TE ( 2 , 1 5 ) T1 1 , T1 2 ,
AM