Ignore:
Timestamp:
Aug 2, 2024, 2:12:03 PM (3 months ago)
Author:
abarral
Message:

Add missing klon on strataer_emiss_mod.F90
Correct various missing explicit declarations
Replace tabs by spaces (tabs are not part of the fortran charset)
Continue cleaning modules
Removed unused arguments and variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad.v1.5.1/radiation_mcica_lw.F90

    r4489 r5158  
    150150
    151151    ! Loop through columns
    152     do jcol = istartcol,iendcol
     152    DO jcol = istartcol,iendcol
    153153
    154154      ! Clear-sky calculation
     
    156156        ! Scattering case: first compute clear-sky reflectance,
    157157        ! transmittance etc at each model level
    158         do jlev = 1,nlev
     158        DO jlev = 1,nlev
    159159          call calc_two_stream_gammas_lw(ng, ssa(:,jlev,jcol), g(:,jlev,jcol), &
    160160               &  gamma1, gamma2)
     
    174174        ! Non-scattering case: use simpler functions for
    175175        ! transmission and emission
    176         do jlev = 1,nlev
     176        DO jlev = 1,nlev
    177177          call calc_no_scattering_transmittance_lw(ng, od(:,jlev,jcol), &
    178178               &  planck_hl(:,jlev,jcol), planck_hl(:,jlev+1, jcol), &
     
    215215        is_clear_sky_layer = .true.
    216216        i_cloud_top = nlev+1
    217         do jlev = 1,nlev
     217        DO jlev = 1,nlev
    218218          ! Compute combined gas+aerosol+cloud optical properties
    219219          if (cloud%fraction(jcol,jlev) >= config%cloud_fraction_threshold) then
     
    224224            end if
    225225
    226             do jg = 1,ng
     226            DO jg = 1,ng
    227227              od_cloud_new(jg) = od_scaling(jg,jlev) &
    228228                 &  * od_cloud(config%i_band_from_reordered_g_lw(jg),jlev,jcol)
     
    240240                ! case that od_total > 0.0 and ssa_total > 0.0 but
    241241                ! od_total*ssa_total == 0 due to underflow
    242                 do jg = 1,ng
     242                DO jg = 1,ng
    243243                  if (od_total(jg) > 0.0_jprb) then
    244244                    scat_od_total(jg) = ssa(jg,jlev,jcol)*od(jg,jlev,jcol) &
     
    259259              else
    260260
    261                 do jg = 1,ng
     261                DO jg = 1,ng
    262262                  if (od_total(jg) > 0.0_jprb) then
    263263                    scat_od = ssa_cloud(config%i_band_from_reordered_g_lw(jg),jlev,jcol) &
Note: See TracChangeset for help on using the changeset viewer.