Skip to content

Commit ef272c1

Browse files
committed
Merge remote-tracking branch 'nick-fork/warning_explicit_gwd' into combo_20250625
2 parents 2a26a8c + 1694611 commit ef272c1

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

physics/GWD/cires_ugwpv1_oro.F90

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,8 @@ subroutine orogw_v1 (im, km, imx, me, master, dtp, kdt, do_tofd, &
222222
dusfc(i) = 0.0
223223
dvsfc(i) = 0.0
224224
ipt(i) = 0
225-
enddo
225+
enddo
226+
zlwb(:) = 0.0
226227

227228
! ---- for lm and gwd calculation points
228229
!cires_ugwp_initialize.F90: real, parameter :: hpmax=2400.0, hpmin=25.0

physics/GWD/cires_ugwpv1_triggers.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ subroutine get_spectra_tau_okw(nw, im, levs, trig_okw, xlatd, sinlat, coslat, t
298298
if (dmax >= tlim_okw) kex = kex+1
299299
do k=klow+1, ktop
300300
dtot = abs(trig_okw(i,k))
301-
if (dtot >= tlim_fgf ) kex = kex+1
301+
if (dtot >= tlim_okw ) kex = kex+1
302302
if ( dtot > dmax) then
303303
klev(i) = k
304304
dmax = dtot

physics/Interstitials/UFS_SCM_NEPTUNE/sfcsub.F

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3093,8 +3093,11 @@ subroutine subst(data,imax,jmax,dlon,dlat,ijordr)
30933093
enddo
30943094
enddo
30953095
else
3096-
do i=1,imax
3097-
data(imax-i+1,jj) = work(i,j)
3096+
do j=1,jmax
3097+
jj = jmax - j + 1
3098+
do i=1,imax
3099+
data(imax-i+1,jj) = work(i,j)
3100+
enddo
30983101
enddo
30993102
endif
31003103
else

0 commit comments

Comments
 (0)