- Timestamp:
- Aug 2, 2024, 2:12:03 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad.v1.5.1/radiation_mcica_lw.F90
r4489 r5158 150 150 151 151 ! Loop through columns 152 dojcol = istartcol,iendcol152 DO jcol = istartcol,iendcol 153 153 154 154 ! Clear-sky calculation … … 156 156 ! Scattering case: first compute clear-sky reflectance, 157 157 ! transmittance etc at each model level 158 dojlev = 1,nlev158 DO jlev = 1,nlev 159 159 call calc_two_stream_gammas_lw(ng, ssa(:,jlev,jcol), g(:,jlev,jcol), & 160 160 & gamma1, gamma2) … … 174 174 ! Non-scattering case: use simpler functions for 175 175 ! transmission and emission 176 dojlev = 1,nlev176 DO jlev = 1,nlev 177 177 call calc_no_scattering_transmittance_lw(ng, od(:,jlev,jcol), & 178 178 & planck_hl(:,jlev,jcol), planck_hl(:,jlev+1, jcol), & … … 215 215 is_clear_sky_layer = .true. 216 216 i_cloud_top = nlev+1 217 dojlev = 1,nlev217 DO jlev = 1,nlev 218 218 ! Compute combined gas+aerosol+cloud optical properties 219 219 if (cloud%fraction(jcol,jlev) >= config%cloud_fraction_threshold) then … … 224 224 end if 225 225 226 dojg = 1,ng226 DO jg = 1,ng 227 227 od_cloud_new(jg) = od_scaling(jg,jlev) & 228 228 & * od_cloud(config%i_band_from_reordered_g_lw(jg),jlev,jcol) … … 240 240 ! case that od_total > 0.0 and ssa_total > 0.0 but 241 241 ! od_total*ssa_total == 0 due to underflow 242 dojg = 1,ng242 DO jg = 1,ng 243 243 if (od_total(jg) > 0.0_jprb) then 244 244 scat_od_total(jg) = ssa(jg,jlev,jcol)*od(jg,jlev,jcol) & … … 259 259 else 260 260 261 dojg = 1,ng261 DO jg = 1,ng 262 262 if (od_total(jg) > 0.0_jprb) then 263 263 scat_od = ssa_cloud(config%i_band_from_reordered_g_lw(jg),jlev,jcol) &
Note: See TracChangeset
for help on using the changeset viewer.