Skip to content

Commit 326b9e7

Browse files
committed
Merge remote-tracking branch 'peverwhee/fix-rrtmgp-diag' into pdc-energy-bug-fix
2 parents b4338bb + 4f72f50 commit 326b9e7

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/physics/rrtmgp/radiation.F90

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,11 +1124,6 @@ subroutine radiation_tend( &
11241124
end do
11251125
end if
11261126

1127-
!REMOVECAM - no longer need this when CAM is retired and pcols no longer exists
1128-
flns(:) = 0._r8
1129-
flnt(:) = 0._r8
1130-
!REMOVECAM_END
1131-
11321127
! Find tropopause height if needed for diagnostic output
11331128
if (hist_fld_active('FSNR') .or. hist_fld_active('FLNR')) then
11341129
!REMOVECAM - no longer need this when CAM is retired and pcols no longer exists
@@ -1336,6 +1331,11 @@ subroutine radiation_tend( &
13361331

13371332
if (dolw) then
13381333

1334+
!REMOVECAM - no longer need this when CAM is retired and pcols no longer exists
1335+
flns(:) = 0._r8
1336+
flnt(:) = 0._r8
1337+
!REMOVECAM_END
1338+
13391339
! Set cloud optical properties in cloud_lw object.
13401340
call rrtmgp_lw_cloud_optics_run(dolw, ncol, nlay, cld(:ncol,:), cldfsnow_in, &
13411341
cldfgrau_in, cldfprime(:ncol,:), kdist_lw, lambda(:ncol,:), mu(:ncol,:), &

0 commit comments

Comments
 (0)