Ignore:
Timestamp:
Apr 14, 2017, 4:42:31 PM (7 years ago)
Author:
oboucher
Message:

Introducing dry AOD diagnostics for the total aerosols and specieswise
The calculations are only performed if the diagnostics are requested

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/physiq_mod.F90

    r2852 r2854  
    9292       topswcf_aero,solswcf_aero,   &
    9393       tausum_aero,tau3d_aero,      &
     94       drytausum_aero,              &
    9495       !
    9596       !variables CFMIP2/CMIP5
     
    15801581           !!!  xios_field_is_active("toplwai").OR.xios_field_is_active("sollwai") !))) &
    15811582           swaero_diag=.TRUE.
     1583
     1584       !--setting up dryaod_diag to TRUE in XIOS case
     1585       DO naero = 1, naero_tot-1
     1586         IF (xios_field_is_active("dryod550_"//name_aero_tau(naero)) dryaod_diag=.TRUE.
     1587       ENDDO
    15821588#endif
    15831589
     
    33713377                        tr_seri, mass_solu_aero, mass_solu_aero_pi,  &
    33723378                        tau_aero_sw_rrtm, piz_aero_sw_rrtm, cg_aero_sw_rrtm,  &
    3373                         tausum_aero, tau3d_aero)
     3379                        tausum_aero, drytausum_aero, tau3d_aero)
    33743380#endif
    33753381                   !
     
    34113417       ELSE   !--flag_aerosol = 0
    34123418          tausum_aero(:,:,:) = 0.
     3419          drytausum_aero(:,:) = 0.
    34133420          mass_solu_aero(:,:) = 0.
    34143421          mass_solu_aero_pi(:,:) = 0.
     
    36783685#ifndef CPP_XIOS
    36793686          !--OB 30/05/2016 modified 21/10/2016
    3680           !--here we return swaero_diag to FALSE
     3687          !--here we return swaero_diag and dryaod_diag to FALSE
    36813688          !--and histdef will switch it back to TRUE if necessary
    36823689          !--this is necessary to get the right swaero at first step
    36833690          !--but only in the case of no XIOS as XIOS is covered elsewhere
    36843691          IF (debut) swaero_diag = .FALSE.
     3692          IF (debut) dryaod_diag = .FALSE.
    36853693#endif
    36863694          !
Note: See TracChangeset for help on using the changeset viewer.