Ignore:
Timestamp:
Nov 8, 2018, 10:39:16 PM (6 years ago)
Author:
oboucher
Message:

Externalizing a controlling parameter for activating aerosol radiative feedback
Need to pass the info all the way to recmwf_aero. Default is True as before.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/rrtm/recmwf_aero.F90

    r3333 r3412  
    3535 & PTOPLWAIAERO,PSOLLWAIAERO,&
    3636!..end
    37  & ok_ade, ok_aie, flag_aerosol,flag_aerosol_strat)
     37 & ok_ade, ok_aie, flag_aerosol,flag_aerosol_strat,flag_aer_feedback)
    3838!--fin
    3939
     
    8484! flag_aerosol-input-I- aerosol flag from 0 to 7
    8585! flag_aerosol_strat-input-I- use stratospheric aerosols flag (T/F)
     86! flag_aer_feedback-input-I- use aerosols radiative effect flag (T/F)
    8687! PPIZA_NAT  : (KPROMA,KLEV,NSW); Single scattering albedo of natural aerosol
    8788! PCGA_NAT   : (KPROMA,KLEV,NSW); Assymetry factor for natural aerosol
     
    214215INTEGER, INTENT(in)  :: flag_aerosol           ! takes value 0 (no aerosol) or 1 to 6 (aerosols)
    215216LOGICAL, INTENT(in)  :: flag_aerosol_strat     ! use stratospheric aerosols
     217LOGICAL, INTENT(in)  :: flag_aer_feedback      ! use aerosols radiative feedback
    216218REAL(KIND=JPRB)   ,INTENT(out)   :: PTOPSWADAERO(KPROMA), PSOLSWADAERO(KPROMA)       ! Aerosol direct forcing at TOA and surface
    217219REAL(KIND=JPRB)   ,INTENT(OUT)   :: PTOPSWAD0AERO(KPROMA), PSOLSWAD0AERO(KPROMA)     ! Aerosol direct forcing at TOA and surface
     
    298300! FALSE: fluxes use no aerosols (case 1)
    299301! to be used only for maintaining bit reproducibility with aerosol diagnostics activated
    300 LOGICAL :: AEROSOLFEEDBACK_ACTIVE = .TRUE.
     302 LOGICAL :: AEROSOLFEEDBACK_ACTIVE ! now externalized from .def files
    301303
    302304!OB - Fluxes including aerosol effects
     
    335337IBEG=KST
    336338IEND=KEND
     339
     340AEROSOLFEEDBACK_ACTIVE = flag_aer_feedback !NL: externalize aer feedback
     341
    337342
    338343!*       1.    PREPARATORY WORK
Note: See TracChangeset for help on using the changeset viewer.