94
Scientific Notebook # 473

Scientific Notebook 473 - NRC

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Scientific Notebook 473 - NRC

Scientific Notebook # 473

Page 2: Scientific Notebook 473 - NRC

Contenrs

Page 3: Scientific Notebook 473 - NRC

1

Page 4: Scientific Notebook 473 - NRC

7'

\

Page 5: Scientific Notebook 473 - NRC

3

I I

Page 6: Scientific Notebook 473 - NRC

h

if(subcon(i)) then 1 subsurface control condition: if (lowet( j, i) ) then sku(j) = sk2(i) if((ffl( j,i) .ge. cumcm(i))

h .and. .not. topfil( j,i)) then topfil(j,i) = .true. tho(j,i) = thsl(i)

if(j .eq. nk .and. .not. notify(i)) then dum izr = = 0 1.0 & s - - ~ , + I c L - 1

call qwrt (id, izr, trace, cumcm(i), dum, dum,

notify(i) = .true.

dum, id, 0, i, t) I ass cumcm and t to writer if(diag .and. j .eq. jd) write(99,*) t(i)

end if end if

else if(fi(j,i) .gt. 0 . .and. rfj .gt. 1.5*skl(i)) then I.

end if - surface layer control conditions --

8ku(j) = skl(i)

else

__^_- I

I

Page 7: Scientific Notebook 473 - NRC

5

-. ' 7 c ? - C i - 7-

d ~u1, finlor! = finlot/real(nkm,4) + k 5 -\5 zL if(fin1o .gt. 1.e-6) then

write(77,'(' finlo ",3gl3.4)') finlot, fs(2,l), ffl(2,l) call q w r t (id, * ,trace, finlo, dum, dum,

d dum, id, 0 , 1 pass cumcm and t to writer

a- end if

end if

Page 8: Scientific Notebook 473 - NRC

6

C

C

C

entry qwrt. ( i d , k, idstr, qpk, tpk, v i , area, RE3 Z / Z G / O t E4 storq, typ, storr, qrmax)

--I

- t

i f ( k .eq. 0 ) then 4

if(storr: .eq. 1) then f i l l 2 = .true. f i l t v = qpk*conv filtm = qrmax/60.

f i l l o v = .true. ! overbank f i l l f i l tvo = qpk*conv filtmo = qrmax/60.

e l se i f ( :storr .ge. 2 ) then

end i f

e l se i f ( k . I t . 0 ) then I report loss to lower layer lowfin(storr) = .true. f loss ( storr) = qpk*conv

e l se 7

Page 9: Scientific Notebook 473 - NRC

.-_XI,

1

Page 10: Scientific Notebook 473 - NRC

C

C

C

C

C

. _ . _ _ _ _ _ _ - _ _ - - _ _ optional table of element data 8 L if (tabl) then

call blanks twol = .false. do je = 1,ltab if (sumtab(je)%twola) then twol = .true. exit

end if end do

if (twol) then m = 116 write(colunits(99:114), ' ( " " , a2 , "

& qlab1,qlabl head1(99:115) = str2a ! ' TopLay Subsoil' head2(99:115) = str2b ! I Infil. Infil.'

m = 100 else

end if

aref = sumtab(ltab)%cumare if (sed) then addsl = 'Sediment' adds2 - Yield ms = m+3 me = ms+l colunits (ms:me) = wlab

end if

me = m+7 write(headl(m:me),' (as) * ) addsl write(head2 (m:me), (as) ' ) adds2 write (f ilel, 811) head1 write(filel.811) head2 write(filel,811) colunits

do je = 1, ltab list upland elements: plane, urban, injects

itu = sumtab(ie1 %itvpe if(itu .eq. 0 wr i te ( idbuf f idbuff (7:20) if(itu .eq. do j = 1.8 tabs tr ng

end do

call fmtlO call fmtlO

else

_ _ or. itu .eq. 6 .or. itu .eq. 5) then 1:6) , I (15,lx) ' ) sumtab(je)%idel = typname ( i tu) ( 1 : 14 ) ) then

j) - empty (sumtab(je)%are, aref, tabstrng(l), j) (sumtab(ie)%cumare. aref, tabstrna(2), i)

write(tabstrng(6 if (itu .ne. 3) vinfl = sumtab write (tabstrng write (tabstrng

end if if (twol) then nx = 10 js(9) = 2 i s ( l 0 ) = 2

- - . . - write (tabstrng (3) , *.jlx, f 9.4) j sumtab (je) %volin write(tabstrng(4), (lx,f9.4) ' ) sumtab(je)%volrn

end if write(tabstrng(5),' (lx,f9.4) ' ) sumtab(je)%volro

, (2x,f8.3) I ) sumtab(je)%ropeak hen je)%ftot !/sumtab(je)%are 7), (1x.fg.4) I ) vinfl ! infil in mA3 8),1(4x,f6.4)') sumtab(je)%thst

! first character of string to use

tabstrng(9) = empty ! upper layer infil tabstrng(l0) = empty !lower layer infil if (sumtab(je) %twola) then flinmm = sumtab(je)%flowr * conv write(tabstrng(lO), I (2x,f8.3) I ) flinmm upper = vinfl/sumtab(je)%are *conv - flinmm write(tabstrng(9), (2x,f8.3) ' ) upper

end if

n x = 8 else

end if

if (sed) then nx = nx+l

tabstrng(nx) = empty

Page 11: Scientific Notebook 473 - NRC

c - - - - - - - - - - - - - - - - - - optional table of element data if (tabl) then

call blanks twol = .false. do je = 1,ltab if (sumtab(je)%twola) then twol = .true. exit

end if end do

if (twol) then C

m = 116 write(colunits(99:~~4), ( " I' , a2 , 'I

head1(99:115) = str2a ! ' TopLay Subsoil' head2(99:115) = str2b ! ' Infil. Infil.'

m = 100

& qlab1,qlabl

else

end if

aref = sumtab(1tab) %cumare if (sed) then

C

addsl = 'Sediment' adds2 = Yield ms = m+3 me = ms+l colunits(ms:me) = wlab

end if C

me = m+7 write (headl (m:me) , (as) ' ) addsl write(head2 (m:me), ' (a8) ' 1 adds2 write(filel.8111 headl write(filel,811) head2 write(filel,811) colunits

do je = 1, ltab C . list upland elements: plane, urban, injects

itu = sumtab(je)%itype if(itu .eq. 0 .or. itu .eq. 6 .or. itu .eq. 5 ) then write(idbuff (1:6), I (15,lx) ' ) sumtab(je)%idel idbuff ( 7 : 2 0 ) = typname(itu) (1:14) if(itu .eq. 5) then do j = 1,8

end do

call fmtlO (sumtab(je)%are, aref, tabstrng(l), j ) call fmtlO (sumtab(je)%cumare, aref, tabstrng(2), j) write(tabstrng(3), (lx,f9.4) ' ) sumtab(je)%volin write(tabstrng(4), I (lx,f9.4'l ' ) sumtab(je)%volrn

tabsting(]) = empty

else

end if write (tabstrng ( 5 ) , ' (lx, f9.4) ' I sumtab( je) %volro write(tabstrng(6), ' (2x,f8.3) ' I sumtab(je)%ropeak if (itu .ne. 3) then vinfl = sumtab(je)%ftot !/sumtab(je)%are write(tabstrng(7),'(lx,f9.4)') vinfl ! infil in m.3 write(tabstrng(8), '(4x,f6.4)') sumtab(je)%thst

end if if (twol) then

m = 10 js(9) = 2 ! first character of string to use j s ( 1 0 ) = 2 tabstrng(9) - empty ! upper layer infil tabstrng(l0) = empty !lower layer infil if (sumtab(je) %twola) then flinmm = sumtab(je)%flowr * conv write(tabstrng(lO), ' (2x,f8.3) ' ) flinmm upper = vinfl/sumtab(je)%are *conv - flinmm write(tabstrng(g), ' (2x,f8.3) ' ) upper

end if

n x = 8 else

end if

if (sed) then nx = nx+l

tabstrng(nx1 = empty C

Page 12: Scientific Notebook 473 - NRC

C

,

C

C

C

C

js(nx) = 1 write(tabstrng(nx), (lx.fg.3) ' ) sumtab(je)%sedout

end if write(filel,810) idbuff, (tabstrng(j) (js(j) :IO) ,j=l,nx)

end if end do

do je = 1, ltab now do channels and pipes:

itu = sumtab(je)%itype if(itu .eq. 1 .or. itu .eq. 2 .or. itu .eq. 4) then write(idbuff(1:6), '(15,lx) I ) surntab(je)%idel idbuff (7:20) = typname(itu) (1:14) if(itu .ne. 2) then

else

end if call fmtlO (sumtab(je)%cumare, aref, tabstrng(2), j) write(tabstrng(3), ' (lx,f9.4) ' ) sumtab(je)%volin write(tabstrng(4), ' (lx,f9.4) ' ) sumtab(je)%volrn write(tabstrng(S), (lx,f9.4) ' ) sumtab(je)%volro write(tabstrng(6), ' (2x.fa.3) ' ) sumtab(je)%ropeak if(itu .eq. 2 ) then !pipe case

call frntlO (sumtab(je)%are, aref, tabstrng(l), j)

tabstrng(1) = empty

n x = a if (twol) IIX = 10 do j=7,nx

end do tabstrng(j) = empty

(infiltrating channels) else vinfl = sumtab(je)%ftot !/sumtab(je)%are write(tabstrng(7), (lx,f9.4) ' ) vinfl

write(tabstrng(8),'(4x,f6.4) ' 1 sumtab(je)%thst if (twol) then

nx = 10 js(9) = 2 js(10) = 2 tabstrng(9) = empty ! upper soil infil tabstrng(l0) = empty ! lower layer infil if (sumtab(je) %twola) then

end if

flinmm = sumtab(je)%flowr conv write(tabstrng(lO), (2x,f8.3) ' ) flinmm upper = sumtab(je)%vbot/sumtab(je)%abot*conv - flinnun write(tabstrng(g), (2x,f8.3) I ) upper !sumtab(je)%pored

end if

n x = 8 else

end if end if

if (sed) then nx = nx+1 js(N0 = 1 write(tabstrng(nx), I (lx,f9.3) ' ) sumtab(je)%sedout

end if write(filel.810) idbuff, (tabstrng(j) (js(j) :IO) ,j=l,nx)

end if end do

do je = 1, ltab now do ponds

itu = sumtab(je)%itype if(itu .eq. 3 ) then write(idbuff (1:6) , ' (15.1~) ' ) sumtab(je)%idel idbuff (7:20) = typname(itu) (1:14) call fmtlo (sumtab( call fmtio (sumtab( write(tabstrng(3), ' write(tabstrng(4) , ' write(tabstrng(S), write(tabstrng(6), ' vinfl = sumtab(je)% write(tabstrng(7), end if tabstrng(8) = empty wr i te ( tabs tr ng ( 8 , if (twol) then

IIX = 10

e)%are, aref, tabstrng(l), j) e)%cumare, aref, tabstrng(2), j) lx,f9.4) I ) sumtab(je)%volin IX , f 9 .4 ) ) sumtab ( j e ) %volrn ix, f9.4) ) sumtab (je) %volro 2x, fa. 3 ) I ) sumtab(je) %ropeak tot ! /sumtab( je) %are ix.f9.4) ' ) vinfl

(4x, f6.4) I ) sumtab( je) %thst

Page 13: Scientific Notebook 473 - NRC

C

j S ( l 0 ) = 2 tabstrng(9) = empty ! upper layer infil tabstrng(l0) = empty ! lower soil infil

else

end if

if (sed) then nx = nx+l

nx = 8

js(nx) = 1 write(tabstrng(nx),' (lx,f9.3) ' ) sumtab(je)%sedout

end if write (filel, 810) idbuff, (tabstrngt j ) (js( j) :lo), j-1,nx)

end if end do

C end if

810 format(a20,5a10,4a9,2a8,3a10) 811 format(al23)

C

Page 14: Scientific Notebook 473 - NRC

9 i

,

Page 15: Scientific Notebook 473 - NRC

I D E l e m e n t Type

i P i d r i r 3 P l a n e 5 P l a n e 7 P l a n e 9 P l a n e

11 P l a n e 2 P l a n e 4 P l a n e 6 P l a n e 8 P l a n e

1 0 P l a n e 1 2 P l a n e 13 P l a n e 1 4 P l a n e 15 P l a n e 1 6 P l a n e 1 7 P l a n e 1 8 P l a n e 1 9 P l a n e 2 0 P l a n e 2 1 P l a n e 2 2 C h a n n e l

T a b u l a r Summary of E l e m e n t H y d r o l o g i c Components

A r e a s E l e m e n t C u m u l a t e d

m"2 m A 2 i787.40 i787.40

8 4 0 . 9 5 2 6 2 8 . 3 5 1 9 0 5 . 7 0 4 5 3 4 . 0 5 2 5 9 2 . 6 0 7 1 2 6 . 6 5 3 1 3 3 . 4 7 1 0 2 6 0 . 1 2 2398.82 1 2 6 5 8 . 9 4 2 4 1 0 . 8 0 2 4 1 0 . 8 0 1 0 2 6 . 3 8 3 4 3 7 . 1 8 1 9 9 7 . 0 4 5 4 3 4 . 2 2 2 0 9 2 . 7 2 7 5 2 6 . 9 4 1 4 2 5 . 0 6 8 9 5 2 . 0 0 1 4 3 5 . 2 0 1 0 3 8 7 . 2 0 1 8 0 9 . 5 0 1 8 0 9 . 5 0

471 .60 2 2 8 1 . 1 0 5 5 1 . 8 8 5 5 1 . 8 8 2 7 1 . 5 6 8 2 3 . 4 4 6 8 4 . 6 4 1 5 0 8 . 0 8 6 6 8 . 1 0 2 1 7 6 . 1 8 6 2 7 . 2 0 2 8 0 3 . 3 8

1 1 6 8 . 8 6 3 9 7 2 . 2 4 4 5 5 . 0 0 4 4 2 7 . 2 4

3 0 . 0 0 29754.48

I P

! 5 -

Inf low

m" 3 0 .000 0 .000 4 . 2 4 7

1 3 . 7 0 7 2 6 . 4 6 2 1 7 . 5 5 3

0 .000 0 .000 5 . 1 8 1

1 5 . 0 8 7 2 5 . 3 6 4 1 9 . 7 9 8

0.000 0.000 0 .000 0.000 1 . 3 7 0 4 . 7 4 5 7 . 9 6 3 3 . 2 0 5 1 . 2 3 6

2 5 . 0 1 7

R a i n f a l l

m" 3 46 .472 2 1 . 8 6 5 4 9 . 5 4 8 6 7 . 4 0 8 8 1 . 4 7 0 6 2 . 3 6 9 6 2 . 6 8 1 2 6 . 6 8 6 5 1 . 9 2 3 5 4 . 4 1 1 37 .052 3 7 . 3 1 5 4 7 . 0 4 7 1 2 . 2 6 2 1 4 . 3 4 9

7 . 0 6 1 1 7 . 8 0 1 1 7 . 3 7 1 1 6 . 3 0 7 3 0 . 3 9 0 1 1 . 8 3 0

0.000

i L" 1

O u t f l o w

m"3 0 . 0 0 0 4 . 2 4 1

1 3 . 6 9 0 2 6 . 4 3 6 1 7 . 5 6 4 1 0 . 1 4 7

0 .000 5 . 1 7 4

1 5 . 0 6 9 2 5 . 3 3 8 1 9 . 7 8 7 1 3 . 3 8 6

0 .000 0 .000 0.000 1 . 3 6 8 4 . 7 3 9 7 . 9 5 7 3 . 2 1 3 1 . 2 3 9 0 . 9 0 2

2 3 . 6 2 3

P e a k Flow mm/h 0 .00 1 . 7 1 2 . 5 9 2 . 9 9 1 . 6 3 1 . 0 4 0 . 0 0 1 . 5 6 2 . 3 6 2 . 7 1 2 . 0 0 1 . 4 6 0 . 0 0 0 .00 0 .00 1 . 7 1 2 . 5 3 2.97 0 . 9 3 0 . 2 5 0 . 1 6 0 . 9 6

ii i

T o t a l I n i t i a l Upper L a y e r : I n f i l Water Max- S t o r

m"3 C o n t e n t 4 6 . 4 7 0.i356 1 7 . 6 2 0 .1375 4 0 . 1 1 0 . 1 3 7 5 5 4 . 6 8 0 . 1 3 7 5 9 0 . 4 0 0 . 1 3 5 6 69 .22 0 . 1 3 5 6 62 .68 0 . 1 3 5 6 2 1 . 5 1 0 . 1 3 7 5 4 2 . 0 4 0 . 1 3 7 5 4 4 . 1 6 0 . 1 3 7 5 4 2 . 6 3 0 . 1 3 5 6 43 .75 0 . 1 3 5 6 4 7 . 0 5 0 . 1 3 5 6 1 2 . 2 6 0 . 1 3 5 6 14.35 0 . 1 3 5 6

5 . 6 9 0 . 1 3 7 5 1 4 . 4 3 0 . 1 3 7 5 1 4 . 1 6 0 . 1 3 7 5 2 1 . 0 7 0 . 1 3 5 6 3 2 . 3 8 0 . 1 3 5 6 1 2 . 1 7 0 . 1 3 5 6

1 . 4 0 0 . 0 9 0 0

mm i87.43

9 2 . 7 3 5 5 . 6 4

1 8 7 . 4 3 2 8 1 . 1 4

2 8 . 1 1 4 6 . 3 7

1 2 9 . 8 3 1 8 5 . 4 6 3 3 7 . 3 7 3 3 7 . 3 7 1 1 2 . 4 6 3 3 7 . 3 7

2 8 . 1 1 3 7 . 0 9

1 4 8 . 3 7 2 2 2 . 5 6 1 4 9 . 9 4 1 1 2 . 4 6 9 3 7 . 1 4

8 6 . 9 9

1 4 8 . 3 7

I n f il . mm

n c nn L V . U U

1 7 . 2 8 1 7 . 2 9 1 7 . 3 7 2 8 . 8 5 2 8 . 8 6 1 5 . 2 9 1 7 . 2 7 1 7 . 2 9 1 7 . 3 9 2 9 . 9 2 3 0 . 4 8 1 5 . 8 2 2 6 . 0 0 1 5 . 2 9 1 7 . 2 6 1 7 . 3 3 1 7 . 4 8 2 3 . 5 9 1 7 . 0 2 2 6 . 7 4 4 3 . 4 3

i a

S u b s o i l I n f i l .

nun n nn u. v u 3 . 6 7 3 . 7 6 3 . 7 2 0 . 0 0 0 .00

1 0 . 7 1 3 . 6 9 3 . 7 6 3 . 7 1 0 .00 0 .00

1 0 . 1 8 0 .00

1 0 . 7 1 3 . 7 0 3 . 7 5 3 . 7 1

1 0 . 0 1 1 0 . 6 9

0 .00 3 . 2 2

Page 16: Scientific Notebook 473 - NRC

11

Page 17: Scientific Notebook 473 - NRC
Page 18: Scientific Notebook 473 - NRC
Page 19: Scientific Notebook 473 - NRC

r- - . . . , .

Page 20: Scientific Notebook 473 - NRC

15

File: Edit2 3/27/2002, 8:58:18AM ."-I- _,

C obflx = boflx If(ntsoi1 .gt. 1) then Do i = 2, ms

if(ntype(i) .ne. ntype(i-1)) then ! soil interface boflx = flowi(i) 1 to *60.cm/hr rdelf2 = abs(bof1x-obflx)/rbase if(rdelf2 .gt. rdelf) rdelf = rdelf2 exit

end if End Do

E l s e

End If boflx = 0.

Page 21: Scientific Notebook 473 - NRC

16 3/27/02

---- lll_ --____.,__ . ................ ... _l_l_.-.... .................. _..-.I__ .. ..... " l _ _ l _ _ - ~ _ _ _ _ ~ , _ _

. . . . . . . . . . . . . . . . . . . . . . . . . .. ......... ~ - ...I" _^ - I ._ l"._ll"-..l "I _ _ _I__ -'

t - lll_.....___l.._.__._.-_I .. ... -. J. .... ~ . - ......... _ _ ............. ....... l_I1___l . l__l_l '40

l__-____l_.-.__. ......... I__ _I._. ....... __.__..._I_ -.___ ~ ~ . _ _ I ..... ..._I___._ .- .- ...................... .............. __..__I____. ~

-

Page 22: Scientific Notebook 473 - NRC

... ............................................... ...................... .. ............-..I.

. .""I' l_l_ .-I__ ............. __I..._..-__ _l_.._.._-ll____. -~ ............... .....................

.. ....... .... ...... .. ...... .... .. ._lllllII.-" ._..___-.I -__-_I -.I ... .-

.....

. "..

.-

. ..

Page 23: Scientific Notebook 473 - NRC

............... - .... -.

..... __l_....l_ __ ----

....... ....

. .___I_..

.

. --~ ...................

"-

.. .

- ... _

__

..............................

......... ...

.-I__-.

...... ......

s-p c

v:

......

--I...- ..

- <

( --If ....

.............. ..............

._

..........

- ............

XIII-------

......... __

gf5

5/2

7/o

L

.

............. ....................

___I-,... I_

__..

____

I.-_-._.."

.......... .-._.I-.-I_--.-._____...

...... ..........

...

.. ......

.--.----I-.I ~-.I

..................... -,I_ ..........

.......... ......

__

-- .............

..___ll____.-.l_._ ..

-. ...... _____"_-.__..I

.. ....I.__.

...

._----_I

.................... _-._I

....... ...................................

H

Page 24: Scientific Notebook 473 - NRC
Page 25: Scientific Notebook 473 - NRC

~ . . . I _. . . . . . - . . . . . . ....

. . . .. .- . . - - - . . . - ....

c € E E

60

30 1

20 1

10 :

8

6

4

2

I 0

Time, min.

Rain rate - Flux into lower layer

T - min

6000 8C

c

?

a

c

. . ... . . . . - . . I . . . .

Page 26: Scientific Notebook 473 - NRC

234.

50

40

30

20

10

Rain S I 8-95-2 : Element 23

:

r

:

I I

Rain rate - Flux into lower layer

' 8000 101

. . "..

. "

. .

. ,

30

Time, min.

Page 27: Scientific Notebook 473 - NRC

L A S E P

Rain G3-91-1 Element 170

__.I_.-" .... - . . . . . 1000 2000 3000 4000

X S 4=

6 ZI: -- E

time, min.

8!

6 -

4 -

2

rain rate - flux into lower layer

- O O fi\ 1000 2000 L , , , 3000 , , , , I 4

time. min.

~.

_ _ ~

...

.. -.

_. ..

....

....

. .

Page 28: Scientific Notebook 473 - NRC

23

I I

CAS€€ 50 L

Rain S I 8-95-2 Element 170

Time, min.

8 1

rain rate flux into lower layer -

6

4

0 8000 1 O(

time, min.

0

Page 29: Scientific Notebook 473 - NRC

24

a- t , , _. .- .. -. .

... ....... ' 8 " .

I r ' ~ ' x ..... ....

CASE I= 30

25

20

15

10

5

0

Time, min.

15 - Rain Rate - Flux into lower layer

x: .2.

E E 10

0

Time, min.

Page 30: Scientific Notebook 473 - NRC

25

__ .... .

..

..

.

..

..

..

.

..

..

.

..

.. ..

.

.. ....

.. .""-

.

..

..

~- .-

-" ...

.......

__ .

... ..

-.

....... ..

. -

-- -. ". .

~ -

" _"..I

. .

I

- ..-I. ......

.

. -.

, .

.~ .__...I.x

~.

.

........ -

...........

....

... -. ..

........

..

.

..

_".

.

..

.

I,

,,

0

--------I

....... .......

........... ..l_.__._I__l__l___.-..-.----

...............

i=

3

3

3

r-

3

0

0

?J

..

- .......................

.... ..

..

.

Page 31: Scientific Notebook 473 - NRC

....

.- ~

. -.

. - -

. .--

....

. .-

. i. . . . . . . . . . . "-._...._._~.-...----._--......I. .... ................................. . . - - ..-

... "l."..l_"-l"--"l_~_--__l .... . I-Ix.-~_c--___.I__I_.--I ............. .. - .............. x... ....... ~

... .... - - ....... ............. ............... . . . . . . . . . . . . . . . . . . . . . . . .

Page 32: Scientific Notebook 473 - NRC

27

Page 33: Scientific Notebook 473 - NRC
Page 34: Scientific Notebook 473 - NRC

29

- -

Page 35: Scientific Notebook 473 - NRC

no

Page 36: Scientific Notebook 473 - NRC

31

Page 37: Scientific Notebook 473 - NRC
Page 38: Scientific Notebook 473 - NRC

33

Page 39: Scientific Notebook 473 - NRC

34 File:. d : \ ~ P u s Z \ S p l i t ~ \ ~ t r a n s f . f o r 8/26/2002, 9:34:42AM

program t o read G S t i p data from DAW and w r i t e Opus f i l e - - i & 3 r c program d t r a n s f

---

- C

- C

' . C 10

C e

-

- C

C -

- C

C 101 -

character(LEN-50) : : f i f e i n , o u t f i l e real , dimension (100) : : t w , d w read i n p u t f i l s name w r i t e ( * , * ) I E n t e r name of r a w data f i l e : ' read(*,' ( a ) ' ) f i l e i n open (3, fLle=fLle tn , status='old') read o u t p u t f i l e name

r e a d ( * , ' (a) ' ) outfile open ( 6 , f i l e = o u t f i l e , s t a t u s = ' unknown ' 1

i = l read(3,lOl) i y r n , j d a n , i h r n , iminn, dmmn I c a l l monday( jdan , mons, ids, i y r n ) idp = ids j d s = j d a n dmms = drnrnn

c o n t i n u e c a l l monday( jdan , mons, ids , i y r n ) t w ( i ) = ih rn*60 + iminn + l $$O*( jdan- jds ) dw(i) = dmmn i y r o = i y r n j d a o = jdan

entec n a m e of f i l e t o create:

z

i h r o = i h r n i r n h = iminn

&mu = dmmn I

rerad(3,101,err=98, end=99) i y r n , j dan , i h r n , iminn, dmmn

if( (dmmn - dmmo) .It. 0.0001 .or. i y r n .gt. iyro) then wrfte event midn = j d a o - jds n = i

w r i t e ( 6 , 2 0 1 ) i y r o , mons, idp, n, midn, t d e p w r i t e ( 6 , 2 0 2 ) ( d w ( i ) , t w (i) , i=l, n ) I

j d s = j d a n idg = ids m - s = m n i = l

i = i t l

tdep = dmmo - dmms

e b e

end i f go to 10

format(2x,i4,i4,2i3,f7.1)

Page 40: Scientific Notebook 473 - NRC

35 -

File: D:\OPusZ\SplitW\dtransf.for 8/26/2002, 9:34:42AM - -

201 format (4x,I4,4x, 12, 12,18,18, f8.2) 202 format(5(f8.2,f8.1)) - 98 continue -

99 w r i t e ( * , * ) ' f i n i s h e d i n p u t f i l e ' - 199 continue -

- write(*,*) ' error end ' go to 199

close (3) close 16) -

- c----.-------------------------------------------------------------------

C Finds Month, Day of Month, and Year, g i v e n date i n GGG format, where - - SUBROUTINE MONDAY (jDATE,MON, DAY, YEAR)

C

GGG is gregorian day - INTEGER :: jDATE, DAY, MON, MOM, M, YEAR integer,dimension(l3) ;; CAL = (/31,6Q,91,121,152,182,213,244,2~4,-

iE 3 0 5 , 3 3 5 , 3 6 6 , 0 / ) -

IF(jDATE .LE. 0) Then - MON =13 -

JDAY = MOD(]DATE, 1000) - jday = jdate -

ADD DAY TO GET IN CORRECT PHASE WITH CAL(M) FOR NON-LEAP YEARS: - IF(JDAY .GE. CAL(2) .AND. MOD(YEAR,4) .GT. 0 ) JDAY = JDAY+l - f f (JI3AY .gt. 3 6 6 ) Then

- CALIMON) IS THE JULIAN DAY OF LAST DAY OF MONTH ON LEAPYEARS

- RETURN Else

YEAR = jDATE/1000

- YEAR = YEAR -k 1 JDAY = JDAY-366 -

End If -

M = M + 1 -

M = l Do While (JDAY .gt. CAL(M) )

End Do M =13 MON = M - MOM = MON - 1 IF(M0N .LE. 1) THEN

ELSE -

END IF RETURN -

-

-

- - DAY = JDAY

DAY = JDAY-CALIMOM) -.

End If - END

-

Page 41: Scientific Notebook 473 - NRC
Page 42: Scientific Notebook 473 - NRC
Page 43: Scientific Notebook 473 - NRC
Page 44: Scientific Notebook 473 - NRC

39

Page 45: Scientific Notebook 473 - NRC

-- I-

-- -I

-- I-

--

File: C:\Applications\OPus2\SplitW\transpdm~.for 10/18/2002, 11:10:14A

C this program reads USGS quarterly daily tmax and tmin files C and writes daily max and min temps in Opus format on a file C whose name is specified. C

program ymdrnxmn C

character(LEN=50) :: opusfil, qfilmin, qfilmax, blank50,

character (LEN=20) : : film, filmn integer :: nsite, lumax, lumin, lunout

blank50 = 1

write(*, ' ( ' I Enter name for OPUS actdat file to create: " ) ' 1 read(*, ' (a) ' 1 opusfil lunout = 8 open(8,file=opusfil,status='unknown*,err=998) write(*, ' ( " read(*,*) nsite write (8,921 nsite

write(*,91)

read(*, (a) ' 1 filist open(7,file=filist,status='old1,err=998)

I -

& filist

C

Which Met site do you wish to compile?: " 1 ' 1

C

91 Format(' Enter filename for list of files to process: ' 1

C 91 format(' Enter name of the next quarterly TdMX file to use:' C & / ' ' 1 C 93 format(' Enter name of the corresponding TdMN file to use:' C c / ' ' )

92 format ("mm/dd/YY met site ",i2) 1 continue

read(7, ' (a) ' ) qfilmax if(qfi1max .eq. blank50) go to 999 open(4,file=qfilmax,status='old',err=998) film = trim(qfi1max) lumax = 4

read(7, (a) ' 1 qfilmin if(qfi1min .eq. blank50) go to 999 open(3,file=qfilmin,status='o1d1,er~=998) filmn = trim(qfi1mi.n) lumin = 3 call reader (lumax, lumin, nsite, lunout, filmx, filmn) close (3) close ( 4 ) go to 1

C

C 998 stop ' error opening input file ' 99!3 write (*, ( ' I end specified " 1 ' )

close ( 7 ) end

C

C subroutine reader (lmax, lmin, nsite, l o u t , filmx, filmn) character (len=l) : : first

Page 46: Scientific Notebook 473 - NRC

41

ll:10:14k le: C:\Applications\OPus2\SplitW\transpdmx.for - 10/18/2002,

character(LEN=4) :: site = ' S I T E ' , dsite character (LEX=lO) : : chdate character(LEN=20) :: film, film

integer :: nsite, jsite, nrow, ldate, jdate, jd, jm, jy, mdate, character(LEN=5) :: chour -

& lmax, lmin I real :: th, tmin, tmax 6

1 - linek = 0 do while ( .true. ) read(lmax, ' (al) ' ) first linek = linek + 1 - if(1inek .gt. 5. and. first .eq. '1') exi

,x.T data end do

t ! found first line of -

I backspace (lmax)

do while (.true.) read (lmin, ' (al) ' ) first linek = linek + 1 if(1inek .gt. 5. and. first .eq. '1') exit ! found first line of

minT data end do backspace (lmin) jsite = 0

do while(jsite .ne. nsite) . . read (lmin, *, end=96) nrow, tmin, chdate, chour, dsi . _ .

C & nrow, chdate, chour, dsite, jsite

C end do

jsite = 0 do while(jsite .ne. nsite) read(lmax, *, end=97) nrow, tmax, chdate, chour, dsite, jsite

C C & nrow, chdate, chour, dsite, jsite

C found first line of site, each file

write (lout, ' (15, lx, a10, lx, a5, lx, a4,iZ) ' )

end do

read(chdate,49) jm, jd, jy mdate = 1000000*jm + 10000*jd + jy write (lout, 48) mdate, tmin, tmax ! , m i s s

49 format (i2,lx,i2,lx,i4)

1 continue 1 C jdate = jd + 100*jm + lOOOO*jy C do while (jsite .eq. nsite)

read (lmin, * ) nrow, tmin, chdate, chour, dsite, jsite read (lmax, * ) nrow, tmax, chdate, chour, dsite, jsite if (jsite .eq. nsite) then read(chdate.49) im, id, i v mdate = 1 write (lou

Page 47: Scientific Notebook 473 - NRC
Page 48: Scientific Notebook 473 - NRC

File: C:\Applications\OPus2\SplitW\transpohr.for 10/18/2002, 3:22:llPM - C this program reads USGS quarterly hourly temperature files C arid writes daily max and min temps in Opus format on a files C whose name is specified. C

program yuccahr C

character (LEN=50) : : opusfil, qfilen, blank50, filist character(LEN=20) :: fname integer :: nsite, lunin, lunout

C blank50 = ' I

write(*, ' (I' Enter name for OPUS actdat file to create: " ) I ) - read(*, I (a) ' ) opusfil lunout = 8 open(8,file=opusfil,status='unknown',err=998) - write(*, ' ( " Which Met site do you wish to compile?: 'I) ' ) read (*, * ) nsite - write(8,92) nsite

write (*, 91) read(*, (a) ' ) filist open(3,file=filist,status='old',err=998) -

--

- C

91 format(' Enter name list of quarterly USGS data files to use:'

92 format ("mm/dd/YY met site ", i2, t76, "missing") & / I ' 1

1 continue C write (*, 91)

read(3, ' (a) ' ) qfilen if(qfi1en .eq. blank501 go to 999 o p e n ( 4 , f i l e = q f i l e n , s t a t u s = " , e r r = 9 9 8 ) lunin = 4 call reader(lunin,nsite,lunout, fname) close (4) go to 1

C 998 stop I error opening input file 999 write (*, ( " end specified 'I) ' )

end C

C subroutine reader (lin, nsite, lout, fname) character(len=l) :: first character(LEN=4) :: site = 'SITE', dsite character (LEN=lO) : : chdate character (LEN=20) : : fname character (LEN=5) : : chour integer :: nsite, jsite, nrow, ldate, jdate, jd, jm, jy, mdate real :: th, tmin, tmax

C do while (.true. ) read(lin, ' (al) I ) first if(first .eq. '1') exit ! found first line of data

end do backspace (lin)

Page :

Page 49: Scientific Notebook 473 - NRC

jsite = 0

C C

C

49

C 1

C

do while (jsite .ne. nsite) read (lin, *, end=95) nrow, th, chdate, chour, dsite, jsite write (lout, ' (15, lx, a10, lx, a5, lx, a4, i2 1 '

& nrow, chdate, chour, dsite, jsite end do

read(chdate,49) jm, jd, jy format (i2, lx, i2,lx,i4) jdate = jd + 100*jm + lOOOO*jy continue ldate = jdate

tmin = max (th, 999. ) ! initialize tmax = min(th,-999.) m i s s = 0 do while (jsite .eq. nsite)

found first line of site

backspace (lin)

if(th .gt. 9998.) th = 999.

read (lin, *, end=96) nrow, th, chdate, chour, dsite, jsite read(chdate,49) im, id, jy jdate = id + 100*im + lOOOO*jy if (jdate .eq. ldate ) then

if(th .It. 999.) then if(tmax .It. th) tmax = th if (tmin .gt. th) tmin = th

m i s s = m i s s + 1 else

end if

mdate = 1000000*jm + 10000*jd + jy write (lout, 48) mdate, tmin, tmax, miss jm = im jd = id if(jsite .eq. nsite) go to 1

else

end if end do

48 format lBZ. 18.48x.2f8.1. 6x- i 31

95 continue write (lout, 195) nsite, fname

return 96 continue

mdate = 1000000*jm + 10000*jd + jy

195 format(' site',i2,' data not found in file ',azo)

writellout.48) mdate. t m i n - t m a x - m i s s 1 i n pa-,= - i t a i c > a c t in 1 4

end 4

Page 50: Scientific Notebook 473 - NRC

1

45 I

program yuccaHUM

character(LEN=50) :: opusfil, qfilen, filist, blank50 character(LEN=256) :: message integer :: nsite, lunin, lunout, listu

blank50 = ' write(*, I ('I Enter name for file to create: " ) I )

read(*, (a) I ) opusfil lunout = 8 open(8 , f i le=opusf i l , s ta tus= 'unknown' ,e r r=998) write (*, ' ( " Which Met site do you wish to compile?: 'I) ' ) read (*, * ) nsite write (8,921 nsite

write (*, 91) read(*, ' (a) ' 1 filist write(*, ' (2x,a50) ' ) filist o p e n ( 3 , f i l e = f i l i s t , s t a t u s = " , i o s t a t = i e r r )

91 format(' Enter name of sequential list of quarterly

92 format ( " mm/dd/YY met site ", i2, t28, "missing") & / ' USGS data filenames: ' )

1 continue read(3, (a) I ) qfilen if(qfi1en .eq. blank50) go to 999 o p e n ( 4 , f i l e = q f i l e n , s t a t u s = " , e r r = 9 9 8 ) lunin = 4 call reader(lunin,nsite,lunout,q€ilen) close ( 4 )

998 stop error opening input file ' 999 write (*, ' ( " end specified ' I ) ' )

c _______________-__________L_____________------__-_

subroutine reader (lin, nsite, lout, fname) character(len=l) :: first character(LEN=4) :: site = 'SITE', dsite character(LEN=lO) :: chdate character(LEN=50) :: fname character(LEN=20) :: tfname character(LEN=5) :: chour integer :: nsite, jsite, nrow, ldate, jdate, jd, jm, jy, mdate real :: th, tmin, tmax

linek = 0 do while ( .true. ) read(lin, ' (al) I ) first linek = linek + 1

Page 51: Scientific Notebook 473 - NRC

if(1inek .gt. 6 .and. first .eq. '1') exit ! found first line of R data $-+- end do

backspace (lin)

jsite = 0 do while(jsite .ne. nsite) read(lin, *,end=97) nrow, th, chdate, chour, dsite, jsite write(lout, (I5,lx,a10,lx,a5,lx,a4,i2) I )

& nrow, chdate, chour, dsite, jsite end do

read(chdate,49) jm, jd, jy

jdate = jd + 100*jm + lOOOO*jy if(th .It. 999.) then

found first line of site

49 format (i2, lx, i2,lx,i4)

nh = 1 sumh = th miss = 0

nh = 0 sumh = 0. miss = 1

end if 1 continue ldate = jdate if(th .gt. 9998.) th = 999. tmin = max (th, 999. ) ! initialize tmax = min(th,-999.)

do while (jsite .eq. nsite) read (lin, * ) nrow, th, chdate, chour, dsite, jsite read(chdate,49) im, id, jy jdate = id + 100*im + lOOOO*jy if (jdate . eq. ldate) then if(th .It. 999.) then nh = nh + 1 sumH = sumh + th miss = m i s s + 1

else

end if

if(nh .ge. 1) then

else

end if mdate = lOOOOOO*jm + 10000*jd + jy write (lout, 48) mdate, avrh, miss jm = im jd = id if(th .It. 999.) then

avrh = sumH/real (nh, 4)

avrh = 9999.

nh = 1 sumh = th miss = 0

Page 52: Scientific Notebook 473 - NRC
Page 53: Scientific Notebook 473 - NRC
Page 54: Scientific Notebook 473 - NRC
Page 55: Scientific Notebook 473 - NRC

- -"I_" -__I-. ~

File: Edit2 9/18/2003, 10:09:29PM - "_ - -

...................................... ~

* IDCR IPER PLAI DDEM DDMX PDRYM POTY RDP PLIG RLIG DesBrush 5 . 3 0 14.5 2343. 2000. 10. 1000.0 0.15 0.10 * POTHT PPCV TGBM TGOP CONVF DEACT COVI DMINIT PST HPC

* CONY CFXN PNO PNF DKC PNRAT x x 0.018 0.0 0.02 0.012 3.00 0.25

* IDCR IPER PLAI DDEM DDMX PDRYM POTY RDP PLIG RLIG __ CoolGrss 3 1-50 80. 1100. 2000. 10. 300.0 0.15 0.10

* POTHT PPCV TGBM TGOP CONVF DEACT COVI DMINIT PST HPC

* CONY CFXN PNO PNF DKC PNRAT 0.018 0.0 0.02 0.012 3.00 0.25

* IDCR IPER PLAI DDEM DDMX PDRYM POTY RDP PLIG RLIG _ _ WarmGrss 3 1.50 550. 1400. 2000. 10. 300.0 0.15 0.10

* POTHT PPCV TGBM TGOP CONVF DEACT COVI DMINIT PST HPC

.6 0.17 -1.0 22.0 1.0 0.01 0.1 0.0 0 .

- .3 0.30 0.5 16.0 8.0 0.02 0.0 0.0 0.

. 3 0.30 8.0 21.0 8.0 0.02 0.0 0.0 0. * cony CFXN PNO PNF DKC PNRAT 0.018 0.0 0.02 0.012 3.00 0.25

--_ x - "~II --.x .-"I

~. ~ - -- ~ ~ " - ~ - ~ _ I - - . ~ ~ ~ _ _

Page 56: Scientific Notebook 473 - NRC

i

51

Page 57: Scientific Notebook 473 - NRC

. . . . . . . . . . . ~ . . . . . . . " _ .. ... - ....... . . . . . . . . . . . ."_x "~".-Ix ~

. . . . . 1_ I ..................................... . . . . . . . . . -._..I .... . __-_ . ,..-I.__ ..x-...... ....-_I -I-. .

Page 58: Scientific Notebook 473 - NRC

-I-

--__ --I_

-_I

53 .' ............................................ , .a __I" .. ................................................... . ~ - " . _ .

advance of flow on steady infiltrating surface 2*10"

0

\ *\ (theoretical shock arrival at 26.7 min) +,

t---t 22 min.: first flow at end 0-0 26 minutes 4-4 steady flow pattern

I I I I

20 40 60 80 1

distance, m 0

it-

, *.

I

Page 59: Scientific Notebook 473 - NRC

2-

L , -,

.

0

Depth, mm

. P

18 0

3

;cI

5

Q

-. -

I U

I

I I

P

A

in 1

Page 60: Scientific Notebook 473 - NRC

50 L Infiltration model in KINEROS2

j 4 0 t \

0-Q KINEROSZ results I I I I I

2 4 6 8 I O Mean Iover time step, mm

Page 61: Scientific Notebook 473 - NRC

7 d r ' f i - 4 fn* Q. so.

-- I

Simulated weather for Monsoonal Climate Brush plus Warm and Cool Season Grasses

-- -- -- -- -- -II_.

-- -- -- -- I-

-- -- -..-

1-

I-

- - - - ~

---

Page 62: Scientific Notebook 473 - NRC

$q. E/o2 Simulated weather for Monsoonal Climate Brush plus Warm and Cool Season Grasses -- E 12

e

2

r a

0 - 10

P v)

([J

.- . i i -

.-

L

- 191 6-1 0-01

Page 63: Scientific Notebook 473 - NRC

Simulated weather for Monsoonal Climate Brush plus Warm and Cool Season Grasses

2! '

0 1 91 5-07-01 1 9 1 5- 1 0-01 1 91 6-01 -01 1 91 6-04-01 1 91 6-07-01 1 91 6- 1 0-01

Date

Page 64: Scientific Notebook 473 - NRC
Page 65: Scientific Notebook 473 - NRC
Page 66: Scientific Notebook 473 - NRC
Page 67: Scientific Notebook 473 - NRC

................ .....

- c--. ...................... -a,-"- ............ .-I_,- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

02 ............. " " ~ - ~ ~ 0 ~ . - ~ ~ ~ - - - " ~ . ~ ~ ~ . 2 7 _.-_ C L Z I-....." "*Q" ............. me"" ...... "_I" .. ..... "_

............... -- .."+-"I--.. ........ .......... I - 79 . J&.%??-. ....... 3.9. 1390. ...................

. . ........... ......---...--...---.....I-.

............ ..._I ..... --.....-..r_.-^-II.- ..... ".l.-. ........... _...--..-".~.-I-_--. .. ._...I_ ......... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

....... :-ACG.--..-% 0'3 21 -_ ....... $.\.e 2!2~.%2 ._,I_ x_.__ G.0 ............. . . ..

...... . .......

............ ...... ....

........... "--I----~ ........ ... -- ............... .......................... ....

........... XI. . .... -2%!-fi-?5.--&L ... ... .-I._ _2f)..6.127_. . -. ...... 1.5-6 .... 7.W ......... ... ___.

......... .- . ~. ......... 2 1 1 . 0 3 .. ................ .........

.. ._I_.,- . ..... .. ..... ...................... - ................... ........

. . -. .. . AVC,Zl- 22 --I_- Z-!:%%-_. --__- LKA8-J _...2! 7, ........... .............. .

......... _-_I .. .---.--_.I I..--."__ .... -0 :S? ..... - ........... "-2 .......... ( ( 8 P ................. ......... . _"_I

- 0

.. .... _._ .I%"G!-..". 1672-29- ..... .-..Iz.s . . . . . 7629 ...................... - ...... ....... ... .. . . . . . . . ---. 12.52.. 2 0 . . " I 1 0 0 ...... . .....

0 . G (

. .. ........ I-.... - ...... - . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .............

................................... . ~ ~ ! / ~ 2 - - 2 ~ - - ~ - " " ~ - 1 - ~ 6 % _."-.-lst2-w~-,- ""713 . 429 .... ..................

. . . . . . . . . . . . . . . . . . ."""_)lll ......................... 4.53 207.JZ .......... .6 0 r3oo . . . . . . . . . . . . . . . . .:.. ............. . . . . . I ..... -%.!.!.. cs-. . . . . . . . . . . . . . . . . . .......... .

- . . . . . . . . . . . . . . . . . . .

............. I.,. ................................... ..... ... "___ . . . . . . . . . . . . . . . . . . . . . . . . .

Page 68: Scientific Notebook 473 - NRC
Page 69: Scientific Notebook 473 - NRC
Page 70: Scientific Notebook 473 - NRC

200

E E

Monthly seepage, monsoonal climate at Split Wash 10 yr sample, 300mm soil

I I I I I I I I I

[ I monthly precip 0-0 monthly seepage

1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 Month

C:\Applications\OPus2\SplitW\Spl30di OyLseep.draw

Page 71: Scientific Notebook 473 - NRC

0.2 Q) .. U $ 0.18 Y

i= 0 2 0.16 Q) (0

3 0.14 )r

5

E

CI

- g 0.12

C ' (0 0.1 s

monthly mean rootzone water content Opus2 simulation, monsoonal climate, 300mm soil, Split Wash

I I I I I I I I I

e

e e e e e

Page 72: Scientific Notebook 473 - NRC

600

500

400

300

200

I 00

n

3

Cumulative Seepage effected by upper soil depth 10 yr Opus2 simulation of monsoonal climate at Split Wash

t I I I I I I I I 1 c - 120mm upper soil

" 1915 1916 1917 1918 1919 1920 1921 1922 19231924 Date

C:\Applbcations\OPus2\SplitW\SpRNLSeepI Ocum.draw

Page 73: Scientific Notebook 473 - NRC

250

200

1 50

100

50

0

Cumulative Runoff varying with upper soil depth 10 simulation of monsoonal climate, split Wash

- 120mm soil ----. 300mm soil .-.- 500mm soil

I--

/- -1

J-c-

' . " ~ ~ ' ~ " ' ' ~ ~ " ' ' ~ ~ ' ~ ~ " . ' ~ ' ~ ' ' ' ~ ' 1916 1917 1918 1919 1920 1921 1922 1923 1924

Date

CV\ppliitions\OPus2\SpliplWLROcum 1 Oy.dmw

Page 74: Scientific Notebook 473 - NRC
Page 75: Scientific Notebook 473 - NRC

.. . . ,, . . .. . . . , .. . . . . . . . .." ." " .......... ." - ... . "

. .. , , . . . - ..- ..-,--- -. - . .. - - .- ..I._x_ ~ . ,"". , , . .. " .. . ~ . ." ".-- , . "_ " . . .. . . .

Page 76: Scientific Notebook 473 - NRC
Page 77: Scientific Notebook 473 - NRC

C

C

-~

C program for converting tipping bucket data to Opus format

C program tipover

real,dimension(900) :: cumt, cumrd integer I: im,id, iyr, nhr, nmin, nsec, nelaps, nzr = 0 character(LEN=601 :: tipfile, outfile write(*,*) ' Transform tip data to cum. pairs: write ( * , 101)

101 format(" Enter filename of tip data: " ) Kead(*,'(a)') tipfile open(3 , f i l e= t ip f i l e , s t a tus= 'o ld ' , e r r=991)

write(*,102)

read(*,'[a)') outfile open(7,file=outfile,status='unknown',err=992)

call skipl(3)

nwr = nzr nelaps = 0 bkptot = 0. stmtot = 0. add = 0. rate = 0. do while (.true.) onlaps = nelaps l y r = iyr ratel = rate read(3,105,end=99) rate, irn,id,iyr, nhr,nmin,nsec, nelaps

102 format(" Enter filename for output: ' I )

103 format(" Enter averaging relative diff ( 0 to'-0.05): " )

write (7,501 ) nhr, nmin, nsec c* .. C 501 forrnat(Sx,iZ, ': ', i2, ' : ', i2) C nelaps is elapsed seconds since last tip. C rate is in mm/h

if(nhr .eq. -9) cycle if(ne1aps .eq. 0 .or. nelaps .gt. 18000) then if(ibp .ge. 2 ) then ! write record write(7,204) iyr, jm, jd, ibp,nwr,stmtot write(7,ZOS) (cumrd(i),cumt(i),i=l,ibp) bkptot = cumrd(ibp) ibp = 0

end if nwr = nzr if(iyr .gt. lyrl bkptot = 0. !start cumulating at beg. of yr. btime = 0. add = 0. stmtot = 0. if(ne1aps .eq. 0 ) cycle

end if ptime = btime btime = ftime(nhr,nmin,nsec) + add if(btime .It. ptime) then add = add t 1440. btime = btime + 1440. nwr = nwr + 1

end if elapm = real(nelaps,4)/60. ! elapsed time in min. if(ne1aps .gt. 18000) then ! dummy up a start time and rate elapm = 120. ! = 2 hrs (in minutes) arbitrary deld = rate*2. ! added last tip if(de1d .le. . 0 8 ) then

deld = 0.105 ! small rates are reported as 0. and must be revised rate = deld/2.

end if ot = btime - elapm ]d = id ]m = im

-~

Page 78: Scientific Notebook 473 - NRC

stop ' end of input file found'

stop ' unable to open input tipfile stop unable to open Out file '

991 continue

992 continue

993 continue 105 format (tll,f6.0,t54, i2,lx,i2,lx,i4,t71,3(i2,1x 202 format(4x,"interval apparent"/

h sec vol (m)") 203 format (t5,16, t20, f6.4) 204 format (t5,14,t13,212,218,T36, f5.2) ! bkpt 205 format(5(f8.2,f8.1)) ! bkpt

end

subroutine skipl(nu). ! gets past heading info in file nu integer :: nu character(LEN=l) :: cha do while (.true.)

read(nu,'la)') cha if(cha .ne. ' * I ) then

c----------------------------------------------------------------------

backspace nu return

end if end do stop ' end of record in skip1 ' end

function f time (nh, nm, ns ) integer : : nh, nm, ns real :: ftirne ftime = real(nh,4)*60. + real(nm,4) + real(ns/60.,4) return end

C-----------------------------------------------------------------------

, t88, i7 )

rain header line rain pair line

Page 79: Scientific Notebook 473 - NRC
Page 80: Scientific Notebook 473 - NRC

Opus2 simulated seepage, Split Wash I O yrs recorded data, 300mm soil w. desert brush

1-1 monthly precip 0-0 seepage at 1OOOmm n

987 1988 1989 1990 '1991 1992 1993 1994 1995 19% Month

Page 81: Scientific Notebook 473 - NRC

0.2

0.05

Simulated monthly rootzone water content Opus2 model, 300mm upper soil depth, Split Wash

I I I I I I I I I

1987 1988 1989 1990 1991 1992 1993 1994 1995

Month

Page 82: Scientific Notebook 473 - NRC

Seepage effected by upper soil depth Opus2 simulation of 1 Oyr recorded climate, Split Wash

.-.-.-.-.-.

- 120mm upper soil ----. 300mm upper soil

500mm upper soil ai U) [o

a> cn 300

r- /------,

., .

y

k

Page 83: Scientific Notebook 473 - NRC

78 I

Cumulative runoff for different soil depths Opus2 simulation, current climate, SDlit Wash

I t

120mm soil depth ---I. 300mm soil depth .-.- 500mm soil depth

-

1 I r-----*

f----' I ! I I

_ _ - Month / Year

-___I_

I

Page 84: Scientific Notebook 473 - NRC

79

Page 85: Scientific Notebook 473 - NRC

E 300 I E I

I I I

L.

0

B s

I 1 I I I I I

IO0 120 60 80 20 40 0

Months Effect of Soil Depth on Surface Runofc OPUS Element 23. Monsoon Climate. No Ks Variation

Fde C I USW 04 I OPUS-KWEROS I SMmC-OPUS3 I OPUSRO3 POW daw 9 - 36 -04

600 I I

I I I

I ----;- I I-

, I I

20 40 0 ~-

Month

Effect of Soil Depth and Soil Conductivity _. on Seepage EIement 23, Monsoon Climate, No Seasonal Variation of Ks

Page 86: Scientific Notebook 473 - NRC
Page 87: Scientific Notebook 473 - NRC
Page 88: Scientific Notebook 473 - NRC

subroutine soil-set-ksv ( iel, jday )

sets kbar for first layer and second based on time of year

integer :: jday, dtd, iel real :: fvm

sdat => soilreads(ie1)

fvm = 1.0 - sdat%kshift select case (jday ) case (1:120)

case (121:181) fvk = 1.0

dtd = jday - 120 fvk = 1.0 - real(dtd,4)/61.0 * sdat%kshift

case (182: 304 )

case (305: 366) fvk = fvm

dtd = jday - 304 fvk = fvm + real(dtd,4)/62. * sdat%kshift

end select end subroutine soil-set-ksv

Page 89: Scientific Notebook 473 - NRC
Page 90: Scientific Notebook 473 - NRC
Page 91: Scientific Notebook 473 - NRC

ADDITIONAL INFORMATION FOR SCIENTIFIC NOTEBOOK NO. 473

Data Sensitivity:

Document Date: I 9 I wi I a m

21 0.522.5054 M“Non-Sensitive” Sensitive o”Non-Sensitive - Copyright” Sensitive - Copyright

Availability : Southwest Research Institute@ Center for Nuclear Waste Regulatory Analyses 6220 Culebra Road

Contact: -7

runs, etc.) I J

Page 92: Scientific Notebook 473 - NRC

ADDITIONAL INFORMATION FOR SCIENTIFIC NOTEBOOK NO. 473

Document Date: Availability :

Contact:

Data Sensitivity:

Date Generated: Operating System: (including version number) Application Used: (including version number) Media Type: (CDs, 3 %, 5 1/4 disks, etc.) File Types: i.exe, .bat, .zip, etc.) Remarks: (computer runs, etc.)

‘1 I aci 1 LOO i Southwest Research Institute@ Center for Nuclear Waste Regulatory Analyses 6220 Culebra Road San Antonio, Texas 78228 Southwest Research Institute@ Center for Nuclear Waste Regulatory Analyses 6220 Culebra Road San Antonio, TX 78228-51 66 Attn.: Director of Administration 21 0.522.5054

H“ Non-Sensi t ive” o“Non-Sensitive - Copyright” March 2003

Sensitive Sensitive - Copyright

Windows

1 CD

Files in ASCII format

Page 93: Scientific Notebook 473 - NRC

ADDITIONAL INFORMATION FOR SCIENTIFIC NOTEBOOK NO. 473

Document Date: Availability :

Contact:

Data Sensitivity:

Date Generated: Operating System: (including version n urn be r) Application Used: (including version n urn be r) Media Type: (CDs, 3 W, 5 1/4 disks. etc.) File Types: (.exe, .bat, .zip, etc.) Remarks: (computer runs, etc.)

9 1 aq ( W O ~

Southwest Research Institute@ Center for Nuclear Waste Regulatory Analyses 6220 Culebra Road San Antonio. Texas 78228 Southwest Research Institute@ Center for Nuclear Waste Regulatory Analyses 6220 Culebra Road San Antonio, TX 78228-51 66 Attn.: Director of Administration 21 0.522.5054

'' No n -S e n sit ive" n"Non-Sensitive - Copyright"

Sensitive 0 Sensitive - Copyright

3(13(0? d p w d

1 CD

Page 94: Scientific Notebook 473 - NRC

ADDITIONAL INFORMATION FOR SCIENTIFIC NOTEBOOK NO. 7 -3

Document Date: Availability :

Contact:

Data Sensitivity:

Date Generated: Operating System: (including version number) Application Used: (including version number) Media Type: (CDs, 3 W , 5 1/4 disks. etc.)

File Types: (.exe, .bat, .zip, etc.) Remarks: (computer runs, etc.)

~~

‘”\ 12q 1 200 I Southwest Research Institute@ Center for Nuclear Waste Regulatory Analyses 6220 Culebra Road San Antonio, Texas 78228

Southwest Research Institute@ Center for Nuclear Waste Regulatory Analyses 6220 Culebra Road San Antonio, TX 78228-5166 Attn., Director of Administration 21 0.522.5054 W‘ N on -S e n s i t ive” o“Non-Sensitive - Copyright”

Sensitive Sensitive - Copyright

Io/- l o 6

3 ’/2 disk