Ignore:
Timestamp:
Jan 2, 2017, 11:24:30 PM (7 years ago)
Author:
oboucher
Message:

Swapping the order of CSSO4 and ASSO4 aerosols (and fixing an issue on aerindex). Preparing the ground for nitrate aerosols (coarse soluble, accumulation soluble, coarse insoluble). Modifying the LW aeropt routine so that it is compatible with both INCA and climatological aerosols (for dust only). Adding a new flag ok_alw for activating aerosol direct LW effect (for dust only). This change is bit comparable for flag_aerosol=6, flag_rrtm=1, NSW=6.

File:
1 edited

Legend:

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

    r2731 r2738  
    980980    ! Parameters
    981981    LOGICAL ok_ade, ok_aie    ! Apply aerosol (in)direct effects or not
     982    LOGICAL ok_alw            ! Apply aerosol LW effect or not
    982983    LOGICAL ok_cdnc ! ok cloud droplet number concentration (O. Boucher 01-2013)
    983984    REAL bl95_b0, bl95_b1   ! Parameter in Boucher and Lohmann (1995)
    984     SAVE ok_ade, ok_aie, ok_cdnc, bl95_b0, bl95_b1
    985     !$OMP THREADPRIVATE(ok_ade, ok_aie, ok_cdnc, bl95_b0, bl95_b1)
     985    SAVE ok_ade, ok_aie, ok_alw, ok_cdnc, bl95_b0, bl95_b1
     986    !$OMP THREADPRIVATE(ok_ade, ok_aie, ok_alw, ok_cdnc, bl95_b0, bl95_b1)
    986987    LOGICAL, SAVE :: aerosol_couple ! true  : calcul des aerosols dans INCA
    987988    ! false : lecture des aerosol dans un fichier
     
    11421143            fact_cldcon, facttemps,ok_newmicro,iflag_radia, &
    11431144            iflag_cld_th,iflag_ratqs,ratqsbas,ratqshaut,tau_ratqs, &
    1144             ok_ade, ok_aie, ok_cdnc, aerosol_couple,  &
     1145            ok_ade, ok_aie, ok_alw, ok_cdnc, aerosol_couple,  &
    11451146            flag_aerosol, flag_aerosol_strat, new_aod, &
    11461147            flag_bc_internal_mixture, bl95_b0, bl95_b1, &
     
    15871588            jjmp1,nlevSTD,clevSTD,rlevSTD, dtime,ok_veget, &
    15881589            type_ocean,iflag_pbl,iflag_pbl_split,ok_mensuel,ok_journe, &
    1589             ok_hf,ok_instan,ok_LES,ok_ade,ok_aie,  &
     1590            ok_hf,ok_instan,ok_LES,ok_ade,ok_aie, &
    15901591            read_climoz, phys_out_filestations, &
    15911592            new_aod, aerosol_couple, &
     
    32933294       !jq - introduce the aerosol direct and first indirect radiative forcings
    32943295       !jq - Johannes Quaas, 27/11/2003 (quaas@lmd.jussieu.fr)
    3295        IF (flag_aerosol .gt. 0) THEN
     3296       IF (flag_aerosol .GT. 0) THEN
    32963297          IF (iflag_rrtm .EQ. 0) THEN !--old radiation
    32973298             IF (.NOT. aerosol_couple) THEN
     
    33123313#ifdef CPP_RRTM
    33133314                IF (NSW.EQ.6) THEN
    3314                    !--new aerosol properties
     3315                   !--new aerosol properties SW and LW
    33153316                   !
    3316                    CALL readaerosol_optic_rrtm( debut, aerosol_couple, &
     3317                   CALL readaerosol_optic_rrtm( debut, aerosol_couple, ok_alw, &
    33173318                        new_aod, flag_aerosol, flag_bc_internal_mixture, itap, jD_cur-jD_ref, &
    33183319                        pdtphys, pplay, paprs, t_seri, rhcl, presnivs,  &
     
    33203321                        tau_aero_sw_rrtm, piz_aero_sw_rrtm, cg_aero_sw_rrtm,  &
    33213322                        tausum_aero, tau3d_aero)
    3322 
     3323                   !
    33233324                ELSE IF (NSW.EQ.2) THEN
    33243325                   !--for now we use the old aerosol properties
     
    33393340                   piz_aero_sw_rrtm(:,:,2,:)=piz_aero(:,:,2,:)
    33403341                   cg_aero_sw_rrtm (:,:,2,:)=cg_aero (:,:,2,:)
     3342                   !
     3343                   !--no LW optics
     3344                   tau_aero_lw_rrtm(:,:,:,:) = 1.e-15
     3345                   !
    33413346                ELSE
    33423347                   abort_message='Only NSW=2 or 6 are possible with ' &
     
    33443349                   CALL abort_physic(modname,abort_message,1)
    33453350                ENDIF
    3346 
    3347                 !--call LW optical properties for tropospheric aerosols
    3348                 !--only works for INCA aerosol (aerosol_couple = TRUE)
    3349                 CALL aeropt_lw_rrtm(aerosol_couple,paprs,tr_seri)
    3350                 !
    33513351#else
    33523352                abort_message='You should compile with -rrtm if running ' &
     
    33573357             ENDIF
    33583358          ENDIF
    3359        ELSE
     3359       ELSE   !--flag_aerosol = 0
    33603360          tausum_aero(:,:,:) = 0.
    33613361          mass_solu_aero(:,:) = 0.
Note: See TracChangeset for help on using the changeset viewer.