@@ -950,9 +950,6 @@ subroutine radiation_tend( &
950950 real (r8 ) :: snow_lw_abs_cloudsim(pcols,pver)! snow
951951 real (r8 ) :: grau_lw_abs_cloudsim(pcols,pver)! graupel
952952
953- ! Set vertical indexing in RRTMGP to be the same as CAM (top to bottom).
954- logical , parameter :: top_at_1 = .true.
955-
956953 logical :: do_graupel, do_snow
957954
958955 ! TOA solar flux on RRTMGP g-points
@@ -1289,7 +1286,7 @@ subroutine radiation_tend( &
12891286 ! $acc cloud_sw%optical_props%g) &
12901287 ! $acc copy(fswc%fluxes, fswc%fluxes%flux_net,fswc%fluxes%flux_up,fswc%fluxes%flux_dn, &
12911288 ! $acc fsw%fluxes, fsw%fluxes%flux_net,fsw%fluxes%flux_up,fsw%fluxes%flux_dn)
1292- call rrtmgp_sw_rte_run(dosw, .true. , .true. , nday, 1 , nday, atm_optics_sw, cloud_sw, top_at_1, &
1289+ call rrtmgp_sw_rte_run(dosw, .true. , .true. , nday, 1 , nday, atm_optics_sw, cloud_sw, &
12931290 aer_sw, coszrs_day, toa_flux, alb_dir, alb_dif, fswc, fsw, errmsg, errflg)
12941291 if (errflg /= 0 ) then
12951292 call endrun(sub// ' : ' // errmsg)
0 commit comments