Manual Hec 4 PDF
Manual Hec 4 PDF
Manual Hec 4 PDF
US Army Corps
of Engineers
Hydrologic Engineering Center
HEC-4
User's Manual
0 I-1
February 1971
User's Manual
February 1971
Mr...
.. .~.......
. . ......
... .....
....
... . ... .
HEC-4
CONTENTS
Paragraph Paqe
1 ORIGIN OF PROGRAM 1
2 PURPOSE OF PROGRAM 1
3 DESCRIPTION OF EQUIPMENT 1
4 METHODS OF COMPUTATION 1
5 INPUT 7
6 OUTPUT 8
7 OPERATING INSTRUCTIONS 8
8 DEFINITIONS OF TERMS 8
9 PROPCSED FUTURE DEVELOPMENT 8
EXHIBITS
1/85
HEc -4
1. ORIGIN OF PROGRAM
2. PURPOSE OF PROGRAM
3. DESCRIPTION OF EQUIPMENT
This program requires a FORTRAN IV compiler, a random number generator
(function RUGEN included, see exhibit 2), and a fairly large memory (64K on
the CDC 6600). Provision is made for use of three scratch tapes, 7 (for
punched output), 8 and 9.
4. METHODS OF COMPUTATION
'! J
logarithms. This increment is later subtracted. The mean, standard deviation
and skew coefficients for each station and calendar month are then computed.
This involves the following equations:
S j (Xi-m )2 /(-)(3)
N
in which:
N N1
1 2
1N 22,N
-,-N
1
I R2
N2
2
, = , 2 ) RS/S 2
(6)
S)IS (7)
S, -S = (S' -SI )
The primes indicate the long-period values and those without primes
are based on the sane short period for both stations 1 and 2, and:
N = Length of record
R = Linear correlation coefficient
d. After transforming the flows for all months and stations to normal,
the gross (simple) correlation coefficients R between all pairs of stations
for each current and preceding calendar month are computed by use of the
following formula:
Rii- {l
Rr -- --[ [1 - ( N xXimil 2 Nxx2N
z)/Xi 2_, ,2]n
]
i'm=l i.mm=l i
m--l
(N-l)/(N-2)} (10)
in which:
X = X-X
e. If there are insufficient simultaneous observations of any pair of
variables to compute a required correlation coefficient, that value must be
estimated. Each missing value is estimated by examining its relationship
to related pairs of values in the current and preceding month by use
of the following formula using i, ,J,and k subscripts to indicate variables
used in the gross correlation.
(1 - Rk2) (1 - R )
Rij R4-
7. It has been found that valid use of the regression technique requires
that all correlation coefficients agree with the data that will be substituted
into the equations and that the correlation coefficients be mutually con-
sistent. Inconsistency in the correlation coefficients causes the dependent
variable to be over-defined and is evidenced by a determination coefficient
greater than 1.0. If this occurs (because of incomplete data), the inde-
pendent variable contributing least to the correlation is dropped, and a
new rerression equation is computed. This process is repeated as necessary
until consistency is reached (which must occur by the time that only one
independent variable remains). In order to make the correlation matrix
consistent with the data matrix, all affected correlation coefficients
are re:omputed after each estimate oF missing data.
I,!~
tim = (g,/6)(Km - gi/ 6 ) 1 3 -1 2/g (12)
i X + ti,m i (l-
Xim Xt~~
O = AntilogX - qi (14)
Q (15)
I I
K, ,J = IK ,i + K ,l+2
2 ." " + -1 ' , -i + -1Ji,'
K +
R iKl l . . . +Bn~i
K l + - j zi j (16)
5
in which:
k. Maximum, minimum and average flows are obtained for the entire
period of flows as recorded and for specified periods of reconstituted
and generated flows by routine search technique.
(1) The average value of mean logarithms of flows for the wet
season (0 months). This value plus 0.2 is applied to the middle month
and the avera-e minus 0.1 is applied to the other 2 months.
(2) The average value of mean logarithms of flows for the dry
'
7cazon , mcthz), 'Ai iz api,1:c t', all 3 1,ry .o-ths. !lean Iogarithrs
for months between dry and wet seasons are interpolated linearl,.
6
any number of stations in groups of 10 or less. It will ordinarily be
desirable to include one or more stations from earlier groups in each
successive group in order to preserve important correlations. In
.additionto providing flow data for all stations, it is necessary to
lesignate NPASS and to follow each group of flow data with a standard-
,orrmat card with NSTX (number of stations in next pass that were also
uned in preceding passes) and station identification numbers for those
stations. These numbers must be listed in the same sequence as their
lata were arranged in earlier passes. Data for the new stations for the
new pass should then be read. None of these flows can occur in a year
later than the latest year for which flow data occurred in the first pass.
I. As soon as flows are reronstituted for any pass, they are read
onto the flow tape. After statistics are computed from transformed
reconstituted flows, they are read onto the statistics tape (after
ilentification of stations in the nass for future reference). Final
regression equation data for each pass are read onto the same tape at the
same time (for use in -eneration later). For each new pass, the flow
and statistics tapes are searched separately for data for those stations
already used that also occur in the new pass. In order to read and write
intermittentlv and alternatively on the same tapes, it is necessary to
'een traf-! of tape records so as to assure that any read statement does
not read beyond the record mark and so that new write statements occur
at the end of all previous write statements that are to be saved.
o. Once that statistics are put on tape, they are retained throughout
the reconstitution and generation processes. Flows, however, are saved
only for the set of data in which they were reconstituted or generated,
:mntil the last pass for that set is completed. In the generation process,
it is necessary to save the last flow generated for each station in one
set for ,,se as the antecedent flow in starting generation in the next
set. These are saved in the QSTAP array with subscript ISTAP.
INPUT
7
6. O(JTPUT
7. OPERATING INSTRUCTIONS
8. DEFINITIONS CF TERM;
Terms used ti the program are defined in exhibit 5
There are cases where the model used herein does not reproduce histori-aI]
drou,-:hts with reasonable frequency. Consequently, the model is under
Sontinuous study and development. It is requested that any user who finds
en inadequacy or desirable addition or modification notify The Hydrologic
En oieering Center.
EXHIBIT 1
DETAILED EXPLANATION
OF
COMPUTER PROGRAM
GENERAL
SECTION A
SECTION B
IXHhBIT 1
Months are identified consecutively by the variable M starting with
the month preceeding the first year of data. Some quantities to be
accumulated are initialized. Station combination data are stored for
the purpose of obtaining maximums and minimum (section D) of weighted
flow values later. Tandem stations are identified for cases where a
check on consistency of generated quantities is deemed appropriate.
Station identification numbers are set to a large number so they will
not be undefined. The flow array is filled with -1 values to indicate
missing values. For each station and calendar month, the total flow and
number of recorded values are computed for computing a flow increment
and other statistics later. The minimum flow for each station month
is also computed in order to avoid negative logarithms later.
SECTION C
SECTION D
In this section, maximum and minimum recorded flows for each calendar
month , the water year and for durations of 1, 6, and 54 months, and average
flows are computed for each station and combination. Durations do not
span a break in any record. Quantities are rounded off and printed in
fixed-point format.
SECTION E
2 IXEISIT 1
is also added before the transform. After the logarithm transform,
freq:.ency statistics for each calendar month and station are computed.
An increment needed to convert the logarithws to an approximately normal
distribution is also computed as an alternative future transform. Log-
arithms to the base 10 are used so that statistics are comparable to
other commonly used statistics. A variable IRCON is set to 1 if any
missing values are encountered, so that the flow reconstitution routine
will be called later. A variable INDC is set to 1 if the first approxi-
mation of increments causes any one of the skew coefficients to be
smaller than 0.1 or larger than 0.1. In an optional routine that follows,
the increment for each station and calendar month is adjusted individually
and iteratively (up to 14 trials) until skew is within 0.1 of zero.
Stations with less than three years of data for any calendar month
are deleted, since skew and correlation computations require at least
three items of data.
SECTION f
s = SI (S'2 -s ) R2 S /S
1 1 2 1 2
-X' X. + ( - ) Rl/S2
where primes indicate long-period values, subscripts are 1 for the short-
record station and 2 for the long-record station and,
3 EXHIBIT 1
X = mean logarithm
R = correlation coefficient.
SECTION G
All flows are next standardized by subtracting the mean and dividing
by the standard deviation for the month and station. An approximate
Pearson Type III transform is then applied as follows:
K = qt +tl) 1/3-
where:
K = normal standard deviate
t = Pearson Type III standard deviate
g = skew coefficient
SECTION H
For Jobs where -orrelation data are given, the portion of the
correlation matrix above the main diagonal for all months and the
entire correlation matrix relating current and preceding month's
values are read, with a different card for each pair of stations.
Values for all 12 months are contained on one card, and the two stations
involved are identified on the same card. An automatic check is made
to assure that cards are in the required order of columns and rows
in the correlation matrix. When generalized statistics are used, only
one correlation coefficient for the entire year is read, but card order
is the same. Symmetrical elements below the main diagonal are then
filled in and values af 1.0 are placed in the main diagonal.
4
EXHIBIT I
Frequency statistics are then read, 4 cards per station, with 12
monthly values and station identifications on each card. A check is
made of the station order, to assure proper subscripting. When gen-
eralized statistics are used, only one card per station is read, and
this contains the maximum and minimum mean logarithms and the average
standard deviation for the year. The months of maximum and minimum
mean logarithms are also read and converted to corresponding subscripts.
These subscripts will differ from the calendar month number if the year
used in the study does not begin with January.
SECTION I
This section searches for each calendar month the entire correlation
matrix to be the right of the main diagonal for misiing correlation coef-
ficients due to the nonexistence of at least three years of simultaneous
data for the month. As soon as a coefficient between two variables is
identified as missing, a search of the correlation matrix is made to find
established correlation coefficients between each of these variables (i
and j) and any other variable (k). The range within which correlation
between the two variables must lie in order to be mathematically consis-
tent with the correlation with the third variable is established by use
of the following equati ,n:
SECTION J
EXHIBIT 1
A coefficient 'A'.' of the radical in the equation is used in order
to obtain complete matrix consisten-y in difficult cases, whenever
possible by this means. A test for overall consistency is made in
section K, and if this fails. FAC is saccessively reduced by 0.2
until overall consistency is reached.
SFTION K
SECTION L
6 EXHIBIT 1
are found, as can happen in the first month of record, a correlation is
made with the preceding vaiue for the same station and that preceding
value is arbitrarily set at the average for the month. The regressi6n
equation and deLermination coefficient are then computed using subroutine
CROUT. The variable having the lowest absolute value of correlation with
the dependent variable is identified, and beta coefficients are searched
In order to eliminate all unreasonable coefficients. In the usual case
where the simple correlation coefficient between any variable and the
dependent variable is positive, unreasonable coefficients are assumed to
be those larger than 1.5 or smaller than -.5. In the case where the
variable correlates negatively with the dependent variable, the reason-
able range is -1.5 to 0.'. If an unacceptable coefficient is found, INDC
is set to 1. If this happens or if the determination coefficient does
not lie between 0 and 1.0, the variable with the smallest correlation
coefficient is eliminated, the correlation array reconstructed accordingly,
and the regression equation recomputed. This process is repeated until
all required conditions exist. The missing value is then computed by
use of the regression equation and adding a random component normally
distributed with zero mean and with variance equal to the error variance
of the regression equation.
SECTION M
After all flows are reconstituted, the flow tape is read until the
proper position for writing the newly computed flow data on that tape is
reached, and headings are printed for writing flows on the printer later.
Then the standard deviates are converted to flows by reversing the Pearson
type III transform, multiplying by the standard deviation, adding to the
mean and taking the antilogarithm. The increment is then subtracted and
if the resulting value is negative for a variable with zero lower limit,
it is set to zero. In the case of reconstituted flows, the Pearson Type
III transform is constrained so that the excess of the standard deviate
over and above 2.0 is multiplied by a maximum of 0.2 (if the standard
7 EXHIBIT 1
|* _
diviation exceeds 0.). This simply prevents obtaining unreasonably
extreme values due to sampling errors. It is a moderat'on of the
extrapolation rather than an abrupt truncation.
The test for tandem station consistency is next made. and incon-
sistent flows are identified for printout and changed to the limit of
consistency. The downstream flow is aacie consistent witb the swm of
upstream flows. Flows are punched on cards, if desired, printed out,
and written on the flow tape for use in future passes. NQTAP is incre-
mented and represents the total number of" records on the tape.
SECTION N
SECfTION 0
8
EXHIBIT 1
SECTION P
0 EXHIBIT I
m m
6o .mmmm-m mmmmm im ii
operation. Variab1les AVG and SDV are used to ,-omoute the mean and
standard deviation oF' the deviates "or ear-h flow sequence. These are
later used to 8djiust all deviates so that the means and standard
deviations in ever, -generated sequenc'e will be the same as those of
the historical sequence.
are beinf generatel in any! sequen!-e, deviates are adjusted so that their
nean is zero and variance 1.0. Their unadusted mean and standard
deviation a-e printed. Then the,, are transformed to flows, and, if
c.alled. for, consisten"- tests between stations are made. For variables
with zero natural limit, a rheck lor ne-ative values is then made. Flows
are then printed and. if desired, punche(]. Plow combinations are then
cornputed.
SBCTIO 3
10 EXHIBIT I
used, a ,he: is -nade o" remai . ii, errs to e 'eerated. I; *rester
than zero, a transfer to section 4r mnade Pf'ter ad.lustin, :-ears yjet
to > e generated . Othei.ie the 'oh is e-ided and a new lob. if an,,,. is
started.
This random number function is for a binary m;chinv ;and the constants must be
computed according to the number of biLts in an inteoer ,7ord. The numbers
generated are uniformly distributed in the interval 0 to 1.
The function is called from the main program by a statement similar to the
following:
A R Ci., (I.:)
Wherc A is some floati ;,,inL variable name and TX is som, integer variable
name. The argumenL name IX need not be te .T%,, in thie main program and the
function. The argument must be initiol Hoed to zero in the main progra . The
location of the initializing statement is important and depends on tho results
desired. If it is desired to have differejt sets of random numbers for each
of several different sets of computations (jobs) thait are run sequentially on
the same progran, then the argument must be initial ized at the very beginning
of the program and never reinitialized. IT it is permissible to use the same
sequence of random num'ers for each job, tie argument must be initialized at
the beginning of each job. The advanta'o of this latter option occurs when one
of the jobs must be re-run for some minor reason as the same random numbers
will be used and the results will be comparable.
The constants for some of the common computers are listed In the following table:
EXHIBIT 2
Crout's Method
For si plioity lot us replace the ooeffioie-'q of the b'e by the letters
p, q, r and a, and the constant terms by t etter t, using subscripts
1, 2, 3 and 4 to denote the respective equa. onss.
p, b2 + q b3 + rl b4 + 1 b5 ti
P2 b 2 + q2 b3 + r2 b4 + s 2 b55 t2
p3 b2 + q3 b3 + r3 b + 83 b5 - t3
p 4 b2 + q4 b3 + r 4 b4 + % b5 - t4
EXEMBlT 2
I
p1 q, 1 ~ 3
P2 q2 r2 2 t2 U2
P3 q3 3 sr
3 t3
p4 q4 4 %4 t4 %2
The elements pl, q2, r3 and e4 form the "principal diagonal" of
the matrix. Ekamination of the original equatlons shows that the oo-
effioients are symetrioal about the prinaipal diagonl, i.e., q, - P2
rl -p, 'r2 - q, 1,- p4l 2 " q% and 63 - r4 e.
This in oheracteristi of the system of equations to be solved in any
multiple oorrelation analysis. Because of this symmetry, the oompute-
tions are considerably simplified. While the Crout method my be used
to solve any system of liner equations, the oomputational steps given
here are applioable only to those with symetrical coeffioents.
INN
3 K 3 5 3 3
P4 Q4 R4 S4 T4 U4
E)XIIT' 2
The elements of the derived matrix are computed an follows
P 1 a Pi P2 = P2 P3, P3 P 4 -P 4
QR _r,_S T U
= u
i 11 p1 1 Pi 1 "
St 2-T12 u2-lP2
" - l S4
S2 - 2 2 2 " "
T P
' t 3 -T 2 Q 3 -T1IU 3-U21-U1.
33 3R
t-TR-T2Q.-TIP u3 -U2R- U F
5 S R U " 4 R
-s8 -4 4 .U 1
4 4 4 3 -Q 4 S2 - PSl
44
ss-4 - 4 - s -p s
(1) The first column of the derived matrix is copied from the first
column of the given matrix.
(2) The remaining elements in the first row of the derived matrix
are computed by dividing the corresponding elements in the first row of
the given matrix by the first element in that row.
th
(3) After completing the W row, the remaining elements in the (n+l)
th
oolumn ere oomputed. Such an element (X) equale the corresponding element
of the given matrix minus the product of the element imediately to the left
of (X) by the element immediately above the rinzipal diagonal in the same
colu as (X), minus the product of the second element to the left of (X)
by the second element above the principal diagonal in the sam column a (X),
eto. After each element below the principal diagonal is recorded, and while
that element is still in the oaloulator, it is divided by the element of
the principal diagonal which is in the earn colum. The quotient in the
element whose location is symetrioal to () with respect to the principal
diagonal.
3
tEXIBIT 2
(4) When the elements in the (n+l>- column and their symmetrical
counterparts have been recorded, the (n+l) t h row will be complete except
for the last two elements, which are next computed. Such an element (x)
equals the corresponding element of the given matrix mimis the produaot
of the element immediately above (X) by the element immediately to the
left of the principal diagonal in the sam row as (X), minus the product
of the second eiement above (X) by the second element to the left of the
principal diagonal in the same row as (X), etc., all divide, by the
elmnt of the principal diagmal in the 1 row as (X).
U2 I + R2 + S2 + T2
1
U - 1+ S + T5
U4" 1+ T4
b5 = T4
b4 - T3 -S3b
5
b T Sb - R b.
3 -2 2b5 - It
4
MXIBIT 2
greatest souroe of error in computing the elements of the derived matrix
arises from the loss of leading signifioant digits by subtraction. This
must be gmrded against and can be done by carrying the computations to
more figures than the data. As a general rule, it is reoommendod Vkat
the coeffioients and constant terms of the original equations be carried
to a sufficient number of decimals to produce at least five significant
digits in the smallest quantity, and that the elements of the derived
matrix be carried to one more decimal than this, but to not less than
six significant digits.
5
EXHIBIT 2
aooi--4~ormC * 0 0 0 Qfl( O 00 0 0
- aP%* a0 *Nt.
Y J O* .Y ** * .Y tf-N
- N . I-L 00m -'* UC n
N -z
M. .4 -6 N -I
0n -n r- i I
zI) a; 4 0 N0 M0 OM sg 0 E) 0 ... * NI
Z "-4Cinb~i to M CN42 zn in13.Oi
M Ajm( 0 (Y .1 N In .4 't NM 4.. 14 m
Anjo. M zz o
() . t I -F'*-.amN. x .9
t) * 04N4- M'4t -
CO6 * 0 0 N
M.4 -0 OD*.
)v- Nr-U .n0 0 * k C)-0
COflU) - NP-inV 0 0 6 0 6 : C;00.-
*9 9)**M4)'E")0I tIflOO 1 - * . *t'm4t')mc L~n 0 C
00%) (v-44
N N)- 39 -- 0'D ." .4. '- -V
I-..JJ -P UI.- (7k t- _j Z n in (1 Lfl I" O
4c L. Z .4.j %0 D O000e.
CCe q U N '0 C O0 000
0 3E4 - 1-- -0*
'O 0 0 0 * c W'D~ oN'O
OZU -( 0 * o a 4b a 00
a . .*f'C'OLIn.%-N4C 4W *&
9 *M.OOMN -N 't
LL))
I.-u *N. - I- w a 0'( m'N N.4
t ..
#-d 3 04* "'oM Q I--U) Z 04
2 0M
(Ai C3 Mo Q 4m * 0 0 0- Wf#A Mi 0 QU' -I M
Z C0 f-NP4 1 0 0 *P)N'OE'M.- rNt 0 o * a *0D
rtn - * M tn t
M-u .4
04-PP- P.' 'r'*P-n "-1s12a
o z *4MGOt-e # 9 o0 1 40w
-M
0- 4 .o
-4 NI- N ly 0P. N 4 NP- c Ok I*- .44 N 4
4PI .- Onnte go*-100 4'OP- tnfltIn. C 0 *0
*CMI
* a a a * y ' E ')MOD0 0 o *
0 f3
a *'''f,%C
f, r-_ . - t) 0 0 .i r-
,a"N
m
(04 - 4
P 4 in
M %ain' NoP-0*i4nr- 4 Lfl%'OP- 4 nNo f. - f 0--
'
~
o ooooooa0 cocoeco coa
CpOpC
-4 o 4.4444"- 4 4--- -0 -4 -4- 4---4"-4-4P-4.4
0C)0-0P 0@ .- " r- p- f-coco0 a --
-444---4 -- 4P-4-4--4 -40 -D 4-"--4- -4--4
444 "O "0P4
I*Xw X"0-0 04.4 II e- Z I~-ZI
*~w 0 NO . .ft is (P
intU
P. kA %D 4* p~~f~4
i % 0 .O* 0 00om w~
,; 0 N0P .sgNOa-4
o 0 . . S 1l0 0 0 E0~ 0
'1- NoL i f
4 04 *04 00 f M, C
4tf0
* ofq-N-0&f 4 0 -oNm ll 00 *0
;-4--o a; ;---
- - rt -Q a) Nn
cocoy
-GNU-~~~4 NoDs @GNa0I
4..D
P_4P~'. N
ON4'EY0. CY .Y ._ D *l 4%C
Ny
to4 0 4O-0C N DM0 YA
- cc0
i ODI- cot~A) fn.
Go.. 42
. D . cc
- 0 fG.00
.4 . .O~l7 0000 * C30
*0oa
tn flIn DU t- to tn t 40 C
.o Z0C L 4% D% 9-4 00 %0ODD
z UfLn C.
QzI.- Lflukn 4. z - .04aN C
o) 4. z z z *N m r-bm 0 4 0 .9 . .Dz *Nt1
Nl~ 0 m 17a.
41 Ck .$ %DOD0
C0 4 1.- - ODO
-%D0. 40 - * 0 0
044 44NmN'4m U0 .0 4 - 4N@N 4 tc) 0
_j 0 o .j0 0 -10x Y IO~-coC)
I o"Z 14 *" 0 1- 0 s~n A c Cpo4Dtaf.4 0-....
I 0 a * * .40Q00 0 1-NM * a . 0
AD OD0 1C-- a0
O cOr -
x4 " '4N4 - M - M4 X 4c"" '0 4N I-)(bM(4-q M X * *
hfMN 4 M 00 M- -M I 0
-4
,1i I- N 4 M 0 I _jJ-cp
Wx w Itr JDM mx M 4 com N XIA. 00 a3
l0
- .0 ) NOY 0 OD o o 0 P-m-" LJ Nm0-44 00 o0 0 o P.-e "00 C aa0
4A 0 0 0 0. D - 0 0 flC
)z * &* * .1 - 00-4 (I0UW0 401
I*I g'4
m~ 6nr) o mLf l I* M fn (IlfL
(0J-)4 0C I U 6 0
it.CL 4.4N m 4 - Is0 .4." (m - 3040
40C 40 oc00.
I- J 3Ut in 'A'lG
a- t % i-_ w fln cmm % in- 01 #- 4iU) cm I-Nomr-
4LL.0 0 C0N0 0 e o oee 4b.. 0 0 CD 000O5O.& . 4 L. - 0 0 OF-I 4
D x .1 * e0 0 0 f.NO'%at- 0 x_3 f Z C; L; Z*N0CIDOi-*-t1X-I--
AtLL moc
'O Lfnq-4 4
co00Lq - N 4 4 .9 S *
w-a 4N- -y 1- w 4N'I-4
Ui
- O004 -4'o0t Q I. -a c404 -N'o M co Lai - NC 00
fr-Ut~ 0 OMt'%OM bU 0
0W... ~ ~* lE' 0 * an
%D NIt"okin inLf
"-4 .a . I~N.I' i.- 4 ** .4-
4
~ N0tI~~~
-41.
----- 4-4-4 -44
a-4 44-4- - -4 *fF_4Q
cacao---1 00 0404- -4 Cb 0 0-r-o
.0. 4 " W --- 4 -4444444 -4 a4a4a4.."a.
-444----444 444----44p. 44---
ML ~ IuII40UIIII..40
* 0000000.. 0 0 0 )
0 P-4
Q%1,k OD Ln 1- M 0 o 'N
(y,4Lf
0%
(7 M 0%0 (.4"
, a-lJQ'OM .VODI-n S I-
0%0%t~3%0%COm..4t.. E 4(~
0-4
0 0 0 0 0 0 0 * 0 * *
0 **
CO
7113 * C C - r I --D 0
jmN
a, 010 il ~ (3 Y p-.NE~00 ~ N% 4 L
* 0 0 00 00 0 0 0. 0 0
N
~~00
* 0 0 0
% m fn n 0- so M 0> co 0 *0Lo
I N I N 1
> wL
0%M -- M W (%cy ej0 f. n 0 0 T
10M-4N0'0 o%00U,Mtn emao 00 40a, 0 z L
*~~~ 0 *** * a & 4 1 Z-
I N
r.4 mo
N z
* * 0 0 0 ~00 0 a . * x 4U
0~~ 0% t- -
-TU n aoa
~- 0l~J(A0
L .0o
I~ r-' Np-%D 00*OD I...- . 0-
- a. m m rn (n m 0'J- 4'- 0---4
0 -~ - 0 0
N% or't~.-
0 ~ *m~LA 4LAO4'
1-
- 03 0 * Co *n *DF- *, _* (P a
-A - S-
LA0- 00%0'
LAco tao 40 0 z N
%0t
*' 0 0 D CC OD N 0 0K 0 j 0nLI M m0 0 0 S
C*
CD CDI -D 0 -P 0r 4
-4'-N40 % U~o..r~o,.
%~r~) -40Lf -qL r) L
0fta..O 00'Ca 0
0
f-s 47
044t f*Om n ' ' -
of a-- C. In
o-,a f" 0. I
13 P.4t. IA 0 '4
w . .n . 4.
%
a47
-40~~o 40M-
F-'N t-i-
-
lo 4 0 t 0. *lMN4
ki4 . NNM" O t n c
IA 5 4 4 4 4'.% 4
.0 '
N' InaN r-7P-' r- in
cm C.4 O0 .00.44 f"5P. 04N I.P. Na
04 NO'(P' .4
-4 4 N Nt
cm A# (.
%0 -4' 0 aN O PN4 N
w ww .4 o ui It N
-4 N a
C. 9 C A4 - u
8--In 0z . w
4A 1- 3.t O4S ' 3- a4 at4' V. M Z I.-
7,-A
.. 4 C.
'o D 4.
o ,m , coy
v I. *0 .a
NN0. m
14fj.
'a 0m 0'~ 0z
-0 41 N
04 ,A 41
-~ 'JN ~ tn '~r.f r II ..
-. . . 4 1N4 N
-Aif U.4 K v a NJ r0 P
Ge
.4 ;9 .4c
FACI 2EMUIT
4N~~ iner-
NA-
w *j
4 .0 ~ t-
4 1-**
* -4 W
* r- a.
in- N-n4)0
-
* 4 4 0 4 . " -4 Nu 0-N
Wl go I" ff VlOi
.4 dJ'
ONMO 00...0
N40
OQ4
- N r0
piN %F N0~ NI -
r-P A .AVA
a- It~ t$.. -
-. .4 0i N-IiI C4 . C-i4 N fm N
04 -4 - -
,n4 0 1-1o
...
-
~~Ii~~~~~
, .4.4)
ft W... 4
*
b, a-%4-f"
w intIa
N
N
Op C #A~.N
0 mC
At- 44 - -- m C
44
InC. #>-4 -4
its
1.1 1 Az 4 u k
W% 1--W1$
ft,~~~' c 4 U W . 4 UZ1
:u 44 4A 4
'aBZ PAC
04W.04% 0 - 4t
't rA4 4'tdNom
in 4.4 IA
0 .Ea F * .M
0 %
~~4 ~ - C.
N I9I
IA0I
31..
NK I
%-
J a N
0 -0$.
v 6CCL 00
in 4 do fA.4
np 0
$A 4 K Cie
-44NJ ge 0inrn 0 -
PAO XtZ 44
LaN
to olV~ -4004
6-1. OP c c~f"~AA'. .4 ni 4 0V PI
q. on A 24 *0
N0~
e4
tu .4 .4 CPf-
QN oft 04 .d99
C4~ CR1
t4' ar
4I 4v1.4
tv~ 4"- .r
t4. A0 of 0.4-l A4
0 -4 m ta -# 0 (P n s4 co .
.OrOC4 eq N~I m
OP@4" .efdO- m
ra W% i I a- C44
em
eq
to)
lu
J.
ryON
N41P--
f -
4N4 '4-Ca1)q
441d'@C4- .4 E% Cm .0 . -
41~D4@-4.
O4'I?.4 E.41444A
.4 vi =.
PAN1-4
t.. ~~~
i i .
c0r4 ~ -4 0
C-44
x nQ n W%4I
l"
AdQ~ 4) m
44 In4. Ct
-4 F- 0 a (p -
cv0
30 ey4V0
'o P-4inOO
t m4. v 'D -
~e-00At in %A
.4 ~ ~ P C.44 gl
N V
10 I
eq VN M -IN
IN InNf. mmOIU1410 P
m* WN0
m m14l
jg 04C
-4 V4
43 U'
-4 -1I G
)hI'd A 'N0 N-
)I. bU
-
10 a - . 4 I -I
AL -W.. *1 -
0 W
ME 6 IAl
4
10 140fINI
-- 0 0 N4.4 A0 0 fn n f" 0 u%4~d
am 0 .4 Ia MM.4.4 NOV
md% f" -* f- m m
4 in in 0SO f"* nA
0 0 0 .:
ISi N a P.
z CN 0 Ia W 4 I enJI N N0J
w6
44 0 I'd0 4 N, .4 V4 .1 0 .N 4
0 Iu
2a N
0n- U)0
in 0 0I
a4 NAN4 us O -o 40
o..-a l P-.4 .4 .4
.A z4 ot. .A
0CI 0j 0Ad 0 Pc
04ON.4. 444. -44401N4f
.tI11 -4 * .. -4 fA C
04 on. t14 p 4.
144
.4 5-W.
E 0 fo
a...~o-.a N u 09.0
- 4 In
,u u-
.40
r- In 70
4
w
Lu Nt c: .tN
P w-4n i .
O(A~~~Nc n(i%4V
4aD. .. a l P. 0I'd'
N It P Ir
ccNlc 49%u 4o f
1-V~~. r4 -
O-4-40
In' U 04jf 4~ * 0
oAON 4 *rsn m r .4 -0
r4 I" e4
I-e
XO-0 go q 4 j.
EU~u At-O-N f- m vA
IV 4- c4 4- cm " in on r4
44 In
3 je4~b-tJ I -
M j A .. 4- ' -
1- :-, -.. v 'y jI .4 ma
13 a-
wC. Li 7- M s
-- ro v -- I. -u 4 4~ xuuI
-1J IL 4 0 uj '3 !: La 0i at " t
- e . 0IA4 *0 % .~ 43 v.. mVI' tk'I~ c
Li .4 -kAL
4 0P.U #T .4 cmc
It IL
I P"~ NO 1 4
zooa..
KOIA I^
Co.s x*
oz:
4
1 1
z .4
6-.
us 0
IIt
af 0 C9
In 4n3 .
-0II Cl.m
ac
IIN m N P t
o4 O 0 1- 0-I
. PAO 9 SMU 4
'Om 00C
,o 40
m m0 41 41
I,-- I n I
'10 10-
4D Q -. - N
w0 0 cwCCDt
OF-N N~J 'WN
lA ~ 1~NO A .r fa co 0AN
* o .1 3 in
a. 14 -f' t I
NI
" 10 1 t In. ~4
.0~I .S -s
04'
M-la
'.a In Mo
In N
'ju
'AI 0 cc N N
IN4
'0 0
C.) 0 -
4.- I.-
cc -.- I
jj 4- j b- r-.0-w%
IC~ tA 0
Q , In
4 I- -o
'U OtWk
ILAo 00 a. z
IA- '7 - Zl
-~~~4 -L - 4- A .
- -44-4
U.Laz ~
K. a
f- O~mftdO
M.4
00 C
Z e
*~*-4-4-do *N 4N
40 -00104 Wj
4A
P- i1i - % i %r
40~~ on N e 0y n
'0 -4-
In
z~ at
ki I-
NM 0
z Ix
on.,*
f- -I -t4 O
.7 % C4 C .4 -4 -4 -
0.0
44 1
N9 -0140 C
II-oc I.N
* N 3 c woN
0A 12EI K
4m 1 fft . 4 4q0
~~~4-~~ ae M. i. r
.i .4
. j On -
.4 on
%A~ .
0" dm4mm
#"I
.4~V n04e0 -4
I~W%
IV
- ra A 0 P P
f- w%0DA
.~~ o3 mf.4
r C4 0
~ ~
0~ ,4 cO-
IIn
In 4
ct 4A
11m
43 .O. IL -f- -0
- ~ N
14 Q.-a4
&. w. w
-4 P.n I.r
1
SL. - - 0 0 N 0.
'A 4
11~.0-A %
a~M 3 a
1doo
Kw z
.441.~ 416
PACA Ii Xftryl 4
0" in
4%.
N 2b
PtNp~owNN0m
a0 A N
N 0 0 .i
tea K MI 44 00
.4N 4
r-N4,r4..4..o I0 I-4'
C4
I" M
M-. cc (1-
-0.4IOIMM
0.P0ca mCjr
- O II %14 M Nn
'o0-' obe 0
A0IU
MI
lt. IM I IA.
f4 (n f" 0
IVI *.'tl
m'0o4aF-.t0 f"Z
IL n p0 UN %A MIN
m.4 M4 4 tn U. Ln '
co 4 a 0
ot..4 I NN . 01
0
144V4 NU Na
C"4J 44 t t 'o0tn
a"
CYf
kS ILh IA
ac
usC 0i K00
4L 4 I- N 30 .e ~ J ~ . 0
'J 4t t" " t
i Q6e -4
to'U ..
PAN 1A 121111 is
0 o
1 9 0.
oe~
-'"
4em 10 'A:91.4
m.' OQA 000
AD mo d on .4
S - - - I 44
co N 10 0-4** -*
.4
ac. Nl M4 A 4$N'
30 1"'Am Iti'0 N A14A 4
t t- '"
M"A 4
on an N0 4 -f N
C .4b
c to a
imU C, F-N M k"V M 0
wmu
4 Nb O e Ob N4 a,
It N cmN
*I-
In
' ;AO.. 'A.4N
m% r %
'Ae. % 4C,
W% ID illt -t 4n w 4. 0,
.3 0%
N 0 P-4 . C
ON I n V%71 .'t
nS. AN0 0 C~.4 N
CP 11 #APN 0% 4AN13Anc o A -rN
O2t- t..
NO a r 4 ccNy in47N, N0 N %
040 4 43 f r- d ( 4 9 C,**V
CMM . PNNN
Fa. 0,
-j NC %J4 It*7.N.
k4 NI~ N '- N 43
P
o - in . *
4OS X -4 .4 N IV N4
'A t. E10
'A &L 'A
oZ .3 0 1 w 3.4 m A
at
4% 0' Wk4N -AID -%.0M -% O%
-C4Con 7
'J. N .4
I- . . 14)
. C **
14 In 1- N.
jA li j
N Or V. 4 ab
W%
*
N NI ~'A OP M
4IN
4 wN J
-t 4;PNC
IN
N -
r
VI ~ 'AO..'A I
.4
0 ' 444 *
*~A
13 ITN 4.*~
4I- 4 0 % 4. a (P
o 0- ta 0t
04 - o9.4 o
f-O cm
so ~ in~ .4f-m 04
IM.4iOC
10.CU.
10
'C'J i~~
0-00N00 0Q-.
04 in in
f4.4 4
,4 w~t.
m WWAJ
CinC
V% .- 40-NY
$OO ~ 0' ~ L *.4 N .4' If%n.N
co- 400'
-o o 0 04 M00t m0
r4-4400 .4 N
40m~r 04-
M to -4Cfnt4 m
Q I De- .
4 40
0-~~- 0-N O"N * O
-o. . CP.
r" enp -0f
t z:4 t Q. C, or
13 u OD ~N4 -o 4 C r
eU.i 0 in tnW
- .,
..i
EX
AI
1.-
'r'
:3
JI
cc.
.4 .40L0
fn
0. 00
~O
- r - r T -
U. Ap g. mt-'0
tn -t.
p- 0
-, P tAZ '.3 , 4 0% I-1'A' 0' ~ 0 I. 0
Et
.5 7 z s- ;p>x$
0- f. .4 o 1- 0 .jt U w4
W .9
4WW .4 aUWX
ev deI.
4 - W0 a
41 0.-
~ ~
VI ~
I4 ~ .4 ~o . ~ .4 ~ 4 0.4.' -0
v "a
4 49
IPAW 26 2=131T 4
A on A
C~.0
~ U)
0
1-J
o N
ev -
Lie
0 0u
414
-9-
.. 4 I li i.
PAC 17 MI4I 4
N It #AJ*
4 ~i O4
* 0 .. 4
in ev .0N40taf
to 0P ~ ~ 41 .q ~ .0k ~ ~ - 4D
N 4 - n
'4) - 4. a(i
-.
- ~- . % 0 4( 4-( % . .
Nvq in P 4i
of. wD
10 Q4 ( "-
~~L" r- - - -n . 0..a'f. 4j
1' 1 7
-4
-J 3 - , t '
U.v
44 -*~Im ~
C-- 0% * Li44--
421 '7 44
W o u P( a ~
(85 ~ ~ ( a-~c~ ;
0%-c.i.
A- -- -4 p-4 * -44444 (-4.--4
1M3
16 inm 404
CA v
or . ow 4
oil'
~oa..~
*-Vk .0 oo0 In
fE'Oi 40
9 n
le--*
0a- V.O
O
l
V
00
@' 4
x 040. 04- *IE
0-0
I- a - a 4 c-oo- - 5-4
C)e
Oecf. # Of P
ag -4 -
IL
9wwl4,N 4t wl fu-0 Vl toN qf
zIDl1
Jo inuG .0 0050
44 .. *c c. e . .
1~- 0.0 0-
in0 em fu U
41 0 0- v AS
zC -0~ :IVl' 0 0
410 Im 0q
43I1051
xEI.
VIO
on u8-1 P
00 P 4
0111. ~ p
0 c nE aAI No N- N
.0 6
z I--
1-5 XI 0.50 04
us- 4- Q .
9004~~' c0 0. 41
N
4I ~ 41.
~ N
Go
1
G -
C3X4
- u r Iv
M1L O e OIVi0040 09 0
40 ~ ~P D0 ~ s.ino ~1.n ~ C
l-EW *U l
ui S-a- VE.W
on a I-u r~
1 ~ inA
~ ~
uin. ~ doQrm ~ e v 4
fu 49e ' *mmw4D
.
.0t.Il.4.0iI~ e a-.0 0 0
10~ 49
zoloOs 4w a
In0. in tnain1
M* Iii IItfi fno
rn-o3
Rw in ~ a~.. W
V) M 0,4nPP D
0in v P
*03
$- a
-a ni f S Inna
bo0
fu I44
Vi M 0l .NEo i
3L 10 xW Zis4ae 1MI UP do 04 f on M .
Mon m
or a- 04 Pt9I- in O
T bo .4
"4-~ on
V*0O . . ..
.4 ~ ~x ~ ~ ~ 0 aS .t W q 40
a so a
a 2 0 09 w so
NI4. Nn ow cJ P.0hub 0 .
41 z ~ n 00,
*44 -* -C 4C CC 0
OZ a- 2= U - a-
.4 . .4 .4 .4 . a V
C4 43
C00 Upsfl
1111
c4 I l - - '
.C Al
- Wt in
zhi
Ce i
ol V
14 4L in IV P p
z - 6 B- o -on
0~ x X 0
z V in
zz
C, or z h f I l 4 @1 B
11 z IL *- e
O Z 3
om w l1 -a
J- a U aX.. 0 a
OK 4A K tb
o~ ~~~~
.- . * op-
4r4
9% a an inIP ci N
a1 a 0 : orU
U- 4.0 00
9 . .91 4. -
0 0 MW 3.4a
we
300. ve:II vI OP.
.. a~~~ .49 Wl4 n %.a, Inh.
.4 04 ft
00 4 AL.
X 0 : 2
XIlMP m 0W
04P
Wm D4 4F -v
a.,. a3< .
,Ble
U' f U)
@fWk
, w'
sW 0in8
ma0
0@O aOM .
.4 ,4 .4
a noo m
.4-d .4
4)0
o . 8 F -.40
0 w
.44 4; m
C,
W
II- w2
do c
do
fu0f.
O
fn on
Z. .
L t
Q 0Q
S, - 0 I
40 41 in m on.
6- ac
0 0-
I- 0 0 ..
el - w -
I
CD S_ IL a- v
OL a z C2W
2 lD Pa
01D us
:1 01 3 5
IuI 0. W III
A Li cue
5-
1- 6- - -5
1 nC
40 a or wk .4 in2-0
0-c V0rb
a-0 .0 M
0 0 0 g X K;
U~I .4 V #A 0.4 -a* on
lot . .I
I .
IIII. . . . . . . . . . . . . ....
pPAC 22K
a a oe a v4
4rK
I ou C3"i
a one-
~
0~~~~ ~~
04w1mi u-aI
m ~ .0
4ma0"a
00momr-W~a~ie *aat 0i
.- D,-mne- a mitw -0&- rA
Dct-M o
wo 0wn.-
am0 ue-1da.-
m in
I-DQ 0 24D
0 I'CO
ovuOmewMfVI Lommulimmo0m Z
2-
Si .0 IV
bl. .40 4
IL .q 0 f
aM - f - C-4 Inv
CY~~~~p
V. M- -NM0f 4r0 f mI
OA
i
of or
aO~w.w~ie~IL
AS~p00I~Q~iaJ
4 an 0- 00 m c ma o ASiA-
aaij a 1 - - m
IL j aS
F i i .N
w a.
- - t~-VA~--
.. - - b.-4
$ 2--
PAC 23 MMDI
I.-
al
cz.0 O4O 0 4
'm
za s l 1.1 0 0 -Nr - i
4'-
ixN ~
in$AA NomP-( Nr
00
I-
4O i-'m3Pe Uo~temotm
-4 4i44.4 in f
I.-A
1
3w P.1 -I .r F . . A00 yr
PAG 24 WMsI
's InC U
M.
. IV5
44 4~
ri0N~. 0-
.. d
i-~~~~~~ roe v- m..
NO.4 0-i(A
ab n r4 0'M
70 P -t W 4.
(7 N-o -oA
a ~~10M4n^ CY 47'n0M.
4
41 ~~ ~' ~ ~M InMr
~ 4 u .t p m0' -"
10UNI '0 ,j
05.0x
0- F inj In' 44 In
-4 - - Oj
-0~~L tN f N .0Niw m
In IN I 'A F
fn .,ql
N a CV
..L tJ p-N
14 C
n an -r t
u
'A
L- V%
- --- -- 4 F
CL -
I
..
ft
9 5 4 - .
in-I
X~
=
A.a
fwt
4p
I.. j
0 0 f
j 0 A
'a t- i a
..
.j -
aa
0 a0Q 0*09
3.491 Ub 40 64 cc~
xw0
a - 0
2 a N20 a U ~IlIO@I0
S- 3- 0. i
w -W
0 0 64" 4wf o
b4 at .r I.M I6-
ft. w "m..-z e Al.4 IOO IEIw-0
fto 0- 0-
uz a1 - 4t
x isa 39 a- IL 2 -0
z w4
-800 " a C W 4 -
wI u. Do-9 ina a o VI 400
a 0 6
aa I- 0 0.. -
0 9- P o- 0
*9 C 0 0 0 0 D404 m. 4
a-~ 0 a A9 F.
in WI.- av
qh. 21 x z 0
lo.u LO W
z z u~o~e, "a h -
zuuo~m
ftI~f .~ aMI 26 4
a~UP 0 f M
0. 4W =0 n
w-~ ~~ ~ A~ n So4
4OI
*,wi~p1-5140 U m-0M
IV
10 ~
nMVlt0wso&o ~ ~ fto ~ ~ CO 0
M,*~~
", V -4 A "
04o
0 t4 o"J n .f -- lu- .40 4 -A 009E 4
4r v~
o 4S d
I" go CPi o
I..MI0~J~~l~W~.. 0 514D
I VE
46 N fuAAmI OI
w F o QonWP. @S*PaP
51.4M.. 5on O
QV ft 0 IVQ ft-Ai
.4O 0I
*-c.9-vI..o~~mfl4qlq400 15 VU
-m C4 0.
MEM51EV1d4
44*G 2I7.
EIIT 5
DaFIITI(S- 7235-42340
IXIImT 5
UL -
IQYAP - Tape number for storing flown
IRCON - Indicator, positive value calls for flow reconstitution
ISKz - Positive. value calls for varying flow Increment (DQ) to
mw skew zero.
ISr(x,L) - Sequence moer of upstream station for tandem test
ISTA(IC) - Station nmbter
ISAC(OC,K) - Station nmbter in a combination,
I3I'AN - Temporary station nmbter
ISTAP - Statics sequence niumber for all passes
ISTAT - Yap. number for stor ig statistics
ISTII(L) - Station nmbter of domsre tandem statics.
IITri(J L) -Station number of upstream tandem station
ISI'X(LS Station nmter of independent statics for consistenices test
iarr(L) -Station number of dependent statics for commistences test
ITEMP -Temporary variable
IYMP -Temporary variable
ITNPP -Temporary variable
ITP - Temporary variable
ITMN - Transfer indicator
IX - Temporary variation of I
IlK - Argument for random number function
IYR - Number of current year
IYRA - First year of data
IYRPJ - Year of start of flow projection
J - Index for year
JA - Sequence number of projection year
JTT4P(L) - Matrix column number
JTP - Matrix column number
.11 - Temporary variation of J
J)XI'P - Temporary variation of J
K - Index for station
KM - Dimension limit for number of consecutive months
KPASS - Dimension limit for numiber of passes
KSA - Dimension limit for total number of stations
KSTAC(KX,K) - Index number of station In a combination
KDI'AP - Dimension limit for total number of sations
1(1 - Temporary variation of K or combination sequence
KYR - Dimension limit for number of consecutive years
L - Index for related station
LA - Temporary variation of L
W1'AP - 1.imber of records up to present position on tape IQiTAP
LSlA! - lumber of records up to present position on tap. IODAT
LTJ4P(L) - Matrix row number
LYP - Matrix row number
LTRA - Letter A
LX - Temporary variation of L
LYRPJ - last year of each projection
M - Serial number of month
MA - Sequence number of month of projected flow
2
uMWIiT5
MO(I) - Calendar month number
MPASS - Temporary counter for number of passes
MTHPJ - Calendar month of start of each projection
MXRCS - Number of years in each period for which maximum and minimum
recorded and reconstituted flows are desired
N - Serial number of period of flows
NC - Counter to prevent continuous looping
NCA - Counter to prevent continuous looping
NCAB(I,K,L) - Number of values and cross products used to compute correlation
coefficients
NCB - Transfer indicator
NCOMB - Number of combinations of stations max. and min. quantities
are to be computed
NCSTY - Number of consistency tests
NINDP - Number of independent variables in regression study
NJ - Number of years in computation sequence
NLOG(I,K) - Number of logarithms used to compute frequency statistics
NMNMX - Number of months following dry season and preceding wet season
hnMfXN - Number of months following wet season and preceding dry season
NPASS - Total number of passes in job
NPROJ - Number of projections of future flows from present conditions
NQ - Counter for number of flows
NQTAP - Total number of records saved on tape IQTAP
NSMX(L) - Number of upstream stations in tandem test
NSTA - Number of stations in analysis
NSTAA - NSTA + 1
NSrAC(KX) - Number of stations in a combination
NSTAT - Total number of records saved on tape ISrAT
NSTAX - NSTA + NSTA
NSTNP(I) - Number of stations in a particular pass
NSTX - Number of stations in current pass that occurred in preceding
passes
NSTXX - NSTX + 1
NSUM(K) - Number of stations upstream from a station for tandem test
NTNDM - Number of tandem tests
NVAR - Total number of variable in regression study
NYMXG - Number of years of generated flows in each period for which
maximum and minimum flows are desired
NYRG - Total number of years of generated flows
NYRS - Number of years of recorded flows
Q(M,K) - Monthly flow
QM(I) - Monthly flow
QYIN(I,K) - Minimum flow
QPREV(I) - Flow for previous month
QR(M,K) - Identification symbol
QSTAP(I) - Temporary storage of QPREV
R(K,L) - Correlation coefficient in a given matrix
RA(IK,L) - Correlation coefficient
RAV(K,L) - Average correlation coefficient for 12 calendar months
3
EXHIBIT 5
..
....
..
RMAX - Maximum consistent correlation coefficient
RMIN - Minimum consistent correlation coefficient
RNGEN(IXX) - Program random number function
Ri - Correlation coefficient being tested
R2 - Correlation coefficient being tested
R3 - Correlation coefficient being tested
SD(I,K) - Standard devaition of logarithms for calendar month
SDAV(K) - Average standard deviation for 12 consecutive months
SDV(I,K) - Standard deviation of the generated deviates
SKEW(I,K) - Skew coefficient of logarithms for calendar month
SMQ(J,K) - Maximum or minimum flow for month or duration
SQA(I,K,L) - Sum of squares of first variable
SQB(I,K,L) - Sum of squares of second variable
SUm - Average correlation coefficient of matrix
SUMA(I,K,L) - Sum of first variable
SUMB(I,K,L) - Sum of second variable
T - Large positive constant
TEMP - Temporary variable
TMP - Temporary variable
TMPA - Temporary variable
TMPB - Temporary variable
TMPP - Temporary variable
TP - Temporary variable
X(I) - Value of independent variable in regression equation
XINCR(I) - Iteration value for flow increment
XPAB(I,K,L) - Sum of cross products of first and second variables
EXIBIT 5
C 7F3*Vb-L?340 O WTvWLv 'yqEAPvL', SIIAT0 J4C- of ff (11# Rev 1970
CA a* **.* * L~THuAN, FIJ4CTICKS At OG# OA4!1 * , * ft * * * t * * ft * 1002
C PpOGRA4StrMIJi C4CUT,RGFk we &ff CtIMENTS IN PINGIN 1003
C INDEIXES IuChLENDAQ 'IONH JNVAR Xa3TA LoNELAYED $?A ,,AV"C0331*1 1O0"T" 1004
C 0pm3n 1006
*Otll),i(10.17.1007000
KYRA8*11 1039
KIn2YAPU9* 1040
KSTAZIO 1016
LSA3LST?*11113
IF (!11P.EQ.!STA(X)) 60 to 250 111*
Gn Tol 230 1115
240 REA"CTSTAT) 1116
LATATULSTAT#1 1117
HPASS84PA38+1 1118
tTEMP32J8TNPp(PA33) M19
JV.PRO 1120
Go Tr 23fl 111
250 CflPKTtk'iE 1122
On ?60 XmI.NsTN 1113
On P60 ?vist2 11es
260 fLOq(I.E)uNVRS 1128
270 IF(!AN'AL.6T90) WSTAWNSTI 1127
0n 24f0 TwIP12 11e6
4o0(1)3J1PNTH* 1119
IF(PO(I.LT.t3)G#0 TO 100 1130
HM ane)~?(!)*12 1131
260 CONTINUE 1138
I7(NCPMR.Lf.0) go1TO 320 1133
C IOE4.TIFY STATION COPRZNATIO4S 1134
On 300 NXlOCOMA 1135
14 CARD 0 ** 1138
R!*D5.3)ITP CItAC(.L)LSI.TPI1137
WmITE (60290) .TIAfNLLUZP)13
290 FORMAT USM CoNBalass" ITA.ISZS) 1139000
WNIUIT wits
V w:JTrE(1-, lt',I STAC (oL. P43)L1ITOy)
S1j' FflQM4T (7V1 eAT!CV.X,11JFM.3) 1144000
JPC TFCP4YTND'.LF.0) GO TO 350 1145
MTN04 CrP1AS)?'TNDN
00 540 Ly1-1.NTNDM 1146
gE00 3) YSTN (LW) .11~'P.(ISTTCLXL1,L.1,1TMPI it&&
WQITEC6.33()) iXaISTN(LIO, (JSTTLLX,L),LSI, yyhpJ 1149
*IIC FnR'AAT (/13H YANO~FM ~L, 3 &,o~w8qAiSAi.x 1150400
315NLJPSTRFA4 STACS),IO15) fissmnn
.340 KS~IiCLXI=TTKP 1152
350 I(TPh8X.F..1)Y40 1153
0n 3S0 K=",i1vWpK3TA 1 154
4sU"(K, TPAsi)MO
ZI1TA (K)1fln0O0I 5156
C 7Ij1TJATE -1, NO RECIRO FOR ALL FLOW6 117
')a 360 Mhl.KM 1156
AfI(MOK)U.-10 1159
am 370 1.1,12 1160
00 IN 11. 1163
37C CONTINLIE 1164
34C Cr'NTIt~IE 1165
YF(NCSTyLE.0) 60 TO 420 1166
~4R!TE(6p. 1 1167
34C FflQ4AT(/30yv8HSTAT~flNs/I7w CnNSJS1'ENCY TE8Tg5X#23M'INnEPENOENT OF 1166
1'Ex 0ENT) 1169
01 400) Lz1,NCSTV 1170
C .. CARO a *0 1171
.9EF4 (5,30) YarXCL)T3TY(L) 1172
4"0 IqlTT(b.JII01 ~ L#TT(L)oI.1TYCL) 1173
1203
4qC CIJ.TINUF 1206
'i' To) 430 1207
5nC NSTAAuN.A7hOt 1208
IF (NVPI.O7,AY4.DQ. T7A.NCO?,B.GT.fI'A) 90 TO 160 1209
F(PJSTA.LE.fl) GD Ta 160 1210
.3. C~tI18TT 6
rip(NCOMS.LE.O)GO TO Sgo120
C IDENiTIFY 3TA SLBSCA1PTS FOR STAB IN COMBINATIONS 1a14
nf 530 9XVUI.cNCe lass
TYPEpSTACtKX, IPASS)
LV80 1217
on 520 Lwl,!TP lia
IVfMPS!STAC(K~oL) 1219
no SID KvI.NSTA 1220
IFC!STA(K).NE.ITE4P)GO To 510 1221
LYNLX*1 1228
AITAC1KX.LX. IPASBSK
GO To 520 1aae
SIC CO'KTINUf 1225
S2C CMNTINUE JIM2
C REDUC~E STATIONS To THOSE IDENTIFIABLE 1227
N4YhCCKV, IPA3S)2LX
530 CON~TINUE 1229
C IDENTIFY STA?IOCS IN TANDEM 1230
54c rtNTNOM.LE.0) GO TO 600 1231
Pr)1540 LX~1.*iTNOM- 1232
On 550 XuINSTA 1233
tFtISTACK).EIJ.I3TN(LX)) Go To 560 1234
9;!C Cnh?rNIJE 1235
SAC TSINCLX)xK 1236
NAUM(K. yPASs)=N3"XCLX)
ITvaNSMxtL.%) 1230
On 960 t*u14rMP 1239
Do 97e) I(W:jq3TA 1240
IF(15TACkW).Fa.ISTTfL~,L)) GO TO 38o 1241
570 CO~NTINUE 1242
SAC IATfK.LsIPASs)zKX
59C CnN!TINUE 1244
C 10E~irIFY PAIRS CF STATIONS FOR CON31STENCY TESTS 1245
60C IP(NCSTY.LE.0) GO TO 630 1246
.jr 040 tL,Nc3TY 1247
OM 630 Kxt,43TA I248
1VC7STACK).Eu.ISTXCL)) c-c TO &10 tagq
tFCI8TA(K).En*ISTY(L)) GO TO 620 1250
iml TO 630 12s1
610 !ITX(L)uRc t252
GM O7 30 1253
62C ZATY(L)XK 12S4
630 CiINT!NUE 1255
bac cf"xTINuE 1256
690 ITMp3NSTA~jCtPM 1257
CD A A 0 14AXCAND MIN RECOiNDEn VOLUMES 0 tOt*0f t0f t001258
C TNITIATc SUMS 1259
LOfl 79n KXNSTXXITmp 1200
AvfOf)KXmO* 1261
EXH4IIT 6 4
Gn TO 690o 1285
0C 12.%u..
as
bqc CANYThue 124?
?0c I~lMK.E- GO TO 710 1248
C STAwiT NEW ACCUMULATIONS WHEN F40W MISSING 1369
oJso 1290
TmpmO. 1211
YMPASO, 129Z
GO To 770 1293
?10 TEMPX0(fl.K) 1294
C I-MONTH FLOWS Iq
EVH6
T
6*6
YV~f(f),I().1O#T) Go To 1070 1422
T",Fxrl (pip ) 1423
J(M.K)UlO."*TMP nfo(I*K) t424
Goi Tn 10ao 1425
107c AR(,M.K . %426
JOAO CM'yr~je 14P7
T~Mf2SKw (IiK)1426
XVTMPfT.~1)AJ~1MPL.,)00 TO 1110 1429
1VC71NP) iaq0#11011100 130
100t I(,~)0GIK)2 1431
GM TA 1110 1432
I IOC 0A(T,X)XUOC,K)*XTNCRt(I) 1433
111e Cro1'tNut 1434
Gn TAi 930 1435
C * * * 4 * tnELlFTE 3T&T1GNS WtT14 LESS THANi I YEARS OF DATA'*a * 143b
I1120 .,LJT6(6.ll3O)TSTA(K) t'137
113C Fnr'~A7 C/44 374,1b.281M DVLETED, INSUFFICIENT DATA) 14138000
~. '~T~t .~ A.!t439
N9T4ASSAI 1440
NR~TA ~ ,N
S7+N 3 TA 1441
IF(K.GT.NSTA)GC TA 1180 1442
C QEfluCE 311~8SCRIPT9 OF SU03SEOUENT 3?ATTON8 1443
On 1170 KXSK.N3yA 1444
1.sTA(Kx)mISTACXWa1) 1445
imj 144b
an 1130 JV1,NYHS 1414
An 1100 1M1 1 12 1446
St)4CI.4L)~ll.JqCTNeL)Tpp1486
ova EVMTIYST 6
NCA4(1,LK)I2C&A3(!,K,L) 1493
Silt# ,L)1494
fi(I L tK I 30MR (t
.Sr'AI(I# ,1*K 313 AI #)(L) 1495
SI AF(I#* .,K) 23) K i1 K L) 149
l2~C Cfl~I~uE1498
1210 CnKTINUE 1499
I220 CnNTpIJUE
1500
t2CcIN'C 1501
[In 2K4 K*IvN3TA 1502
Dm 1260 Ixt#12 1504
4A(I,K.K)zj. 1905
,n 1250 LzKK.NSTAN I506
tFCNCA03UK#L).LE.2) GO TO 1230 1507
TF:PZCAB (I .KPL.. 09
T74ns)q I q '1) 1510
T'4PACqUHA(r.K.L) 1512
I (T'PP-LT.O.) TlIPP0O. 1514
ma (TK.L)T~lP...51515
T-Pf'z TP.T0P4i.*/TEmP) /TEMP 1516
kF (TMPPp.LT.O ) TmPP3Q, 1517
51C!,KL)Tm4PP**.5 Is19
(FeT'4P.LE.(i.) G;1 TO 123M
1511
!0 %32WP1nf(I.L)TPAT)IPf/TFMP 1522
r 1523
tF('4ALT3)Tmpau.Tmps
1520
T'fP.':y 'PA AT 'PA / 1 -P
Isas
IfP(TmPA .1T.0.) T44PA:0* 1527
.A(f,K,L)TH4PI*T~lPA**.5
12
L A =I.
tf (L.ILE.N9TA) GO TOJ1233
1530
1534
1?M. I'.TTNUF
1535
1~AK=1,0TA
ITh 153?
1539
L 1540
(L.K.ACKL~.~J)GO TO 1270 154a1
1502
'k~'GfT*L).L..PLUG(IX)) Gr Tn 1270 1543
T'IrI2t.CAPC?,K,LJ 1544
"'r'=LPGTL)1545
fV(TP.Lt.TE'4P) GO TO 127?0 1547
Lva t. 1344
re~varp159
127'C CM' T!4UP 1551
I )I.LE.0)) rO To 1280 19
f'oiCri
T" 0!AA(KL)/SnR(3I,K,LX) 15,13
1550
r"'AgSII'4A C? K#LW) TMPF
1355
Evp~T8Trr 6 .8.
T"FuSup4Iq CIKpLX) /T'4P0 15
As ,K.):TMPA4+(AV(TLX).TINPI.1aQA(1,KLx)aymp M
3r CTo K)8OA (I vK LX) +(SO(1tLXf) 3(l1S (I#K.L0 )*AI#CK,L U *a2*1iP 1598
C LOJUST SYAND&II OEVTATON3 FOR COJNSISTENCI 1560
C (NC.E0 TO; 340 5
1589
136C COPKTINuE
jgqO
CG * * * * * TOsAIS~FlP To. STANOI)DIZE0 WARIATES we* a aa aa
13 7 C '1' 1420 Kvl1iSTA
'Is1 1592
1593
On 11410 Jxu14YR3 59
.0~m+It~ 3,12
OR(Hx~zSANK1596
1F(n(NK).EQ).T)GO TO 1400 19
IFUqnTK).Erj.O.)Gtj TO 1390 1600
CEAANTYPE III TRANSPORM lO
IFCSkEW(.K7.FG.O.)G0 TO tiOO 60
TF P.5*KEl(I#K)JaOCMsK)+1
*yvx
1604
160S
IF(TENP.E.n.2GO TO 1380 1606
TV 'PM-TEP
1607
* 1604
1 3PC
1609
G1i TO 14lO0
1610
I.ICr~.Tu
11cC CfII.TTNF 1611
IGICCnKYNUE1613 1IE
-9- EvHRIT 6
)Iri 1540 KZI,NSY4 1629
KVZK~t,630
,-*1 1631
nfl '460 J:1.NYHS 163a
n 1470 IC10i2 1633
.
va 1 1634
yrmpacnM#K) 1635
IF(TENPsE0.T)GC TO 1470 163b
DO 14160 LzWXNSTAX 1637
c SUBSC$41PT3 EXCEED1ING p.574 RELATE TO PRECEDINGl MONTH 1638
LY*L.NSTA 1639
IF(LXLT.1) TmPxQC'4pLl 1640
EV~rUI?*t.1
C A* CARD L *01701
;AO(5.7o)iT'4PITE4P. (R&(TKL).zul12) 1701
*" Vf(iL) 378(1 *K. LI 1703
IFCTCNWL.FQ.I11TAY(K)ITVP 1704
IF(TTMP.NEI~sTA(K)IO TV! 1550 1705
Ic(1TEMP.?JE.ISTA(L))GC TO 1350 170*
C-i 15AO 71112 1707
1380 flA (T.L K)NRA (!,K,L) 170a
1590 CflhINUE 1709
C PRECEDOING MONTH CORRELATION 1710
1600 LV:'k-S7AA 1711
IF fIGNPL.EO.1) LXQNSTA*K 1712
LAMNSTX1713
IF UIGNRL.EJ.I) LAgLX 1714
rr1 1610 LGLX,LA 1715
I!P21.-ISTA 171b
c a CARD K( OR M A* 1717
M79
IF(k.EQ*1fl8TA(ITP)=ITE0P 1720
IF (IGPJRL.Efg.l) PAYCKpX)9QA Cl ,'L) IM2
XF(ITMP.NE.IA(K))f',O TI! 1550 1?72
JFI9PN.-9AIP); TO' 1550 1723
1610 CrNITTNUE 1724
011 16?0 71.12 1725
1739.2
IF (IXK) L.)i1X(X)m:PYC),12 1740
IF (1M')tc) .LT.X) I~iw1(K):IpN(K)+%2 1741
C aaCARD P 1a
743
.11, EV),rsyy *
IF(LK.LE.NSTA)Gn1 TO 1670 1772
c SOT10 L AND LX P~rSethr PIECINGI NOW 11
T11E4PNLXftN8TA 1775
Tt'P*RA TP#EIV1PIT(Npq) 177
Gn TO 1680 1778
c L REPRESEPITS CLRMFNT 14O*4YT I778
IF CL.LE.NSTA)PACJLJ()MOAC!,KL) 1794
tVIC CribTINuE t793
tIC CflNTtN,1E 1796
172C C'ip.rTNUE 1757
G1 Tn 2311~ 1798
Cj
* a TEST Fr~f1 TRIAb CC?4JS7TENCY a * * S* 1719
173C NC300 1800
174C FAC=I. 1801
~ ~ ~411802
I-;UNCA.LTNATA*1Z) Go Te 1790 1803
In TO LS0 1805
I75C NCIX 180b
t 7 4 C 1"no1807
1b0
07E' 111 18019
tPIT-1 1810
(L.L.H5T)RS~(ILLW11823
C 5lT~4 L AND LV RFPPESEN? PRECEOINto MOMN 1424
t(L.0,T.NSTA)q3:RaCIP.LAeIT~t4P) 1825
C RAI~k Lni'VST CCEF21C!ET47 IF tNC%)N313TENT 1826
ININS01- 1653
6P
EW,4?PIPIN TO*010as
;A CTt,LX)uRti!N 1044
IF' (LI.1-E.NSTA) 181.41O5MP
(;n TO 1600 1646
t7A~ IJ~c~1.2.AC*AC~FAC1847
On
18 r(rNMC.Ef).1) GO TO 1760 18046
r * * * * * TEIT FORJ OVEP-ALL CMNSISTVICY a * a 1867
IfEMPSO 186
C"1 TM 1870 1809
i36C tTEMPSI 1870
C WHFP1 ITEMPU1D CUPFNT MIONTH uSFD FOR~ ALL %'DFPE4CFNT 3TAS 1571
C nTHE,7'I5E. PRCC MTH USED FOR CUeAENT AND SUBSEQUENT ATAS 187
1J70 J4TOfPZNSA 1573
.vAQZNINDP,1 1874
?m;160o
0.1.12 1875
Tv=Tr.1 1876
C CONSFR'JCY CUP'PLETE COPREL MATRIX FOR4 EACH MONTH AND 8Th 1878
4
5M 2150 Kml.p!ST 18?9
C L IS Rflti NU,4eEq, J T3 COLUMN NUMOIR t8'0
,)n P020 L=1,.JSTA 1841
LYZL+NSTA 1ose
Inr 1900 JX10)STA 1883
Jv=J+N3TA 1864
TFrig *) 18l80,1920.1960 tops
IAl"cT;V(I~ 090. 0100.1900 M8b
t8qf q(LJ) 2 JLECA(1,L,J)) 1847006
LTHP(L)CL load
3T&PCJ)2J 1889
Gr 170 t 1800
1QnC IFC(fl.MP) 1910,1910,189' 1841
191C O(L.J) 2 OEFiLECNA(I,L#JX)) 1892000
0T10MXL 11193
JTP' (J)Zjw 1h894
n 1970
fr 19
-13o Ey"IftI? 6
?olCRfINSAA)* O1LECA(IM.Lt))1916000
JTAO(NJTAA):LX 1917
20iC CAANTNUP 1918
c tNATRIX COJSI3TINT IF CORREL DOES NOT EXCEen t~o 1919
NoO 1920
N. C2 ft1921
P03c CALL. OVYCR) 1923
c *==uCZuuau 1924
1FfiATR11C.LE.l.) GO TO 2130 iqq.,
WRI (6,0f405 K, I#KOtYRMC 1926
P04C Fn9MAT (/36H4 IN~CONSISTENT CnRREL MATRIX AOJUSTEI),314,p12.3) 19V700
c NITH~DRAW 1928v1931
FACuFAC..2 193a
IFCFAC.Gr...12GO TO 1750 1933
,0'
(%a 1934
tnEN* 1935
IFCN.nT.10) GO TO 150 1930
3tImmo. t1137
On ?nAO' LCIPtl!NOP
1938
On ?o70 LXxt,NVAR 1939
IF(L.E').LX) GO TA 2070 1940
TM~a4 CL.LX)1941
~5U*TM
# Pp 1942
207C CnKTIUE 1943
2PC COSTN~pUf 1944
TFMP=N1NDP*NtNOP 3965
611' S U /TEM P 1946
TE 4 PSI)TQP- 1947
Ir(T~!mP.nT..1) TENP2.1 1948
TmiPm1.-TEMP 19'49
On P120 LM1,NlNnp t950
JT,-I b1
1951
On P110 LX41TPNVAR 95
qCL-LY) a 0LF.CTMPP*TP StJm*TEMP) 193300
IP(LY.L-E.NXNOP) P('.v#L)-:4 CL#LX) 1954
LTPZLTPI'fL) ls
JTP=JTtlP (LX) 15
!Vr(.TI.LE.NSTA) GM TO 2100 1957
IF(lTP.Lt*NSTA) GO TO 2090 1958
LTFtLTP-N3TA 1939
J'I'=JTP.NSTA
1960
WA(T0,t.TP, JTP) = L ,LX) 1961
R4&(lPJTPpLTP!=P(LLX) 1962
?O9C ITM~5LTP 1964
L7PZ,51P 1965
JT~'aTTmP 1966
TF C.TP.LF.NarA) kA(1,.JT0L7P)=R(L.,Lx) 19#18
Plic CnN T I :tiE 141,9
21pc CrNTINUS 1970
;nrTn 2fl30 1971
;)13C I;CnTL;,C.GE.O.) GO TO 2140 1972
-Q ITYF (,S 71) 1 , K, 0T~t!C tq73
r)T'- "C20, 1974
Pl)jC 1F(oNCA.GT.fl) GO TO 1740 197!
;).I Im7NTtiJe 5970
?16c Cfl%TINiJE
MY7
Ir fYTF'4P.El.O) GO TO 1860 3978
TFITTRNS.EQ.2) Go TA 31CO 1979
217C .ep1TyEt, 1 03 1900
C * * a PRINT CORRELATION MATRIX aa ****aa**a*aa 19o~i
IF (TYTA,.L! *n) wGITE (6,24O)PO~) t9p]
?1AC FIRNAT (11394 RAN. C"lNRELATflnw COFFFICIENS F0R MAN?N,13) 1984000
IF(CTTROJS.GT.0) 14t.ITE(6#?1903 Mori5) 19#k!
P19C Fni "AT (//404 Cfl'jSZSTFNT CVQAELATTON MAThIX FOR ?4ONTH.13) 598,000
"Q1TkU6,2?f0O) CI9V(K),1c11.M8TA) 19P7
pIoo ~Fnl~hAT (/3X,3H3TA,18I7) 1948000o
w~1T8C6,a21) 5949
2210 !AWkATC201,19H '4174 CURiOEWI "OI)1910
EvWMTIT 6 14a
flo n.ao xu,,4 1 qq j
401'"9(60223n) SAtKtIPSA ,2
M~&~
P230 Fnpm47 tt,5~73
q93 000
1990
,;0T~F6.2I~) PkECEDTING g4ON7 AT A8OVE STATION) 1999000
224C iFl-,OA7 (20%,3iITH411
IP3'157A,: 1996
On ;250 K23I143TA 1997
P250 '-:DTClS,1A(K)(RA1,(.L),LUITPDNaTAX) 199S
A2AC crWTI1UE l9q9
ZF(TANAL.LF.O) r' To 3tnC 2000
1F(TIRNS*AF*Q) or TO lbsfl Pool
IF(IPCHNI.LE.nl Gos To 2870 2002
C PU'ICH f5E~.rNTAL ELEmENTS OF MATRIX 2003
t'f P30o xwj,)* 7& 2004
IF o8C
rU 70EQt 2005
2021
2023
01 PSAO 1K31,WqTA 2024
IFCGC(m.N).IF.T) Un To 2580 ?025
c FL3wo r(.;4F.LA?irh oi&TRiv FOR EACH MISSING FLO% 202b
Ntkpso Lt4T 202V
LYZI*NSTA 2029
TIvCOML).Nk.?) 6n TO 2320 2030
117(n M-IL).F'I.T) GO To 2 39f) 2031
Nn7NflNnOp* 2032
lyc"P~yhop2033
x( rnv~q~m-vL)2034
4(PsTNOP.k.VAhi) I O1LE(RAAI,#,LV)) 2035000
T 2330
70 203b
232C Nr~.OPaNTP.Op*l 2037
ZpIT pikP 2038
xr~ ~r')EOC.L)2039
2 0~ECUAI,14L))2040000
.131C (',P0TtDlP .0 P041M00
IrrL.E0.NSTA) GO 10 2JqC A042
also y"IbTT b
a37C Rf1EMPmNItJDP)2R(NINDPo, hP) 26
P3AC cnh?pkuE Z064
p3qC CnN?!NUE 2065
IrCN1INOP.GY.e0) GO TO 2400 2066
?N0~pot 2061
Y(I)S0. 2066
Pria1) 8 1.000 2069000
LX3S.+4STA 2070
R(I-14VAfl) R D0LECQAC1 1KLX)) 2071000
140C TTEHOUNNOP,1 2071'
(inl?d LNl.MINDP 2073
2411C !7fL.ZTfP1=(LNvAR) 2070
C 222:2X8389 2071
24a2C CALL CpOUT (q) 207b
C m=vu2u2077
ITE04PUNINOP41 2076
TF'HPu1 2079
Ip'nezo 2080
nln P0d40 Lx1,JfNnP 2081
TmPUDAAS(R(L, !TEMP)) 2082
IP(T"P.GY.TEpiP) GO TO 2430 2083
?FPPxTmtP 2084
I?P*L 20.S5
P43 GC To 2440 2067
CMNO 0
Ifa 2086
TI:CJ1C.GT.0) GO TO 2450 2090
f~rTtCL..A~..TICG.. 6o TO 2510 2091
C IF MAt~jX INCCPNS13TEN7, OiMIT VARIABLE WITH LEAST 2092
c CoqIIELATION 21093
2'490 IT!'PUNINOP-1 P094
IF(TTP.GT.IT4P) GOr To 240 zq
D)n 2'io LQITI'. ITMP 2096
Dn P'IAO LAMI.TTEMP 2097
if1-,1A)zR(L+1 ,LA) 2098
2-17C 1YtIAUY(L+1) 2099
T 2100
C'~ 11 ?500 L1,lT 1'P
pac(L-L.A)2R(LvLA$1) 2102
P501 (.nNTINUE 2103
-1TNfl I 11p 2104
f'n TOi 2420 2105
C ADDt RANIDCM CrMPCN.VNT TO PRESERVE VARIANCE 210b
p5Ir frmpml20 2107
Q, ?20 Lxtoh 2108
T0~?.~IN;EN(XX)?109
21?C :Ep~NENIX 2110
C C0I4;)UTE FLOW 2111
AL~f..OO~C2*.52112
~ ~ :TEM, AL2113
owI4THtT 0116
.11,4A (I.L.x)xs0PF1 (I#K#L) P136
'%j' (I L. K)03tGA (TI KL) 2139
XFAtiCT.L.K)=XPA1(I,K.L) 2140
c RECri1I2LITE C0ARdELATyflN COEFFICIENTS TO INCLUOE NE% DATA 2141
P340 IF(Nr.A5(I.,L).LE.2) GO TO 2560 2102
TFMP8NCA9CI#KtL) 5
2143
TMPZtSOA(IK.L)SUlA (y9 KL)*SIJMACEL)iTEP)*C QSC!,x.L)SUmi 2144
I(IX.L).SUM8C!,K,L)1TEMP) 2145
C EL1'41hATE PAIRS WITH ZERO VARIANCE PROUUCT 2t46
IF(TMP.LE*O.) GO TO MO6 2147
*17
?P S
1Frx GT.NKTX1 *IT~ v6b: 2209
P66C FIQ4AT C/114 S1'A YfAiflImfjA6x*5TOTAt.I 2210600
fl 1211
'In ;1760 J11IDIYRA 2212
TTpuo 2213
On ?720 Tutle 2214
!4--+ 221!5
TF4Pm(MpX)2236
TwfPc3KEW0~i,I() 2217
3
I" (TMP.NE.O.) TEMPE(TYIP.(TrMP.TrP/p,.)/6..1.)"* ". )*Rsiy"P 221
15(flP(i,K).NF*C) Go Tr 2b~n 2219
IFCFMP.GY.2..AND.SDC!,A) .f?..3I y~w~mZ.,(TEiiP.)*.3/SOCIrX) 2220
IF(CuP.LT.-.OlO1.OR.TI'P.GT..0001) "PXp(-2.)1TMP
2
1F (SX"W9Tp) ififD bq0,2ht0Q 2222
267C 1F(rEmP.GT.T-1P) TEPIN371P 2223
1;n TO 2490 R224
264C TFCTFPP.LT.TiP) TE"PuTiP0 2225
2690 T"-PmTfMP*'%D(Te()+AVCIpK) 2226
-10' KIN tlO.*T-P.0a (I K) 2227
2229
IF(FTMP.LE.01 GO TO 2710
TF40xn. 2232
10 7?0 L31IT P2233
I , xI 0. 2257
???C -j~(t,'()3O 2258
."1 2259
~7q~
7O *0r92lN S 2260
, = -- 0 12262
?PPALOGCQel,X).D)Qe1.K))*.4342q45 2261
5fT()UKj2A I,*TEmP*0 2264
CVNI4?tT 6 *left
5 IW,X,(UANYRS,2T.P3.*AYP0TEMW*TMPA2,OTE4Pi*JI 2?74
I r~ygCAVl31.)(py5P.*SO(I.K)-.3) 0279
PaflC c"'JNtIe 2240
281C Cnk~TI'NUE 2241
LOTAPSNOTAP 26
APIT (6102) (
n~tx),al,2) 237
C84 cO'4PIirE as
2296!iTINFLW
C T~~ 2309
289C IF (ICHS*LE.) GO TO 240 2300
I HP INriS1PGEC 3AIT 231
DP! ?86 K=?45TlPv3T 2302
I ~ ~9~ ~~1,~~tW~2303
~ VA 2314
I (' K) 0 *2306
. K
Ar P0 C. 313
2T'l
On -JA
0:0 TT 2335
.14. EwiPPXPC5
233
w'nTTE(6.70)!STA(K),!STACL),RAV(KL) P350
,f(T,K)ft5AV(K) P397
10 1030 L21.'JSTA 2398
C ZE~n CnIREL&TIC% WITH OTSE4 STLTIONS ANO PPECEnIkG MONTH 23q%
LY:LNSTA2400
~& (~kL)~O.2401
IF(L.rE.X)r,n TO 3030 P402
C I!NIFn,1'4 SERIAL CCRREL TITERMEDIATE MCNT143 AND INTER-STA 2403
;A(T#*L) 2!4AV v(eL) 2004
;A(TL.K~qA~jjL) 405
3mic CnlTTNLiF 2006
26(7 ,K,K'i):'qV(K,K) A4407
N A(7, K* K)~ *2408
AndC Ld'NTINUF P409
4
c ' fA~i AND SERIAL C1,RREL, WE? &NO PRV SEA504S a410
tMPNRAVCK.IX) .15 pa11
frP,2T142. *3 241a
fF (?mpGT..qA;Ympa.98 241J
IF (TE"P.LT.O) TEMPxOS 24t4
tpaIKX(K) 241!
tv(7?P.X)2AV!NX(K)..1 2416
3(TTP~k.Kx)%TEHP
1 2417
EX'47E!' &20
2
IYP:,4x().. 2422
UF(TTP.Lr.1)!TP*1YP+12 2423
AV (T'rP.K) :AVIIX(K) ..1 2424
t.tA (ITP, KkX) --T"P ;0425
ITPOIMN (X 24a26
AVCT1'P.X)XAV4N() 2427
RA(TTPK,KX~mn7P 2428
lTP21MN(IV).t 2429
!FCYTP.Lr.1) iTPUIP 2430
AV (T4,I()AV-lN(IC) 2431
RA CTTP.X.Kk)zTMP 2432
ITPUINdN(g)-2 P433
IF(TTP.T.IjTIPt*1? 8434
Av(T?0.K~AVmAJ(X) ?433
4 (YTP,.Klx)m?tp 2436
C HESJ3S FCR MO'kTIN F(ILLOWING WET 3EA8ON 2437
!F(NHivM?.LT.1)Gfl TO 30bfl A438
ITPZIXCK) 439
T~lm0u(&AVMV(K)-..1AYMN(K))/1EKP 2441
011 1050 !X2I,NMKMHN P442
T4P=T'i 2443
-210 EXIBIT b
t'li4 orR'iSnF603) ?494000
ITANSUZ 49
i~TO 1730 2496
117C !F(flTQMC.(GE.O.) nC TO 3114,0
.r.JTE (bp70)! .,DTPNC
1.3TATONSTAT 251b
TF(TiAS5.LT..PA3S) GO Tr 200 2517
324C *1"I 2)518
:OAASU1 2519
2520
2521
!F CNR4fJ.LF.0) t;O TO 3310 P522
C~a* * * * P,^nj[.TEfn FLCW 1E'ENCES aaa* aaaaaaa aa 252 3
32tC .A=TYRPJ.TYRA P52 a
,IZLYRJ.Tyqh25253
Ir. j , 526
TPjMTHPJ-IMNTH.j 2527
IF(ITP.NE.0) GO TO 3260 2528
1 T p * 122529
3P6! (IrP.LT IPCITP1-T 2 2531
7' 1290
q (l'TA 2533
!~
P,'),
5~ st To 3280 253a
2536
!F iSKFWTT,).FPn..) GL TO 32 qO 2537
T I.5~~*j aKFW (IT P, X) a P H V(CK)*I1 2538
T .*~c 2539
r-(FOrFM)r TO 3210 2540
rf-'vf-EMP) 2501
'T'" (-TAP) 2542
327( -,; rvf()cb*T Pa*TE'Paa(1*#3.).1)/AKEi(ITPM)*8r(Ew(rTMK).I6. P50i
'11 3290
T 25044
3?pr P545
jiztvppj.1 2547
C N 2.!)'UE'CE kr.o M4 8 MON.T1 NO,# JX d YEAR HC. 2548
311C '130-1 ;)5a9
T) 3330 sso
C ITAv'T 41TP4 lqrP OFVTATION AT ALL STATIONS3 ;.551
3 P512
331C 53P0 KcI,K. TA
1321, I"Ev()n. 2b53
C CE-q4ATE 2 YEARS FOR D!SCARDING ?3
2
JVX* 25196
333C IF '"ASqLF.j) Gl; TO 3uCC P5
lciIPkS5.GT.I) %7JO 3340 2538
T~ ISTAT
7'F.' 21559
.ITAPSO R560
(9IAPSQ 25131
334C Pr Io IOTAP 25362
L.IT'P90 .3563
PF~I(ISTAT)'~qTXX,%5Th, (I3TA*(KI@NSA) 251#4
.'src~l~w~l 565
IC04STI.LE.0) GO TO 3380 ?5&6
EVHI4HT 82
6
Ic(!PASS.Lf.t) GO Tfl 3360 26
139L G.FAn(onyAp) ryE"P#,CQP',K) p,PoITP) 2570
Lq)TAP8L0TAP.1 2571
1(tTTFMP.NF.I3TA(K)) GU T173350 ps72
33hf :rAD(!8TAT, 0 AC,)SlIKKE(g K,)nI6Lu ?S73
l#K'5YA).ALCFT(IK)pXU1,12) 2574
337C Cn TINUE 2511
13$C "'I 339V KZNTYXN3TA F576
ISTAP81STAP.1 ?I??
tFCN.GT.O) )vfJEV(K)xQ9TAP(j9TAP) 2578
33;C :rA)CtjT AT) i f, p(Av(r 4) pSfln K 3XE w CI K)D QCIK) CE TA I K L I L 1 2579
1,-j3TA),AjLcFr(T#K)#j:1#!?) ?Sao
C* ** * * rE'NFfOTE. CORAFLAME 3TANDARI) OEUIATE '* . a *2541
:jr1isCHM C"(pASSj.Ej.
) NMZX2
* rO-,KI:TEMP 2613
w;' F (K)= TEM 2614
. I, I'.hiNJE 2615
3~' ' TINLJE 2b6
V 7APII I(
JI UI( TA(K, CQCP ,K).M22.1P) 2b26
YAPPJ()T AP+ 1 2629
iI fhPajsTAV+1 2620
:F (15TAP.IrT.1(STAP) 0)0 71! 160 2630
3IIf'.ITAP(I8T*Ph:!((IyP,K) 2430
355C I"r MN J J A #1 3
i.'o
M-..TXNSTA
WO 2634
2633 a
W(NJ*JVT47rT0) WQZTE(6,266O) CpOMP)151012)
n e)zAvr;,(j,U() ANLCQ
4'ir 63
5nvr!.X1(3,,V(x,a.AVuZI,K)..l.AL6)/PLCGa)tto 2b6
.p3-?
j v2Jy T4'2
1660 jajA.NJ
ill) 2641
JN*J+% ph26'
IF (JX.LE.0) GO TO 3660 2&44
on 3690 Talolp
I~ K~vgt,1Y) 3,380,.3902655
F (TMP.GT.T!)Y?4PzEPP
t51 265b
5n1 TO 3810 265?
TMPUEMP 2650
15q(' tF(1I4P.1.T.TE"P)
qn To 3610 ?659
3~C TU!M,~O2681
?I~FT~i*~0
K)?b62 I~h)4AYCT
ZF(TTMI'.Lf.0) Gn TO 363C
TFV'0S0 * 266b
LvZrST(KsLolT4 33
j3?C rFv~mE1P+(4(.X1 bb9
3
~((
AO
VO110. QWt~CTK)~ Q(MtK) 0. 2071
P614
!6QC Cr"NTINIIF
NITHOREV 2615
c 261b
I(t 31atTP
- ITF (6, 100) 1314 X)*Jyo(117(l)plt# 3,1 2617
I~fti'CW.L.C')G TI) 36 20111
2079
v'iTff,c??f0) LaTA(K), jx*gf(0C1),Tl1i2)
3b"C CONTINIUC WbO
37C C 0 . T INJEF 26A
1Ff ,raj.LE..1) r 0 TO 3720 2b8
5710) JUJA,*4j ?6A3
,=x+S TA 26L*9
1TP=NTI%7h(KA, JP&33)
(!4,)CO.2691
T ?b9?
-i !SAO SLZ,T '
N(A ?S
I C;hI TK
1).
I.L
269b
37nc C-i'kul
j71r Crmr.VtIUF 2b51
in lzia ?b,48
37?C f;,:<.LT.N' 1jn1 c.0
sb0
IFi4MxGtr.))GO TOJ Van
C 1. 44X A~Sn mjN GkKERATfO FLnw$ 0B00*0 2700
1r(JK:L./IG- TO 1970 2701
INUFFICtEftT 210a
C 3919PAXMIN IF NE"ANIN0 VEA43
IFVYXE.V?.O.A. .NjoL.k~.Yo XG)CO TO 136l 2103
-25. Evs-IdYT 6
1l'A33I 2781
c Go to ,4k~ oa20
3911 ' IV(NYRG.LI.') G13 TO 150 V7A3
rfNj .GT.W1:?c)NJ=NykG ;P784
,YPAUNY146-s:j a761
nmr Tn 33no 2746
END 2781
S319B00UTTP. CPPLUT(9!() 1001
~ :~ o XO~JVAN1016
C 1 FI4IJ MATRIXK/~(
*1 1015
If1 40 K-u2, JV A4 1018
AO )(2KNTO 1019
On 60 JzW.*,T'jDP 1020
,,, rso I~1.Ir 1021
I022
7r wN F A i LV-R R( 1029
~'fclzn8Af ;4(ix K)) 1030
IrrcC'P.rt"..)(00) rGc an 1031
2TL!CU1 1
t03-3
', TUr tot033
PC, r; &VAR )f,? (W.VAic) /P ( ~K) 1030
(a ~ * PACK SOLUTION.aaaAaaaaaaa 1035
(N~h)1y=12"T11P,4AR)1036
'n 100 Ix2,;4P'DP 1031
j.5%VAq~- I 1038
t: I * 11039
'n)+L1042
1 11fIO%
P.U I 006
tTTD
a 0cr; Nf) 1005
C 10) NJjI I: i145ir F II AR!V 'AH 1002
Ct r'7F~g
Ct 0 t AS
'4-C+ICjI*4X(.NI 104
1009
' j 1)~ J YKQ'. E~OT R~N toot
-,-rTr(IN N(TTA) (
c * a a aFc'*i:./2aai)aa 1011
C OnyfF~TkP BL1tr TC. 7twE INEE!H. OION~
, lw"EQE 1012
c NYLFE C' Nhrqto 1013~hFP
c ANTANIA r,11V121/ v- r M 0LClrjE)AT.N 101a
I :!U 1013
e!,4livf 6 *ab"
Trr.~m 1 S71Pj~lot?
i~ TYy&~c~Njlots
END 1021
t026
ESdT6
MXUBIT 7
EXMBIT 7
CAo VAMANZ 0aer's
C (Cont'd)
4. IGM - Indicator, + 1 calls for reading generalized stat-
istics and using for generation, + 2 calls for cow-
Vitin generalized statistics from flov data and using
for eneration.
S. NPW)J - Number of projections of future flows from present
conditions, usually 0.
6. IYRPJ - Year of start of each projection.
7. M)HPJ - Calendar month of start of each projection.
8. L RPJ - Lst yea of each jrojection, number of recorded and
reconstituted years plus number of projected years
dimensioned for 100.
2
EnHBIT 7
CARD VARIABLE COMMENTS
H (Cont'd)
Note: Flow data for current pass supplied As described for H card and
follow data with a blank card (I card), supply NPASS-l sets
of J, H, and I cards (also D,E,F, and G, if necessary) when
NPASS greater than 1.
K Preceding-month correlation coefficients for first
station, omit if IANAL (B-3) is positive (NSTA cards).
3 EXHIBIT 7
CARD VARIABLE COMMENTS
* Sets of L and M cards are required for each station from K - 2 to NSTA.
EXHIBIT 7
CARD VARIABLE COMMENTS
N (Cont'd)
Five blank cards with A in Col 1 of first should follow last Job.
Note: Cards K through R are not required if cards H and I are supplied. Cards
K through R are as punched by computer when IPCHS is positive.
EXHIIBI r 7
EIBIT 8
I See Icard)
NPASS-1 iiZ (Ie H I I)I-
sets (1)(e Rcad
J COMB NTN4DM NCSTY NSTX I STA fSTA T.. NS X Val a
Mi I lakcard, after all ta,
NCMT cards G I
1ST!
st[D" ( ST"Rn
IMAC IISTAC1 .. 0.. 1 NSTAC I Valm?
C NCOMB NMD NCff! IaNRL NpROJ rm]RJ KWJ LYRPJ
B DWH rAKAL mKRw8 " IAS IB'
NYR I11 IP I STA:
A WT ITLE1 CARD
A TTLE CARD
Notes:
(1) SupplY Only if ZANAL 0B3) Is Positive. Papeat U card tar each
station-year of data before supplying I card.
EXHIBIT 8
SUbMY OF REQUIRED CARDS
Continued
7'23-X6-L231eO
R DI NI
IST le
Q IT SKE SKW...(2Vle)oiti IGIL(4
(2) L designates correlation with current month and LX with preceding month. If
IGNRL.(C4) =1, only one (generalized) coefficient is given following station
numbers on each card and only 1 K and M card is used for each K station, with
L = K. Use sam format as H card.
(3) Repeat set of L and M cards for each K station except first.
(4) Omit if IANaI (B3) is positive.
2
MIB~hr 8