Skip to content

Commit 3fb34ec

Browse files
committed
Update to 2012Rev535
1 parent 60a820d commit 3fb34ec

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+216
-233
lines changed

VERSIONS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
VERSION_MAJOR 2009
2-
VERSION_MINOR 528
1+
VERSION_MAJOR 2012
2+
VERSION_MINOR 535
33
VERSION_PATCH

src/allocate_parms.f

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -976,8 +976,6 @@ subroutine allocate_parms
976976
allocate (hrupest(mhru))
977977
allocate (hvstiadj(mhru))
978978
allocate (iafrttyp(mhru))
979-
!! burns 3/5/09
980-
allocate (i_burn(mhru))
981979
allocate (icont(20,mhru))
982980
allocate (icfrt(mhru))
983981
allocate (icpst(mhru))

src/anfert.f

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -285,17 +285,19 @@ subroutine anfert
285285
wshd_fminp = wshd_fminp + dwfert * tfp * hru_dafr(j)
286286
wshd_forgp = wshd_forgp + dwfert * forgp(ifrt) * hru_dafr(j)
287287
end if
288-
289-
endif
290-
291-
if (imgt == 1) then
288+
289+
if (imgt == 1) then
292290
write (143, 1000) subnum(j), hruno(j), iyr, i_mo, iida,
293291
* " ",
294292
* "AUTOFERT", phubase(j), phuacc(j), sol_sw(j),bio_ms(j),
295293
* sol_rsd(1,j),sol_sumno3(j),sol_sumsolp(j), dwfert,
296-
* fertno3, fertnh3, fertorgn, fertsolp, fertorgp
297-
end if
298-
1000 format (a5,1x,a7,3i6,2a15,7f10.2,20x,f10.2,10x,5f10.2)
294+
* fertno3, fertnh3, fertorgn, fertsolp, fertorgp
295+
end if
296+
297+
endif
298+
299+
300+
1000 format (a5,1x,a4,3i6,2a15,7f10.2,20x,f10.2,10x,5f10.2)
299301

300302
return
301303
end subroutine

src/apply.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ subroutine apply
104104
exit
105105
endif
106106
else
107-
if (pst_dep(npest(j),j) > sol_z((nly-1),j) .and. &
107+
if (pst_dep(npest(j),j) > sol_z((nly-1),j) .and. &
108108
& pst_dep(npest(j),j) < sol_z(nly,j)) then
109109
sol_pst(k,j,nly) = sol_pst(k,j,nly) + xx
110110
exit

src/autoirr.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ subroutine autoirr
194194

195195
!! changed format below
196196
!!1000 format (a5,1x,a7,3i6,2a15,7f10.2,10x,f10.2,70x,f10.2)
197-
1000 format (a5,1x,a7,3i6,2a15,7f10.2,10x,f10.2,70x,i10,10x,i10)
197+
1000 format (a5,1x,a4,3i6,2a15,7f10.2,10x,f10.2,70x,i10,10x,i10)
198198

199199
return
200200
end

src/burnop.f

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ subroutine burnop
88
!! ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
99
!! ibrn |none |counter in readmgt
1010
!! iburn(: |julian date |date of burning
11-
!! i_burn |none |counter that tracks curent burn operation
1211
!! burn_frlb |none |fraction of biomass and residue that burn(input in
1312
!! |management file) range (0 - 1.0)
1413
!! nro |none |sequence number of year in rotation
@@ -36,8 +35,6 @@ subroutine burnop
3635
sol_fon(1,j) = sol_fon(1,j) * xx
3736
sol_aorgn(1,j) = sol_aorgn(1,j) * xx
3837
sol_orgn(1,j) = sol_orgn(1,j) * xx
39-
! sol_fop - remains after burn
40-
i_burn(j) = i_burn(j) + 1
41-
38+
4239
return
4340
end

src/confert.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,6 @@ subroutine confert
259259
ncf(j) = ncf(j) + 1
260260
end if
261261

262-
1000 format (a5,1x,a7,3i6,2a15,7f10.2,20x,f10.2)
262+
1000 format (a5,1x,a4,3i6,2a15,7f10.2,20x,f10.2)
263263
return
264264
end

src/dormant.f

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ subroutine dormant
148148
plantp(j) = (1. - bm_dieoff(idplt(j))) * &
149149
& plantp(j)
150150
strsw(j) = 1.
151-
laiday(j) = alai_min(idplt(j))
152-
phuacc(j) = 0.
153-
ncrops(icr(j),j) = ncrops(icr(j),j) + 1
151+
! laiday(j) = alai_min(idplt(j))
152+
! phuacc(j) = 0.
153+
! ncrops(icr(j),j) = ncrops(icr(j),j) + 1
154154

155155
!! beginning of cool season annual dormant period
156156
case (2, 5)
@@ -181,6 +181,7 @@ subroutine dormant
181181
!! end of cool season annual dormant period
182182
case (2, 5)
183183
idorm(j) = 0
184+
phuacc(j) = 0.
184185

185186
end select
186187

@@ -193,6 +194,6 @@ subroutine dormant
193194

194195
end if
195196

196-
1000 format (a5,1x,a7,3i6,2a15,7f10.2)
197+
1000 format (a5,1x,a4,3i6,2a15,7f10.2)
197198
return
198199
end

src/filtw.f

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,11 @@ subroutine filtw
127127
sedminps(j) = sedminps(j) * (1. - trapeff(j))
128128
surqsolp(j) = surqsolp(j) * (1. - trapeff(j))
129129
sedyld(j) = sedyld(j) * (1. - trapeff(j))
130+
sanyld(j) = sanyld(j) * (1. - trapeff(j))
131+
silyld(j) = silyld(j) * (1. - trapeff(j))
132+
clayld(j) = clayld(j) * (1. - trapeff(j))
133+
sagyld(j) = sagyld(j) * (1. - trapeff(j))
134+
lagyld(j) = lagyld(j) * (1. - trapeff(j))
130135
if (hrupest(j) == 1) then
131136
do k = 1, npmx
132137
pst_surq(k,j) = pst_surq(k,j) * (1. - trapeff(j))

src/headout.f

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,11 @@ subroutine headout
6666
if (ipdvas(1) > 0) then
6767
if (icalen == 0) write (28,1020) (heds(ipdvas(j)), j = 1, itots) !!custom printout
6868
if (icalen == 1) write (28,1021) (heds(ipdvas(j)), j = 1, itots) !!custom printout
69-
1021 format (//'LULC HRU GIS SUB MGT MO DA YR', &
70-
&' AREAkm2', 76(a10))
7169
else
7270
if (icalen == 0) write (28,1020) (heds(j), j = 1, mhruo) !!default printout
73-
if (icalen == 1) write (28,1021) (heds(j), j = 1, mhruo) !!default printout
74-
71+
if (icalen == 1) write (28,1021) (heds(j), j = 1, mhruo) !!default printout
7572
endif
7673

77-
78-
7974
!! write headings to HRU output file (output2.hru)
8075
if (isproj == 1) then
8176
write (21,1000)prog, values(2), values(3), values(1), values(5), &
@@ -231,16 +226,18 @@ subroutine headout
231226
return
232227
1000 format ('1',/t5,a80,t105,2(i2,'/'),i4,5x,2(i2,':'),i2)
233228
1010 format (/(t5,20a4))
234-
1020 format (//'LULC HRU GIS SUB MGT MON',' AREAkm2',
235-
* 76(a10))
229+
1020 format (//'LULC HRU GIS SUB MGT MON',' AREAkm2',
230+
* 76(a10)," GISnum")
231+
1021 format (//'LULC HRU GIS SUB MGT MO DA YR', &
232+
&' AREAkm2', 76(a10))
236233
1030 format (//6x,' SUB GIS MON AREAkm2',22(a10))
237234
1040 format (//7x,'RCH GIS MON AREAkm2',56a12)
238235
1041 format (//7x,'RCH GIS DAY DET AREAkm2',45a12)
239236
1050 format (//6x,' RES MON',41a12)
240237
1060 format (//6x,'RCH GIS MON',26a12)
241238
2000 format (a12,12x,i4,4x,i4)
242239
3000 format ("Pesticide loadings to main channel by HRU",/)
243-
3001 format ("Pesticide #",250(13x,i3,1x))
240+
3001 format ("Pesticide #",250(18x,i3,1x))
244241
3002 format ("Pesticide name: ",250(a16,1x))
245-
3003 format (2x,'HRU YEAR MON',7x,125(a26,8x))
242+
3003 format (4x,'GISnum YEAR MON',7x,125(a26,8x))
246243
end

0 commit comments

Comments
 (0)