Skip to content

Commit 2069121

Browse files
Merge pull request #1 from climbfuji/hannah_GF_RadiationUpdate_RevertAerosols_dom_20210823
Hannah gf radiation update revert aerosols dom 20210823
2 parents 9bf6335 + fb90295 commit 2069121

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

physics/GFS_debug.F90

+1-1
Original file line numberDiff line numberDiff line change
@@ -1267,6 +1267,7 @@ subroutine GFS_interstitialtoscreen_run (Model, Statein, Stateout, Sfcprop, Coup
12671267
call print_var(mpirank, omprank, blkno, Grid%xlat_d, Grid%xlon_d, 'Interstitial%kpbl ', Interstitial%kpbl )
12681268
call print_var(mpirank, omprank, blkno, Grid%xlat_d, Grid%xlon_d, 'Interstitial%kt ', Interstitial%kt )
12691269
call print_var(mpirank, omprank, blkno, Grid%xlat_d, Grid%xlon_d, 'Interstitial%ktop ', Interstitial%ktop )
1270+
call print_var(mpirank, omprank, blkno, Grid%xlat_d, Grid%xlon_d, 'Interstitial%max_hourly_reset ', Interstitial%max_hourly_reset )
12701271
call print_var(mpirank, omprank, blkno, Grid%xlat_d, Grid%xlon_d, 'Interstitial%mbota ', Interstitial%mbota )
12711272
call print_var(mpirank, omprank, blkno, Grid%xlat_d, Grid%xlon_d, 'Interstitial%mtopa ', Interstitial%mtopa )
12721273
call print_var(mpirank, omprank, blkno, Grid%xlat_d, Grid%xlon_d, 'Interstitial%nday ', Interstitial%nday )
@@ -1291,7 +1292,6 @@ subroutine GFS_interstitialtoscreen_run (Model, Statein, Stateout, Sfcprop, Coup
12911292
call print_var(mpirank, omprank, blkno, Grid%xlat_d, Grid%xlon_d, 'Interstitial%rb_ice ', Interstitial%rb_ice )
12921293
call print_var(mpirank, omprank, blkno, Grid%xlat_d, Grid%xlon_d, 'Interstitial%rb_land ', Interstitial%rb_land )
12931294
call print_var(mpirank, omprank, blkno, Grid%xlat_d, Grid%xlon_d, 'Interstitial%rb_water ', Interstitial%rb_water )
1294-
call print_var(mpirank, omprank, blkno, Grid%xlat_d, Grid%xlon_d, 'Interstitial%reset ', Interstitial%reset )
12951295
call print_var(mpirank, omprank, blkno, Grid%xlat_d, Grid%xlon_d, 'Interstitial%rhc ', Interstitial%rhc )
12961296
call print_var(mpirank, omprank, blkno, Grid%xlat_d, Grid%xlon_d, 'Interstitial%runoff ', Interstitial%runoff )
12971297
call print_var(mpirank, omprank, blkno, Grid%xlat_d, Grid%xlon_d, 'Interstitial%save_q ', Interstitial%save_q )

physics/cu_gf_deep.F90

+6-5
Original file line numberDiff line numberDiff line change
@@ -388,11 +388,13 @@ subroutine cu_gf_deep_run( &
388388
!
389389
!---------------------------------------------------- ! HCB
390390
! Set cloud water to rain water conversion rate (c0)
391+
c0(:)=0.004
391392
do i=its,itf
392-
c0(i)=0.004
393393
xland1(i)=int(xland(i)+.0001) ! 1.
394+
if(xland(i).gt.1.5 .or. xland(i).lt.0.5)then
395+
xland1(i)=0
396+
endif
394397
if(xland1(i).eq.1)c0(i)=0.002
395-
396398
if(imid.eq.1)then
397399
c0(i)=0.002
398400
endif
@@ -437,8 +439,7 @@ subroutine cu_gf_deep_run( &
437439
!
438440
! for water or ice
439441
!
440-
if(xland(i).gt.1.5 .or. xland(i).lt.0.5)then
441-
xland1(i)=0
442+
if (xland1(i)==0) then
442443
! if(imid.eq.0)cap_max(i)=cap_maxs-25.
443444
! if(imid.eq.1)cap_max(i)=cap_maxs-50.
444445
cap_max_increment(i)=20.
@@ -4083,7 +4084,7 @@ subroutine cup_up_moisture(name,ierr,z_cup,qc,qrc,pw,pwav, &
40834084
!
40844085
!now do the rest
40854086
!
4086-
kklev(i)=maxloc(zu(i,:),1)
4087+
kklev(i)=maxloc(zu(i,:),1)
40874088
do k=kbcon(i)+1,ktop(i)
40884089
if(t(i,k) > 273.16) then
40894090
c0t = c0(i)

physics/cu_gf_driver.F90

+1-4
Original file line numberDiff line numberDiff line change
@@ -260,10 +260,6 @@ subroutine cu_gf_driver_run(ntracer,garea,im,km,dt,flag_init,flag_restart,&
260260
rand_mom(:) = 0.
261261
rand_vmas(:) = 0.
262262
rand_clos(:,:) = 0.
263-
264-
cnvwtm(:,:) = 0.
265-
cnvwts(:,:) = 0.
266-
cnvwt(:,:) = 0.
267263
!
268264
its=1
269265
ite=im
@@ -446,6 +442,7 @@ subroutine cu_gf_driver_run(ntracer,garea,im,km,dt,flag_init,flag_restart,&
446442

447443
cnvwt(:,:)=0.
448444
cnvwts(:,:)=0.
445+
cnvwtm(:,:)=0.
449446

450447
hco(:,:)=0.
451448
hcom(:,:)=0.

0 commit comments

Comments
 (0)