Ignore:
Timestamp:
Feb 24, 2025, 3:39:32 PM (11 hours ago)
Author:
lebasn
Message:

StratAer?: clean duplicated module loading, specify loading vars from module + variable initialisation for debug mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/StratAer/calcaerosolstrato_rrtm.f90

    r5338 r5559  
    3939  tau_strat_wave=0.0
    4040  tau_lw_abs_rrtm=0.0
    41 
     41 
     42!-- init tau_strat vars
     43  tau_strat_550(:,:) =0.0
     44  tau_strat_1020(:,:)=0.0
     45 
    4246  CALL miecalc_aer(tau_strat, piz_strat, cg_strat, tau_strat_wave, tau_lw_abs_rrtm, paprs, debut)
    43 
    44 !!--test CK: deactivate radiative effect of aerosol
    45 !  tau_strat=0.0
    46 !  piz_strat=0.0
    47 !  cg_strat=0.0
    48 !  tau_strat_wave=0.0
    49 !  tau_lw_abs_rrtm=0.0
    50 
    51 !--test CK: deactivate SW radiative effect of aerosol (but leave LW)
    52 !  tau_strat=0.0
    53 !  piz_strat=0.0
    54 !  cg_strat=0.0
    55 
    56 !  DO wave=1, nwave_sw
    57 !  tau_strat_wave(:,:,wave)=0.0
    58 !  ENDDO
    59 
    60 !--test CK: deactivate LW radiative effect of aerosol (but leave SW)
    61 !  tau_lw_abs_rrtm=0.0
    62 
    63 !  DO wave=nwave_sw+1, nwave_sw+nwave_lw
    64 !  tau_strat_wave(:,:,wave)=0.0
    65 !  ENDDO
    6647
    6748!--total vertical aod at the 5 SW + 1 LW wavelengths
Note: See TracChangeset for help on using the changeset viewer.