Ignore:
Timestamp:
Nov 28, 2016, 4:02:59 PM (8 years ago)
Author:
oboucher
Message:

Fixing a small glitch in my StratAer? module
p_tropopause was used but not defined...
now it is diagnosed but not used !

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/StratAer/calcaerosolstrato_rrtm.F90

    r2690 r2715  
    33  USE infotrac, ONLY : nbtr
    44  USE phys_state_var_mod, ONLY: tau_aero_sw_rrtm, piz_aero_sw_rrtm, cg_aero_sw_rrtm, tau_aero_lw_rrtm
    5   USE phys_local_var_mod, ONLY: mdw, tausum_aero, tausum_strat, tau_strat_550, tau_strat_1020, p_tropopause
     5  USE phys_local_var_mod, ONLY: mdw, tausum_aero, tausum_strat, tau_strat_550, tau_strat_1020, stratomask
    66  USE aero_mod
    77  USE dimphy
     
    102102  DO i=1,klon
    103103  DO k=1,klev
    104     IF (pplay(i,k).LT.p_tropopause(i)) THEN
     104    IF (stratomask(i,k).GT.0.5) THEN
    105105      tausum_strat(i,1)=tausum_strat(i,1)+tau_strat_wave(i,k,2)  !--550 nm
    106106      tausum_strat(i,2)=tausum_strat(i,2)+tau_strat_wave(i,k,5)  !--1020 nm
Note: See TracChangeset for help on using the changeset viewer.